agentleFS
bitcoin21ideasbitcoin21ideas/skills/AGENTS.md

skills

AGENTS.md1 starsChanged 5 months agoMITView on GitHub

Guidance for AI coding agents (Codex, Claude Code, Cursor, Copilot, Gemini, and others) working in this repository. This is a distribution repo for reusable agent skills — there is no application to build or run. Most contributions add or edit a skill. For human-facing usage and install instructions, see README.md. Each skill is a self-contained folder under skills/. Keep skills independent — a user should be able to take one folder without the rest. Every pull request and every push…

  • Commits and pushes
  • 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,736 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 repository6 other files it gives its agents.

The file

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

4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Progressive disclosure: Keep SKILL.md focused; move long or rarely-needed detail into sibling files (e.g.

    line 26
  2. Very specific:

    Every pull request and every push to main runs .github/workflows/validate.yml, which validates all skills against the Agent Skills spec …

    line 31
  3. Very specific:

    no install metadata (metadata.github-*) is committed.

    line 36
  4. Very specific:

    Use cross-agent frontmatter and appear in the root README.md skills table.

    line 53

≈ “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 (Codex, Claude Code, Cursor, Copilot, Gemini, and others) working in this repository. This is a distribution repo for reusable agent skills — there is no application to build or run. Most contributions add or edit a skill.

For human-facing usage and install instructions, see README.md.

Repository layout

skills/<name>/
  SKILL.md      # required — the skill itself (the agent-facing instructions)
  README.md     # required — human-facing overview, install, examples
  examples/     # optional — sample sessions or supporting docs

Each skill is a self-contained folder under skills/. Keep skills independent — a user should be able to take one folder without the rest.

Skill conventions

  • SKILL.md frontmatter uses YAML with:
    • name — kebab-case, matches the folder name (this is the invocation name, e.g. /commit).
    • description — what the skill does and when to use it. Phrase triggers as explicit user actions ("when the user says…", "run when the user asks to…") so cross-agent harnesses don't auto-fire it spuriously.
    • disable-model-invocation: true — set this for explicit-only skills (e.g. pressure-test); omit it for skills that should also auto-trigger from natural-language intent (e.g. commit, which still waits for plan approval before committing). Claude Code and Copilot honor the field; agents that don't recognize it ignore it safely and fall back to description matching.
    • metadata: block holding version (semver string), author, and source if adapted from someone else's work. Use this nested block, not top-level keys.
  • Cross-agent first. Unknown frontmatter fields are ignored per the agentskills.io standard, so Claude-specific fields are safe. Don't write a skill that only works in one agent unless it's inherently agent-specific.
  • Progressive disclosure. Keep SKILL.md focused; move long or rarely-needed detail into sibling files (e.g. tailoring.md, examples/) that the agent loads only when relevant.
  • Every promoted skill must be listed in the root README.md skills table, with the name linked to its per-skill README.md.

Validation & CI

Every pull request and every push to main runs .github/workflows/validate.yml, which validates all skills against the Agent Skills spec with gh skill publish --dry-run — the same checks gh skill install enforces:

  • each skill's name matches its directory name,
  • required frontmatter (name, description) is present,
  • allowed-tools, if set, is a string (not an array),
  • no install metadata (metadata.github-*) is committed.

Reproduce it locally before opening a PR (needs GitHub CLI ≥ 2.90.0):

gh skill publish --dry-run

Pushing a semver tag (git tag v1.1.0 && git push --tags) triggers .github/workflows/publish.yml, which re-validates and then cuts a GitHub release for the tag.

Contributing

This repo is agent-first: the easiest way to add or fix a skill is to ask your coding agent. Point it at this file, describe the change ("read AGENTS.md and add a skill that …"), let it follow the conventions above, then have it open a PR. Contributions are welcome from any agent or by hand.

A skill contribution should:

  • Live in a self-contained skills/<name>/ folder with SKILL.md + README.md (per the layout above).
  • Use cross-agent frontmatter and appear in the root README.md skills table.
  • Pass gh skill publish --dry-run (the CI gate — see Validation & CI).
  • Be committed using this repo's commit skill, which owns the message conventions.

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.