跳到正文
Skillpedia
智能体10k · #12015

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/alvinunreal/oh-my-opencode-slim/blob/master/src/skills/oh-my-opencode-slim/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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.md shadows 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 for orchestrator/oracle/designer.
  • Permissions: per-agent skills/mcps (['*'], names, or ['*', '!x']); enable optional agents by removing them from disabled_agents.
  • Custom agents under agents.<name> with prompt plus orchestratorPrompt (trigger and non-use).
  • Prompt tuning via {agent}_append.md for 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 prompt and orchestratorPrompt fields are not supported in oh-my-opencode-slim.json[c]; use markdown prompt override files instead.
  • Unknown keys under top-level agents are custom agents. Custom agents may use prompt and orchestratorPrompt directly 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.

  1. 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.
  2. Prefer narrow changes.
    • Do not rewrite large prompts when a small rule solves the problem.
    • Do not add custom agents for one-off tasks.
  3. Preserve existing user settings.
    • Merge with current config rather than regenerating from scratch.
    • Keep comments and formatting where practical for JSONC files.
  4. Avoid hidden behavior changes.
    • Mention cost, permissions, or delegation changes before applying them.
    • Be explicit if a model/provider change may increase spend.
  5. 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

  1. Inspect: read current config, active preset, relevant agent blocks, project overrides.
  2. Minimize: pick the smallest change (model/preset, prompt rule, custom agent, or permission).
  3. Confirm: show a concise proposal with the target file path.
  4. Edit: preserve unrelated settings, JSONC formatting, and exact agent/skill/MCP names.
  5. Validate: ensure the file still parses; run repo config checks if available.
  6. 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.

repo: alvinunreal/oh-my-opencode-slim

热度

GitHub 星标
10k
排名
#12015
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能