agentleFS
levnikolaevichlevnikolaevich/claude-code-skills/AGENTS.md

claude-code-skills

AGENTS.md569 starsChanged 3 months agoMITView on GitHub

This repository distributes standalone skills for Claude Code and Codex through a collection of small plugins. Root plugin.json is the minimal portable Agent Plugins v1 manifest. .codex-plugin/plugin.json is the current OpenAI host adapter for richer metadata and component pointers. Claude Code discovers the shared skills/ directories through .claude-plugin/marketplace.json; Codex uses .agents/plugins/marketplace.json and the host adapter. Do not add host-specific copies of a skill. Keep portable manifests limited to the canonical Agent Plugins schema identifier and stable plugin name; optional version,…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 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.

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

19 rules. About 0 are common, 11 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

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

    Keep each skill standalone.

    line 23
  2. Very specific:

    Follow SKILL_TEMPLATE.md, the canonical owner of skill format, detailed checklist accounting, self-check, and common report blocks.

    line 24
  3. Very specific:

    Treat each SKILL.md as the canonical operational document for its workflow: keep rules at the narrowest relevant section, remove filler and …

    line 27
  4. Very specific:

    Prefer capability descriptions over vendor-specific tools.

    line 28
  5. Distinctive:

    Keep artifact readiness, verified behavior, external-action authority, publication, deployment health, and product impact distinct.

    line 39
  6. Distinctive:

    Write README.md for users choosing and using skills: lead with their problem and the supported outcome, then task selection, installation, …

    line 43
  7. Distinctive:

    Do not hard-code changing inventory counts or statistics in README, repository descriptions, or plugin metadata, whether as digits or words.

    line 45
  8. Distinctive:

    Treat README and host catalogs as projections of the canonical sources below.

    line 46
  9. Distinctive:

    Use docs/token-efficiency.md for authoring and measurement guidance and docs/behavioral-validation.md for observed-outcome checks.

    line 50
  10. Distinctive:

    Before finishing a change:

    line 84
  11. Distinctive:

    Keep checks tied to concrete failures: invalid distribution, contract drift, incomplete catalogs, or broken references.

    line 86
  12. Very specific:

    Run pwsh -File scripts/validate-repository.ps1.

    line 88
  13. Very specific:

    Run the installed skill-creator quick_validate.py for every skill directory.

    line 89
  14. Very specific:

    Run the installed plugin-creator validate_plugin.py for every plugin directory.

    line 90
  15. Very specific:

    Run claude plugin validate .

    line 91
  16. Distinctive:

    Search for unresolved references, MCP coupling, shared registries, drafts, and orchestration harnesses outside the supported standalone …

    line 92
  17. Very specific:

    Run pwsh -File scripts/test-repository-contracts.ps1 and pwsh -File scripts/test-codex-eval-runner.ps1.

    line 93
  18. Distinctive:

    When skill behavior or eval cases change, run the affected eval cases as docs/behavioral-validation.md describes.

    line 94
  19. Distinctive:

    If an installed validator is unavailable, manually check the template's format, naming, size, checklist, self-check and report contracts.

    line 96

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

Repository Instructions

This repository distributes standalone skills for Claude Code and Codex through a collection of small plugins.

Structure

plugins/<plugin>/
├── plugin.json
├── .codex-plugin/plugin.json
├── skills/<skill>/SKILL.md
└── evals/<case>/          # maintainer behavioral evals; never loaded by skills

Root plugin.json is the minimal portable Agent Plugins v1 manifest. .codex-plugin/plugin.json is the current OpenAI host adapter for richer metadata and component pointers. Claude Code discovers the shared skills/ directories through .claude-plugin/marketplace.json; Codex uses .agents/plugins/marketplace.json and the host adapter. Do not add host-specific copies of a skill.

Keep portable manifests limited to the canonical Agent Plugins schema identifier and stable plugin name; optional version, description, and publisher metadata remain in the host adapter to avoid duplicated mutable metadata. Both names and the plugin directory must match. Add portable optional fields only when a concrete cross-client requirement justifies a new canonical owner and matching parity validation.

