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.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
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.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
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.
Độ 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
Bình luận
- …
Thêm skill từ kho mã này
cli-review
10kGiúp agent của bạn chạy đánh giá code Greptile trên nhánh hiện tại trước khi bạn mở pull request, rồi tóm tắt các phát hiện bằng lời đơn giản.
ai-estimates
10kGiúp agent của bạn ước tính thời gian làm việc khi có AI hỗ trợ, tách phần AI làm nhanh khỏi phần chờ đợi do con người hoặc bên ngoài gây ra.
clonedeps
10kGiúp agent của bạn sao chép mã nguồn của các phụ thuộc chính trong dự án vào một thư mục cục bộ, để đọc cách các thư viện đó hoạt động bên trong.
codemap
10kTạo bản đồ có cấu trúc cho dự án code lạ, giúp agent tìm nhanh các phần chính. Nên dùng khi bạn yêu cầu bản đồ code.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.