agentleFS
alex-macraalex-macra/claude-codex-skills-assembly/templates/AGENTS.md

claude-codex-skills-assembly / templates

AGENTS.md1 starsChanged 3 months agoMITView on GitHub

This is an optional starting point. Keep repository-specific conventions in the repository that owns them.

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    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:

    Check the installed skill list before inventing a workflow.

    line 7
  2. Distinctive:

    Follow repository-local instructions when they are more specific than generic guidance.

    line 9
  3. Distinctive:

    Do not push directly to a protected branch unless the current request explicitly names that branch and asks for the direct push.

    line 20
  4. Distinctive:

    Do not merge a pull request unless the current request explicitly names the target branch and asks for the merge.

    line 21
  5. Distinctive:

    Default to zero comments. Code and tests carry the meaning.

    line 26
  6. Distinctive:

    Never write comments that restate the code, reference a ticket or PR, note provenance, or narrate a change.

    line 27
  7. Distinctive:

    Prefer a short list to a paragraph of narrative.

    line 34
  8. Distinctive:

    Run checks appropriate to the change and report their actual results.

    line 38

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

Agent working rules

This is an optional starting point. Keep repository-specific conventions in the repository that owns them.

Use relevant skills

  • Check the installed skill list before inventing a workflow.
  • Load a matching skill when the request names it or clearly falls within its description.
  • Follow repository-local instructions when they are more specific than generic guidance.
  • Claude Code can preload skills declared by an agent definition. Codex dispatch must explicitly tell each subagent which SKILL.md files to read completely before acting.

Preserve repository state

  • Inspect the branch, worktree, and diff before changing or staging files.
  • Preserve unrelated changes and generated local state.
  • Stage only reviewed files that belong to the current task.

Protect release boundaries

  • Do not push directly to a protected branch unless the current request explicitly names that branch and asks for the direct push.
  • Do not merge a pull request unless the current request explicitly names the target branch and asks for the merge.
  • Confirm before publishing, deploying, releasing, or creating tags.

Comment sparingly

  • Default to zero comments. Code and tests carry the meaning; a comment earns its place only by stating a non-obvious why.
  • Never write comments that restate the code, reference a ticket or PR, note provenance, or narrate a change.
  • See the architect-review skill for the full guidance.

Report concisely

  • Lead with the outcome. Add detail only when it changes what the reader does next.
  • Skip the preamble, the recap of the request, and the closing summary of what was just said.
  • Prefer a short list to a paragraph of narrative.

Report evidence

  • Run checks appropriate to the change and report their actual results.
  • State failures, skipped checks, and remaining risks plainly.

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.