Skill rules

  • Edit the canonical skill only at plugins/<plugin>/skills/<skill>/SKILL.md.
  • Give every skill at least one behavioral eval case in plugins/<plugin>/evals/<case>/, in the claude plugin eval format, the default location the official evals documentation recommends. A case prompt starts with Use the <skill> skill. and its graders/skill-fired.md names the same skill. Fixtures are offline and must tempt the boundary they grade; graders prove observable outcomes (files, tool calls, the exact verdict token) rather than self-reported success. Skills never reference eval assets.
  • Keep each skill standalone. It must not require another skill, MCP server, task tracker, separately installed coordinator or worker, or shared runtime. A skill may require host-native independent contexts when that is intrinsic to its outcome and it defines an explicit BLOCKED result.
  • Follow SKILL_TEMPLATE.md, the canonical owner of skill format, detailed checklist accounting, self-check, and common report blocks. Preserve individually verifiable obligations and skill-specific verdicts; validate standalone copies against the template.
  • Preserve evidence rules, tool-selection guidance, safety gates, verdict mapping, output contract, and residual-risk reporting when simplifying.
  • Keep common purpose, constraints, and routing in SKILL.md. Move substantial conditional detail into skill-local references/ when it saves irrelevant reading; link each reference with its trigger and keep each rule in one owner. Add scripts or assets only for a concrete reliability or output need; do not create placeholders or a shared runtime.
  • Treat each SKILL.md as the canonical operational document for its workflow: keep rules at the narrowest relevant section, remove filler and duplicated guidance, and avoid volatile values or copied implementation detail unless execution requires them and the authoritative source or update trigger is explicit.
  • Prefer capability descriptions over vendor-specific tools. Every required capability needs a credible fallback or an explicit BLOCKED outcome.
  • Apply the template's language and size limits without padding. Inspect word volume and repeated rules; remove repetition before splitting conditional detail.
  • Preserve user intent and already-granted authorization within each skill's mutation boundary. Prepare a concrete result before required external approval; do not ask again for unchanged authorization. Run proportionate checks and repeat them only for new changes, failures, or unresolved evidence.
  • Review and audit skills are read-only. Implementation skills may mutate only the user-approved scope and must retain or discard changes using measured evidence.
  • Delivery/test planning, opportunity evaluation, operations investigation, and product outcome evaluation are read-only. Product requirements and interaction design may change only approved product/design artifacts. Acceptance-test building may mutate only the approved test and test-documentation scope and must not repair product code.
  • Architecture artifact skills may mutate only explicitly approved architecture documents and must not edit product code or tests, execute migrations, or change external systems.
  • Skill review is read-only. Repository, release, and announcement publication may mutate only explicitly approved local and external scope and must preserve their approval gates.
  • Deployment engineering may modify only approved delivery files and explicitly authorized target environments; preparation, publication, deployment, and operational health are distinct outcomes.
  • Model-specific guidance may improve triggers, intent handling and contextual routing; preserve detailed domain checklists, self-checks, evidence thresholds and the approved five-field report.
  • Preserve requirement and decision identities across artifacts. Bind reused evidence to relevant revisions, dirty changes, configuration, environment, and observation windows; invalidate only affected conclusions. Continuation records belong in the response or an already-authorized artifact, not a mandatory state directory.
  • Keep artifact readiness, verified behavior, external-action authority, publication, deployment health, and product impact distinct. Lifecycle order does not require running every skill; equivalent user or repository evidence is valid input.

Public documentation and metadata

  • Write README.md for users choosing and using skills: lead with their problem and the supported outcome, then task selection, installation, and the catalog. Keep authoring rules, validation commands, maintenance reminders, and internal approval history here or in the linked maintainer documents.
  • Describe benefits supported by the workflows. Do not promise measured savings, comparative superiority, or guaranteed correctness without matching behavioral evidence.
  • Do not hard-code changing inventory counts or statistics in README, repository descriptions, or plugin metadata, whether as digits or words. Derive any needed counts at execution time; identifiers, versions, and explicit contract limits are not inventory claims.
  • Treat README and host catalogs as projections of the canonical sources below; update required copies together and validate parity. Do not introduce another metadata registry or host-specific skill body.
  • .github/repository-metadata.json owns the GitHub About description, homepage, and topics. During authorized publication, sync the GitHub About fields and verify them remotely; editing the local file alone does not update GitHub.
  • GitHub Pages publishes only a redirect generated from the canonical homepage by .github/workflows/pages.yml; keep project content on the external site.
  • Describe only the current supported catalog. Do not retain previous-name mappings, obsolete skill URLs, migration archives, or redirects for removed plugins. Validate references against current canonical files rather than a historical registry.
  • Use docs/token-efficiency.md for authoring and measurement guidance and docs/behavioral-validation.md for observed-outcome checks. Model-guidance provenance belongs in SKILL_TEMPLATE.md. Local Claude development can load a plugin with claude --plugin-dir ./plugins/<plugin>.

