Chuyển đến nội dung
Skillpedia
Agent10k · #12015

oh-my-opencode-slim

Skill này làm gì

Skill này giúp người dùng cấu hình plugin oh-my-opencode-slim, gồm model và agent nào được dùng và cách tùy chỉnh prompt. Skill dành cho người chạy công cụ này và muốn nó hoạt động tốt hơn với họ.

Khi nào nên dùng

  • ✓Khi bạn muốn đổi model hoặc agent mà oh-my-opencode-slim sử dụng.
  • ✓Khi bạn muốn tùy chỉnh prompt của một agent hoặc thêm một agent tùy chỉnh.
  • ✓Khi cùng một trở ngại trong quy trình lặp lại và một thay đổi cấu hình nhỏ có thể giải quyết được.

Liên kết skill

https://github.com/alvinunreal/oh-my-opencode-slim/blob/master/src/skills/oh-my-opencode-slim/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/alvinunreal/oh-my-opencode-slim/blob/master/src/skills/oh-my-opencode-slim/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy giúp tôi đổi thiết lập oh-my-opencode-slim để agent explorer dùng một model rẻ hơn.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill tìm đúng file cấu hình và file prompt cho từng agent, rồi đề xuất các thay đổi nhỏ và an toàn. Skill tập trung vào những trở ngại lặp lại thay vì các vấn đề xảy ra một lần.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

File cấu hình nằm ở đâu?

Skill liệt kê một file cấu hình người dùng và một file ghi đè tùy chọn cho dự án, ở dạng JSON hoặc JSONC.

Tôi có thể đổi prompt của một agent không?

Có. Một file bổ sung sẽ thêm nội dung vào prompt có sẵn, còn file thay thế hoàn toàn sẽ ghi đè prompt đó.

Skill có thay đổi gì cho các vấn đề xảy ra một lần không?

Không. Skill chỉ đề xuất thay đổi cho hành vi lặp lại.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
10k
Vị trí xếp hạng
#12015
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự