OpenCode
Skill1 starsChanged 30 days agoMITView on GitHub
Delegate a coding, refactor, or PR-review task to the OpenCode CLI as an autonomous worker. USE WHEN delegating such a task to OpenCode, or running the opencode CLI.
35 other projects use a version of this.
Adopted by
Most recently taken up by
- guochen-coder/claude-code-opencodetheir own version, first seen Nov 15, 2026
- delorenj/skillstheir own version, first seen Nov 7, 2026
- ethosagent/ethostheir own version, first seen Nov 3, 2026
- Fahrnetic/engineering-agent-skill-workflowtheir own version, first seen Oct 15, 2026
- Stuko0/alice-agenttheir own version, first seen Oct 13, 2026
- NazmusSayad/skillstheir own version, first seen Oct 13, 2026
Used with
Projects with it also use github-repo-management, touchdesigner-mcp and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
math-incSkillgithub-repo-management
Clone, create, fork, configure, and manage GitHub repositories. Manage remotes, secrets, releases, and workflows. Works with gh CLI or falls back to git + GitHub REST API via curl.
Also in 14 projects that use this
john-data-chenSkilltouchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
Also in 7 projects that use this
math-incSkillminecraft-modpack-server
Set up a modded Minecraft server from a CurseForge/Modrinth server pack zip. Covers NeoForge/Forge install, Java version, JVM tuning, firewall, LAN config, backups, and launch scripts.
Also in 5 projects that use this
john-data-chenSkillteams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
Also in 8 projects that use this
Tommy-ywSkillsongwriting-and-ai-music
Songwriting craft, AI music generation prompts (Suno focus), parody/adaptation techniques, phonetic tricks, and lessons learned. These are tools and ideas, not rules. Break any of them when the art calls for it.
Also in 10 projects that use this
mae616Skillp5js
p5.js(クリエイティブコーディング)のProcessing由来「コードでスケッチ」思想を軸に、setup/drawループ・座標系・インタラクション・パフォーマンス最適化を整理する。p5.js、Processing、クリエイティブコーディング、ジェネラティブアート、インタラクティブ表現、ビジュアルプログラミング、Canvas描画、パーティクル、フラクタル、ノイズ表現に関する相談で必ず使うこと。ユーザーが「コードでアート」「動くビジュアル」「インタラクティブな描画」と言った場合にも適用する。
Also in 10 projects that use this
- +4 more from math-inc
Other versions35 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 35
- math-inc/OpenGauss★ 1.3ksame name
- Tommy-yw/RunbookHermes★ 546same name
- RedWoodOG/Hermes-Desktop★ 177same name
- AtlasOmnia/donna-starter★ 136same name
- AtlasOmnia/hermes-custom-pack★ 75same name
- wundercorp/loki★ 28same name
- ethosagent/ethos★ 22same name
- maystudios/claude-skills★ 21same name
- delorenj/skills★ 17same name
- pcx-wave/opencode-skill★ 17same name
25 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository45 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- skills/Prompting/Tools/CLAUDE.mdCLAUDE.md
- skills/Prompting/vendors/Claude.mdCLAUDE.md
- llms.txtllms.txt
- AdaptiveExplainersSkill
- AgySkill
- ArtSkill
- BackendDesignSkill
- BuildSkill
- CodebaseOnboardingSkill
- CodingStandardsSkill
- ContextBudgetSkill
- CreateCLI-AgentSkill
- CreateCLI-HumanSkill
- CreateCLISkill
- CreateHookSkill
- CreateMcpSkill
- CreatePluginSkill
- CreateSkillSkill
- DataReportBuilderSkill
- DockerPatternsSkill
- EmailSkill
- FrontendAestheticsSkill
- FrontendDesignSkill
- GitHubOpsSkill
- GitWorkflowSkill
- HygieneSkill
- IterateSkill
- MacPluginPlaybookSkill
- ModelUpgradeSkill
- OrchestrateSkill
- PiSkill
- PromptingSkill
- ReflectSkill
- ResearchSkill
- RobinhoodSkill
- SecurityReviewSkill
- SkillForgeSkill
- SocialPostSkill
- SpecSkill
- SuperwhisperLocalModelsSkill
- TestSkill
- VerifySkill
- WorkflowsSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 0 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 32 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 35
Always wrap runs in timeout (see Reference.md → Timeouts) so a stalled run self-kills instead of hanging the session.
- Very specific: line 41
Read $ARGUMENTS, classify intent, load the matching workflow.
- Very specific: line 51
Always preflight opencode --version and confirm a provider before the first run.
- Very specific: line 52
Default to opencode run '<prompt>' (non-interactive).
“Common” is measured: kept by at least 6 in 10 of the 32 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
OpenCode
Delegate work to the OpenCode CLI — a provider-agnostic
autonomous coding agent — and orchestrate it from this session via Bash.
This skill runs when you type /opencode <task>, and Claude may also auto-invoke it
when a task should be delegated to OpenCode. To make it manual-only again, add
disable-model-invocation: true to the frontmatter and drop the USE WHEN clause
from the description.
Task to delegate: $ARGUMENTS
How delegation maps to Claude Code tools
OpenCode runs as a subprocess. Orchestrate it with native tools:
| Need | Tool |
| Bounded one-shot task (waits for result) | Bash (foreground) |
| Long / multi-file task | Bash with run_in_background: true |
| Watch a backgrounded run | BashOutput (poll) or Monitor (block until done) |
| Working directory | opencode run … --dir <path> (preferred over cd) |
Always wrap runs in timeout (see Reference.md → Timeouts) so a stalled run
self-kills instead of hanging the session. Default model when none is given:
opencode/deepseek-v4-flash-free.
Workflow Routing
Read $ARGUMENTS, classify intent, load the matching workflow.
| Intent | Trigger words | File |
| Implement / refactor / fix | "add", "build", "refactor", "fix", "implement" | Workflows/Delegate.md |
| Review a PR or diff | "review PR", "review pr #", "review diff" | Workflows/ReviewPR.md |
Quick Reference
- Flags, models, install, binary pinning, troubleshooting: read
Reference.md. - Always preflight
opencode --versionand confirm a provider before the first run. - Default to
opencode run '<prompt>'(non-interactive). Never start the bare TUI (opencodewith no subcommand) — it is interactive and will hang this session.
Gotchas
- OpenCode runs autonomously — scope the task and verify the diff; treat its output as a worker's draft, not finished truth.
- Non-zero exit writes failure context to
.agent-state.mdso the next loop/orchestrate pass replans rather than repeating.
Examples
Example 1: Delegate a coding task
User: "have opencode add pagination to the list endpoint"
→ Delegate workflow → runs autonomously → diff verified before reportingExample 2: PR review
User: "opencode review this PR"
→ ReviewPR workflow → findings summarizedDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

