capability-fabric
AGENTS.md1 starsChanged 6 months agoApache-2.0View on GitHub
Guidance for AI coding agents maintaining this repository. Capability Fabric is a model-agnostic library of agent-improving Agent Skills. The skills are the product. The research and design rationale live in docs/. - skills/<name>/ contains each skill, with SKILL.md, references.md, examples.md, templates/, checklists/, and benchmarks/. - skills/REGISTRY.md is the discovery index and default routing map. - docs/research/ contains research documents and citations. - docs/design/ contains taxonomy, dependency graph, activation strategy, and context design. - docs/release/ contains changelog and roadmap. - install/install.ps1…
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 35,266 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 repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
19 rules. About 1 is common, 12 are distinctive, and 6 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
6
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 30
Use forward-slash paths in repository documentation and examples.
- Distinctive: line 31
Keep skills portable. Required steps should name capabilities, not one specific agent runtime or tool.
- Very specific: line 33
Every SKILL.md must include a "Runtime adaptation" section.
- Very specific: line 38
Keep each SKILL.md under 500 lines.
- Distinctive: line 40
Keep routing block markers intact:
- Very specific: line 49
Follow .github/CONTRIBUTING.md for the canonical contributor workflow.
- Very specific: line 53
Check docs/design/05-skill-taxonomy.md before creating a new skill.
- Distinctive: line 54
Keep the six-part skill shape intact.
- Very specific: line 55
Update skills/REGISTRY.md and docs/design/06-dependency-graph.md together.
- Distinctive: line 56
Keep tiers acyclic. A skill may reference its own tier or a lower tier, never a higher tier.
- Distinctive: line 87
Check installer syntax after editing installers:
- Very specific: line 114
Run skills-ref validate ./skills/<name> where available for changed skills.
- Distinctive: line 121
Use an imperative subject with a scope where useful, for example:
- Distinctive: line 127
Do not add co-author, generated-by, AI attribution, or similar trailers.
- Common: line 128
Never commit secrets or local agent settings.
- Distinctive: line 132
Do not turn a skill into a monolith.
- Distinctive: line 133
Do not hard-code absolute paths in skill instructions.
- Distinctive: line 134
Do not hard-code one agent runtime into portable skill instructions.
- Distinctive: line 135
Do not claim benchmark results unless they were actually measured.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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
AGENTS.md
Guidance for AI coding agents maintaining this repository.
What this is
Capability Fabric is a model-agnostic library of agent-improving Agent Skills. The skills
are the product. The research and design rationale live in docs/.
Repository map
skills/<name>/contains each skill, withSKILL.md,references.md,examples.md,templates/,checklists/, andbenchmarks/.skills/REGISTRY.mdis the discovery index and default routing map.docs/research/contains research documents and citations.docs/design/contains taxonomy, dependency graph, activation strategy, and context design.docs/release/contains changelog and roadmap.install/install.ps1andinstall/install.shinstall or remove the skill library.install/routing-directive.mdis the routing block injected into agent configuration..claude-plugin/contains Claude Code plugin manifests..github/contains workflows, issue templates, and the pull request template..github/CONTRIBUTING.md,.github/SECURITY.md, and.github/CODE_OF_CONDUCT.mdare public governance files.docs/release/CHANGELOG.mdanddocs/release/ROADMAP.mdrecord release history and planned work.
Project conventions
- Use forward-slash paths in repository documentation and examples.
- Keep skills portable. Required steps should name capabilities, not one specific agent runtime or tool.
- Every
SKILL.mdmust include a "Runtime adaptation" section. - Frontmatter must follow the Agent Skills spec:
nameis lowercase, hyphenated, 64 characters or fewer, and matches the directory.descriptionis third person, 1024 characters or fewer, and says what the skill does and when to use it.
- Keep each
SKILL.mdunder 500 lines. Move depth into supporting files. - Benchmarks describe methods and targets. Do not invent executed results.
- Keep routing block markers intact:
<!-- BEGIN capability-fabric ... -->
<!-- END capability-fabric -->Changing or adding a skill
Follow .github/CONTRIBUTING.md for the canonical contributor workflow.
Agent-specific reminders:
- Check
docs/design/05-skill-taxonomy.mdbefore creating a new skill. - Keep the six-part skill shape intact.
- Update
skills/REGISTRY.mdanddocs/design/06-dependency-graph.mdtogether. - Keep tiers acyclic. A skill may reference its own tier or a lower tier, never a higher tier.
Test and install
Install into every detected agent:
./install/install.ps1./install/install.shRemove the installation:
./install/install.ps1 -Uninstall./install/install.sh --uninstallValidate changed skills where the tool is available:
skills-ref validate ./skills/<name>Check installer syntax after editing installers:
$tokens = $null
$errors = $null
$null = [System.Management.Automation.Language.Parser]::ParseFile(
(Resolve-Path 'install/install.ps1'),
[ref]$tokens,
[ref]$errors
)
$errorsbash -n install/install.shGitHub Actions:
CIruns on push, pull request, and manual dispatch.Link Checkruns on pull request Markdown changes and manual dispatch.Release Checkruns on manual dispatch before public releases.
Before committing
- Confirm each changed
skills/*/SKILL.mdfrontmatternameequals its directory. - Confirm changed skills still have all six parts.
- Run
skills-ref validate ./skills/<name>where available for changed skills. - Confirm README and documentation links resolve.
- Avoid unrelated refactors.
Commits
- Use Conventional Commits.
- Use an imperative subject with a scope where useful, for example:
feat(install): add uninstall mode- Do not add co-author, generated-by, AI attribution, or similar trailers.
- Never commit secrets or local agent settings.
Do not
- Do not turn a skill into a monolith. Split and compose instead.
- Do not hard-code absolute paths in skill instructions.
- Do not hard-code one agent runtime into portable skill instructions.
- Do not claim benchmark results unless they were actually measured.
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.

