agentleFS
svyatovsvyatov/supermatt/AGENTS.md

supermatt

AGENTS.md2 starsChanged 2 months agoMITView on GitHub

Each skill is a directory directly under skills/ (skills/<name>/SKILL.md), never nested deeper: Codex rejects nested skills. The plugin ships every skill in skills/. Every skill must have an entry in the top-level README.md, under Engineering (daily code work) or Productivity (daily non-code workflow tools), that links the skill name to its SKILL.md. Each section groups its entries into User-invoked and Model-invoked. Every SKILL.md is either user-invoked (disable-model-invocation: true plus policy.allow_implicit_invocation: false in agents/openai.yaml, reachable only by the human) or model-invoked…

The file

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

3 rules. About 0 are common, 0 are distinctive, and 3 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.

  • 3

    Very specific

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

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

    Every skill must have an entry in the top-level README.md, under Engineering (daily code work) or Productivity (daily non-code workflow …

    line 3
  2. Very specific:

    Every SKILL.md is either user-invoked (disable-model-invocation: true plus policy.allow_implicit_invocation: false in agents/openai.yaml, …

    line 5
  3. Very specific:

    Write the release notes in the version bump itself: move the Unreleased entries into a dated ## [X.Y.Z] section of CHANGELOG.md and add its …

    line 13

≈ “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

Each skill is a directory directly under skills/ (skills/<name>/SKILL.md), never nested deeper: Codex rejects nested skills. The plugin ships every skill in skills/.

Every skill must have an entry in the top-level README.md, under Engineering (daily code work) or Productivity (daily non-code workflow tools), that links the skill name to its SKILL.md. Each section groups its entries into User-invoked and Model-invoked.

Every SKILL.md is either user-invoked (disable-model-invocation: true plus policy.allow_implicit_invocation: false in agents/openai.yaml, reachable only by the human) or model-invoked (model- or user-reachable). See .agents/invocation.md.

ask-supermatt is the router that maps every user-reachable skill and how they relate. The same trigger that re-syncs a docs page applies to it: whenever you add, rename, remove, or change how a user-reachable skill fits the flows, re-read ask-supermatt's SKILL.md and update it so the map stays accurate: a new skill it never mentions, or a stale one it still routes to, is a router that lies.

Any change to a shipped skill must bump version in .claude-plugin/plugin.json (semver: PATCH for fixes, MINOR for new skills or features, MAJOR for removals or renames; before 1.0.0, a removal or rename bumps MINOR) and add a CHANGELOG.md entry. Plugin users get updates only on a version bump; commits without one never reach them. plugin.json holds the only version: the Claude Code catalog (.claude-plugin/marketplace.json) and the Codex catalog (.agents/plugins/marketplace.json) must not set one, and both must list the same plugins.

A version bump reaches main through a pull request. Once it merges, run scripts/release.sh on an up-to-date main. It creates the signed v<version> tag, pushes it, opens a GitHub Release from that version's CHANGELOG.md section, and pushes the release to the directory branch. The Claude plugin directory tracks that branch, which holds each release without scripts/, tests/, and .github/: never commit to it by hand. Whoever merges a version bump runs it right after the merge, unasked, so no merged version goes untagged. Only the maintainer's account can create v* tags: an agent that cannot run it (another account, a denied tool call) hands the maintainer sh scripts/release.sh to run instead of stopping at the merge.

Write the release notes in the version bump itself: move the Unreleased entries into a dated ## [X.Y.Z] section of CHANGELOG.md and add its compare link, since that section becomes the GitHub Release notes and scripts/release.sh refuses a version without one.

Deprecate a user-reachable skill before you remove or rename it. Ship one release where the old name still works as a stub SKILL.md that names the replacement and the version that removes the stub, and list it under Deprecated in CHANGELOG.md. Remove the stub in a later release and list it under Removed.

The CHANGELOG.md Unreleased section keeps one entry per skill: fold a new change to a skill into that skill's existing entry instead of adding another line, so the changelog stays compact.

To (re)link every skill into the local harness skill directories (~/.claude/skills, ~/.agents/skills), run scripts/link-skills.sh. Each entry is a symlink into this repo, so a git pull keeps installed skills current; re-run the script after adding, removing, or renaming a skill.

No em-dashes anywhere in this repo's prose (SKILL.md files, docs, README.md, CHANGELOG.md, ADRs, changesets, code comments). Where a sentence reaches for one, rewrite it instead with a comma, colon, period, parentheses, or a conjunction, whichever the sentence actually wants; never do a blind character substitution.

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.