agentleFS
AdrianParedezAdrianParedez/capability-fabric/AGENTS.md

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…

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
  1. Distinctive:

    Use forward-slash paths in repository documentation and examples.

    line 30
  2. Distinctive:

    Keep skills portable. Required steps should name capabilities, not one specific agent runtime or tool.

    line 31
  3. Very specific:

    Every SKILL.md must include a "Runtime adaptation" section.

    line 33
  4. Very specific:

    Keep each SKILL.md under 500 lines.

    line 38
  5. Distinctive:

    Keep routing block markers intact:

    line 40
  6. Very specific:

    Follow .github/CONTRIBUTING.md for the canonical contributor workflow.

    line 49
  7. Very specific:

    Check docs/design/05-skill-taxonomy.md before creating a new skill.

    line 53
  8. Distinctive:

    Keep the six-part skill shape intact.

    line 54
  9. Very specific:

    Update skills/REGISTRY.md and docs/design/06-dependency-graph.md together.

    line 55
  10. Distinctive:

    Keep tiers acyclic. A skill may reference its own tier or a lower tier, never a higher tier.

    line 56
  11. Distinctive:

    Check installer syntax after editing installers:

    line 87
  12. Very specific:

    Run skills-ref validate ./skills/<name> where available for changed skills.

    line 114
  13. Distinctive:

    Use an imperative subject with a scope where useful, for example:

    line 121
  14. Distinctive:

    Do not add co-author, generated-by, AI attribution, or similar trailers.

    line 127
  15. Common:

    Never commit secrets or local agent settings.

    line 128
  16. Distinctive:

    Do not turn a skill into a monolith.

    line 132
  17. Distinctive:

    Do not hard-code absolute paths in skill instructions.

    line 133
  18. Distinctive:

    Do not hard-code one agent runtime into portable skill instructions.

    line 134
  19. Distinctive:

    Do not claim benchmark results unless they were actually measured.

    line 135

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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, 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 and install/install.sh install or remove the skill library.
  • install/routing-directive.md is 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.md are public governance files.
  • docs/release/CHANGELOG.md and docs/release/ROADMAP.md record 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.md must include a "Runtime adaptation" section.
  • Frontmatter must follow the Agent Skills spec:
    • name is lowercase, hyphenated, 64 characters or fewer, and matches the directory.
    • description is third person, 1024 characters or fewer, and says what the skill does and when to use it.
  • Keep each SKILL.md under 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.md before creating a new skill.
  • Keep the six-part skill shape intact.
  • Update skills/REGISTRY.md and docs/design/06-dependency-graph.md together.
  • 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.sh

Remove the installation:

./install/install.ps1 -Uninstall
./install/install.sh --uninstall

Validate 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
)
$errors
bash -n install/install.sh

GitHub Actions:

  • CI runs on push, pull request, and manual dispatch.
  • Link Check runs on pull request Markdown changes and manual dispatch.
  • Release Check runs on manual dispatch before public releases.

Before committing

  • Confirm each changed skills/*/SKILL.md frontmatter name equals 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.