oh-my-opencode-slim
它能做什么
这个技能帮助用户配置 oh-my-opencode-slim 插件,包括它使用哪些模型和智能体,以及如何自定义其提示词。适合运行该工具并希望它更好地服务于自己的人员。
适用场景
- ✓你想更改 oh-my-opencode-slim 使用的模型或智能体的时候。
- ✓你想自定义某个智能体的提示词,或添加自定义智能体的时候。
- ✓同样的工作流摩擦反复出现,而小的配置更改可能解决问题的时候。
技能链接
https://github.com/alvinunreal/oh-my-opencode-slim/blob/master/src/skills/oh-my-opencode-slim/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我修改 oh-my-opencode-slim 的设置,让 explorer 智能体使用更便宜的模型。”
每周 5 个新技能,1 分钟读完。
工作原理
这个技能找到正确的配置文件和每个智能体的提示词文件,然后建议小而安全的修改。它关注重复出现的摩擦,而不是一次性的问题。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
oh-my-opencode-slim Configuration Skill
You help users configure and safely improve oh-my-opencode-slim, including small prompt/config changes that make future runs better.
When to Use
Use when the user asks about, or a session reveals repeatable friction in:
- plugin config (
oh-my-opencode-slim.json[c]), presets, models/variants - delegation behavior, specialist prompts, custom agents (
agents.<name>) - skills, MCPs, tool access, disabled agents; background/multiplexer/deepwork
Suggest config changes only for recurring behavior, not one-offs.
Files
- User config:
~/.config/opencode/oh-my-opencode-slim.jsonc(preferred) or.json; project override:<project>/.opencode/oh-my-opencode-slim.json. - Prompt tuning:
~/.config/opencode/oh-my-opencode-slim/{agent}[_append].md(prefer_append.md; preset variant under{preset}/). - Skill shadow:
~/.config/opencode/skills/<skill-name>/SKILL.mdshadows the bundled skill. - Agent names:
orchestrator|oracle|explorer|designer|fixer|observer|council.
Lookup: with an active preset, check {preset}/ first, then the base dir.
{agent}.md replaces the built-in prompt; {agent}_append.md appends to it. Each works alone; neither present → unchanged built-in prompt.
Common customizations:
- Presets/models: switch preset; cheaper models for
explorer/fixer, stronger ones fororchestrator/oracle/designer. - Permissions: per-agent
skills/mcps(['*'], names, or['*', '!x']); enable optional agents by removing them fromdisabled_agents. - Custom agents under
agents.<name>withpromptplusorchestratorPrompt(trigger and non-use). - Prompt tuning via
{agent}_append.mdfor recurring behavior or house style.
Important schema boundary:
- Built-in agents (
orchestrator,oracle,explorer,designer,fixer,observer,council) can set models, variants, skills, MCPs, options, and display names in config. - Built-in agent
promptandorchestratorPromptfields are not supported inoh-my-opencode-slim.json[c]; use markdown prompt override files instead. - Unknown keys under top-level
agentsare custom agents. Custom agents may usepromptandorchestratorPromptdirectly in config.
Config Shapes
Tune built-ins at presets.<preset>.<agent> (model/variant/skills/mcps).
Append tuning via {agent}_append.md (preset variant under {preset}/).
Full {agent}.md replacement is rare — it must restate all essential behavior.
Safe Improvement Rules
Configuration changes affect future agent behavior, so treat them as user-owned.
- Ask before changing config or prompts.
- Explain the proposed improvement briefly.
- State which file would change.
- Ask for confirmation unless the user explicitly requested the exact edit.
- Prefer narrow changes.
- Do not rewrite large prompts when a small rule solves the problem.
- Do not add custom agents for one-off tasks.
- Preserve existing user settings.
- Merge with current config rather than regenerating from scratch.
- Keep comments and formatting where practical for JSONC files.
- Avoid hidden behavior changes.
- Mention cost, permissions, or delegation changes before applying them.
- Be explicit if a model/provider change may increase spend.
- Tell the user about restart requirements.
- Config, prompt, agent, skill, MCP, or plugin changes may need a restart.
- Phrase it as: "This should apply on the next OpenCode run; restart OpenCode if you need it immediately."
Configuration Workflow
- Inspect: read current config, active
preset, relevant agent blocks, project overrides. - Minimize: pick the smallest change (model/preset, prompt rule, custom agent, or permission).
- Confirm: show a concise proposal with the target file path.
- Edit: preserve unrelated settings, JSONC formatting, and exact agent/skill/MCP names.
- Validate: ensure the file still parses; run repo config checks if available.
- Activate: state whether it applies immediately or on next OpenCode run/restart.
Custom Agent Pattern
Custom agents suit narrow, repeatable jobs the Orchestrator can route.
Use this shape:
{
"agents": {
"api-reviewer": {
"model": "openai/gpt-6",
"variant": "high",
"prompt": "You review API contracts, error semantics, and migration risk. Return concise findings with file references.",
"orchestratorPrompt": "Delegate API contract, public SDK, or backwards-co
常见问题
配置文件在哪里?
这个技能列出用户配置文件和可选的项目覆盖文件,格式为 JSON 或 JSONC。
我可以修改智能体的提示词吗?
可以。追加文件会在内置提示词后面添加内容,完整替换文件则会替换整个提示词。
它会为一次性问题做出改变吗?
不会。这个技能只针对重复出现的行为提出修改建议。
详情
作者的原始描述
Configure and improve oh-my-opencode-slim for the current user. Use when users want to tune agents, models, prompts, custom agents, skills, MCPs, presets, or plugin behavior. Also use when recurring workflow friction suggests a safe config or prompt improvement.
热度
- GitHub 星标
- 10k
- 排名
- #12015
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …