agent-skills
AGENTS.md0 starsChanged 4 months agoMITView on GitHub
This repository is the canonical source for reusable Agent Skills shared across Pi, OpenCode, and compatible agent harnesses. - Store every skill at skills/<name>/SKILL.md. - Keep all references, scripts, assets, and eval inputs within the skill package. - Treat source copies in ~/.pi and ~/.config/opencode as migration inputs, not as files to edit from this repository. - Do not modify client configuration repositories unless the task explicitly asks for a cutover. Every SKILL.md must contain YAML frontmatter followed by Markdown…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,774 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository34 other files it gives its agents.
- mcpSkill
- pattern-orchestration-complexSkill
- pattern-task-breakdownSkill
- role-architectSkill
- role-code-reviewSkill
- role-data-engineerSkill
- role-developerSkill
- role-orchestratorSkill
- role-product-engineerSkill
- role-qa-engineerSkill
- role-security-auditorSkill
- role-site-reliability-engineerSkill
- role-technical-writerSkill
- standards-analysisSkill
- standards-api-designSkill
- standards-codeSkill
- standards-databaseSkill
- standards-documentationSkill
- standards-go-concurrencySkill
- standards-go-performanceSkill
- standards-goSkill
- standards-go-testingSkill
- standards-markdownSkill
- standards-observabilitySkill
- standards-pulumi-typescriptSkill
- standards-pythonSkill
- standards-securitySkill
- standards-shellSkill
- standards-skill-authoringSkill
- standards-testingSkill
- standards-typescriptSkill
- tool-storeSkill
- workflow-debuggingSkill
- workflow-pi-extensionSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
26 rules. About 0 are common, 18 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈18
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 8
Keep all references, scripts, assets, and eval inputs within the skill package.
- Very specific: line 9
Treat source copies in ~/.pi and ~/.config/opencode as migration inputs, not as files to edit from this repository.
- Distinctive: line 11
Do not modify client configuration repositories unless the task explicitly asks for a cutover.
- Very specific: line 16
Every SKILL.md must contain YAML frontmatter followed by Markdown instructions.
- Very specific: line 24
Keep metadata values as strings and use repository-specific keys only when they add operational value.
- Very specific: line 26
Treat allowed-tools as experimental and use the specification's space-separated syntax.
- Distinctive: line 28
Use relative paths from the skill root.
- Distinctive: line 30
Use the standard optional directories consistently:
- Distinctive: line 39
Start from observed expertise, real tasks, corrections, and failure modes.
- Distinctive: line 40
Keep a skill to one coherent capability.
- Very specific: line 42
Keep SKILL.md below 500 lines and about 5,000 tokens when practical.
- Distinctive: line 46
Prefer concise procedures, a clear default, concrete examples, gotchas, and validation loops.
- Distinctive: line 50
Avoid menus of equivalent choices.
- Distinctive: line 51
Do not embed answers for one task where a reusable method will work.
- Very specific: line 59
If the core procedure is portable but a client needs an adapter, keep the core in SKILL.md and put conditional client guidance in a clearly …
- Very specific: line 61
If the capability fundamentally depends on one host, say so in compatibility and in the instructions.
- Distinctive: line 63
Do not claim portability by replacing concrete tool calls with vague advice.
- Distinctive: line 71
Import packages without normalization first.
- Distinctive: line 73
Keep each skill name unique across the repository.
- Distinctive: line 75
Do not merge related skills solely because their topics overlap.
- Distinctive: line 77
Never replace a client's entire skills directory during installation.
- Distinctive: line 82
Before finalizing a skill change, verify:
- Distinctive: line 88
All relative links and referenced resources exist.
- Very specific: line 95
Use the repository task runner or validation script once present.
- Distinctive: line 104
Commit it as a working state with a behavior-based conventional commit.
- Distinctive: line 107
Do not create standalone summary or planning files unless the user requests them.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Repository instructions
This repository is the canonical source for reusable Agent Skills shared across Pi, OpenCode, and compatible agent harnesses.
Scope
- Store every skill at
skills/<name>/SKILL.md. - Keep all references, scripts, assets, and eval inputs within the skill package.
- Treat source copies in
~/.piand~/.config/opencodeas migration inputs, not as files to edit from this repository. - Do not modify client configuration repositories unless the task explicitly asks for a cutover.
Skill structure
Every SKILL.md must contain YAML frontmatter followed by Markdown instructions. Follow these rules:
nameis required, uses lowercase letters, numbers, and hyphens, is at most 64 characters, has no leading, trailing, or consecutive hyphens, and exactly matches the parent directory.descriptionis required, is at most 1,024 characters, and states what the skill helps accomplish and when an agent should load it.- Include
compatibilityonly for real environment or client requirements. - Keep
metadatavalues as strings and use repository-specific keys only when they add operational value. - Treat
allowed-toolsas experimental and use the specification's space-separated syntax. Confirm the target client supports every declared tool. - Use relative paths from the skill root. Keep reference chains shallow.
Use the standard optional directories consistently:
references/for detailed material loaded only under stated conditions.scripts/for tested, repeatable operations an agent would otherwise recreate.assets/for templates and static resources used in outputs.evals/for realistic prompts, expected outcomes, assertions, and fixtures.
Writing skills
- Start from observed expertise, real tasks, corrections, and failure modes.
- Keep a skill to one coherent capability; split unrelated administration or domain concerns into separate skills.
- Keep
SKILL.mdbelow 500 lines and about 5,000 tokens when practical. - Move conditional detail to focused reference files and state exactly when to read each one.
- Include only information the agent is likely to miss without the skill.
- Prefer concise procedures, a clear default, concrete examples, gotchas, and validation loops.
- Explain why a constraint matters when contextual judgment is safe. Use exact sequences only for fragile or destructive operations.
- Avoid menus of equivalent choices; provide one default and a brief escape hatch.
- Do not embed answers for one task where a reusable method will work.
Portability
Classify guidance by capability rather than its source repository.
- Portable skills must not unconditionally invoke Pi- or OpenCode-specific tools, agent names, task schemas, storage APIs, or configuration paths.
- If the core procedure is portable but a client needs an adapter, keep the core in
SKILL.mdand put conditional client guidance in a clearly named reference. - If the capability fundamentally depends on one host, say so in
compatibilityand in the instructions. - Do not claim portability by replacing concrete tool calls with vague advice.
- Preserve useful intent during migration; normalization must not silently remove safety gates, verification steps, or domain-specific corrections.
Editing and migration safety
- Inventory source and destination packages before importing.
- Preserve source files and uncommitted source-repository changes.
- Import packages without normalization first; make semantic changes in a later, reviewable phase.
- Keep each skill name unique across the repository.
- Move a skill together with every referenced file.
- Do not merge related skills solely because their topics overlap. Merge only when evidence shows redundant activation or substantial duplicated procedure.
- Never replace a client's entire skills directory during installation. Prefer collision-checked, per-skill links with an explicit rollback path.
Validation
Before finalizing a skill change, verify:
- Frontmatter parses and required fields satisfy the Agent Skills specification.
- Directory and skill names match and are unique.
- Descriptions name concrete user intents, include an "even if" clause, and distinguish nearby skills.
- Compatibility and tool declarations are accurate.
- All relative links and referenced resources exist.
- Portable instructions contain no unconditional harness-specific operations.
- Scripts are self-contained or document dependencies and provide actionable errors.
- Large skills use progressive disclosure deliberately.
- Existing evaluations pass, and new behavior has realistic coverage when useful.
Use the repository task runner or validation script once present. Until then, use skills-ref validate skills/<skill-name> where available.
Workflow
For migrations and broad refactors:
- Plan the work in independently reviewable phases.
- Implement one phase without changing later-phase concerns.
- Review and correct that phase.
- Commit it as a working state with a behavior-based conventional commit.
- Continue only after the phase commit succeeds.
Do not create standalone summary or planning files unless the user requests them. Keep README and repository instructions current instead.
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.