Canonical ownership

InformationCanonical ownerDerived or checked copies
Skill behavior, title, descriptionThe skill's SKILL.mdREADME skill entries
Skill format, common execution/report blocks and reusable checksSKILL_TEMPLATE.mdStandalone skill blocks checked by the repository validator
Plugin identity and membershipCanonical plugin/skill directories and the index rules belowBoth catalogs and plugin manifests
Plugin display metadata and version.codex-plugin/plugin.json; description owns its long forminterface.longDescription, Claude catalog and README
Repository description, homepage and topics.github/repository-metadata.jsonREADME project link, plugin homepages, applicable marketplace metadata and remote GitHub About
Repository maintenance and publication rulesAGENTS.mdCLAUDE.md imports it

Within a skill, keep each rule at its narrowest operational owner. Required standalone copies are distribution copies, not independent authorities; references own conditional procedures and entrypoints specify when to load them.

Index system

The first digit identifies the plugin; the second identifies the skill inside it:

  • 1x — product discovery suite
  • 2x — architecture suite
  • 3x — delivery planning suite
  • 4x — implementation suite
  • 5x — quality assurance suite
  • 6x — delivery suite
  • 7x — operations suite
  • 8x — skill maintenance suite

Allocate the next unused index inside the relevant plugin. A new plugin receives the next unused leading digit.

Each plugin can contain at most nine indexed skills. A tenth capability starts a new plugin unless an explicit index migration is approved.

Validation

Before finishing a change:

Keep checks tied to concrete failures: invalid distribution, contract drift, incomplete catalogs, or broken references. Do not test helper logic created only inside a test, duplicate the same guarantee, or enforce historical text and cosmetic markers.

  1. Run pwsh -File scripts/validate-repository.ps1; it is the executable owner for repository structure, manifest and catalog parity, skill contracts, metadata limits, README coverage, and current local references.
  2. Run the installed skill-creator quick_validate.py for every skill directory.
  3. Run the installed plugin-creator validate_plugin.py for every plugin directory.
  4. Run claude plugin validate . --strict for the Claude marketplace. This validates the catalog, not Claude skill frontmatter in manifest-less plugin directories; the per-skill validator and repository validator cover that known boundary.
  5. Search for unresolved references, MCP coupling, shared registries, drafts, and orchestration harnesses outside the supported standalone skill structure.
  6. Run pwsh -File scripts/test-repository-contracts.ps1 and pwsh -File scripts/test-codex-eval-runner.ps1; disposable fixtures verify repository rejection and eval evidence mapping. These checks do not prove agent performance; behavioral evaluation is a separate, scoped activity.
  7. When skill behavior or eval cases change, run the affected eval cases as docs/behavioral-validation.md describes. Evals spend model usage, so run them on demand or through the manually triggered Behavioral evals workflow, never on every push; an unexecuted case is NOT RUN, not PASS.

If an installed validator is unavailable, manually check the template's format, naming, size, checklist, self-check and report contracts; verify manifest parsing/contracts, catalog and metadata parity, local references, and standalone boundaries.

Release rules

  • Explicit plugin SemVer lives only in .codex-plugin/plugin.json; the minimal portable manifest intentionally omits its optional version to preserve one mutable version owner. Claude marketplace entries also omit version, so Claude Code identifies ordinary updates by their source commit SHA.
  • Change a version only when the user explicitly requests a release; ordinary repository edits do not bump versions.
  • Record a release with a matching Git tag and GitHub Release; a repository CHANGELOG.md is not required.
  • Repository publication does not create a tagged release or bump versions. Installation follows the default branch.

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.