build-skill
Skill29 starsChanged 7 months agoMITView on GitHub
Create effective skills for OpenCode agents. Load FIRST before writing any SKILL.md. Provides required format, naming conventions, progressive disclosure patterns, and validation. Use when building, reviewing, or debugging skills.
4 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- LukeRenton/explore-claude-codetheir own version, first seen Jul 23, 2026
- AgentJDrew/agent-team-factorytheir own version, first seen Jul 6, 2026
- kjanat/skillsedited, first seen Jun 30, 2026
- shawn-dumas/claude-code-skillstheir own version, first seen Mar 24, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- kjanat/skills★ 067% same
Wrote their own version · 3
- LukeRenton/explore-claude-code★ 319same name
- shawn-dumas/claude-code-skills★ 1same name
- AgentJDrew/agent-team-factory★ 0same name
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 repository27 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- broSkill
- cloudflareSkill
- cold-emailSkill
- composio-cliSkill
- copywritingSkill
- diff-walkthroughSkill
- emailsSkill
- frontend-designSkill
- grill-meSkill
- grill-with-docsSkill
- howSkill
- improve-codebase-architectureSkill
- index-knowledgeSkill
- install-skillSkill
- jira-toolSkill
- librarianSkill
- prospectingSkill
- repo-walkthroughSkill
- spec-plannerSkill
- teachSkill
- timesharingSkill
- tmuxSkill
- unslopSkill
- using-git-worktreesSkill
- whySkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 27
Place new skills in this skills repository by default.
- Distinctive: line 51
Create a skill when:
- Distinctive: line 99
Before using a skill:
“Common” is measured: kept by at least 6 in 10 of the 4 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
Building Skills
Skills extend agent capabilities with specialized knowledge, workflows, and tools.
Quick Start
Minimal viable skill in 30 seconds:
mkdir my-skill && cat > my-skill/SKILL.md << 'EOF'
---
name: my-skill
description: Does X when Y happens. Use for Z tasks.
---
# My Skill
Instructions go here.
EOFPlace new skills in this skills repository by default. OpenCode should load this repo through opencode.json skills.paths.
Skill Type Decision Tree
What are you building?
├─ Instructions only → Simple skill (SKILL.md only)
│ Example: code-review guidelines, commit message format
│
├─ Domain knowledge → Reference-heavy skill (+ references/)
│ Example: API docs, database schemas, company policies
│
├─ Repeatable automation → Script-heavy skill (+ scripts/)
│ Example: PDF processing, data validation, file conversion
│
├─ Complex multi-step workflow → Multi-file skill (all directories)
│ Example: release process, deployment pipeline
│
└─ Large platform → Progressive skill
Example: AWS, GCP, Cloudflare (60+ products)When to Create a Skill
Create a skill when:
- Same instructions repeated across conversations
- Domain knowledge model lacks (schemas, internal APIs, company policies)
- Workflow requires 3+ steps with specific order
- Code rewritten repeatedly for same task
- Team needs shared procedural knowledge
When NOT to Create a Skill
| Scenario | Do Instead |
| Single-use instructions | AGENTS.md or inline in conversation |
| Model already knows domain | Don't add redundant context |
| < 3 steps, no reuse | Inline instructions |
| Highly variable workflow | Higher-freedom guidelines |
| Just want to store files | Use regular directories |
Reading Order
| Task | Files to Read |
| New skill from scratch | anatomy.md → frontmatter.md |
| Optimize existing skill | progressive-disclosure.md |
| Add scripts/resources | bundled-resources.md |
| Find skill pattern | patterns.md |
| Debug/fix skill | gotchas.md |
In This Reference
| File | Purpose |
| anatomy.md | Skill directory structures |
| frontmatter.md | YAML spec, naming, validation |
| progressive-disclosure.md | Token-efficient design |
| bundled-resources.md | scripts/, references/, assets/ |
| patterns.md | Real-world skill patterns |
| gotchas.md | Common mistakes + fixes |
Scripts
| Script | Purpose |
scripts/init_skill.sh | Scaffold new skill |
scripts/validate_skill.sh | Validate skill structure |
scripts/package_skill.sh | Create distributable zip |
Pre-Flight Checklist
Before using a skill:
- SKILL.md starts with
---(line 1, no blank lines) name:field present, matches directory namedescription:includes what + when to use- Closing
---after frontmatter - SKILL.md under 200 lines (use references/ for more)
- All internal links resolve
Run: ./scripts/validate_skill.sh ./my-skill
Skill Locations
| Priority | Location |
| 1 | ~/path/to/skills/<name>/ (source of truth for this repo) |
| 2 | .opencode/skills/<name>/ (project-local OpenCode fallback) |
| 3 | ~/.config/opencode/skills/<name>/ (global OpenCode fallback) |
| 4 | .claude/skills/<name>/ (Claude-compat) |
OpenCode should be configured with skills.paths pointing at this repo. Avoid writing generated skills directly into ~/.config/opencode/skills; that makes the runtime copy the source of truth, which is backwards. A tiny tragedy, but still a tragedy.
See Also
- Cloudflare Skill - Reference implementation
Does 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.

