agentleFS
gokhanamalgokhanamal/ai-context/AGENTS.md

ai-context

AGENTS.md1 starsChanged 8 months agoMITView on GitHub

This repository packages reusable AI context for coding agents. Keep it small, auditable, and easy to install across supported tools. Run these checks before opening or updating a pull request:

  • 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 repository5 other files it gives its agents.

The file

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

12 rules. About 0 are common, 7 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

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

    Add each skill under skills/<skill-name>/.

    line 15
  2. Distinctive:

    Keep skill names short, action-led, and kebab-case.

    line 16
  3. Very specific:

    Every skill directory must include both SKILL.md and README.md.

    line 17
  4. Very specific:

    Add references/ or other support files only when they materially improve accuracy or execution.

    line 19
  5. Distinctive:

    Update the root README.md whenever a skill is added, removed, or renamed.

    line 20
  6. Very specific:

    Add each reusable agent under agents/<agent-name>/.

    line 24
  7. Distinctive:

    Keep agents reusable across projects.

    line 26
  8. Distinctive:

    Update the root README.md when an agent becomes part of the repo's main surface area.

    line 27
  9. Distinctive:

    Keep shared installable assets under the existing top-level surfaces instead of creating duplicate plugin copies elsewhere in the repo.

    line 31
  10. Very specific:

    When names, install paths, or packaging metadata change, update .claude-plugin/plugin.json, .claude-plugin/marketplace.json, …

    line 32
  11. Distinctive:

    Prefer structural improvements that fit this repo cleanly over copying larger plugin layouts wholesale.

    line 33
  12. Distinctive:

    Run these checks before opening or updating a pull request:

    line 37

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

AI Context Repository Guide

This repository packages reusable AI context for coding agents. Keep it small, auditable, and easy to install across supported tools.

Repository Surfaces

  • skills/ holds reusable skills shared by the plugin manifests.
  • agents/ holds reusable custom agent definitions and related docs.
  • _template/ is the starter layout for new skills.
  • docs/ holds supporting brainstorms, plans, and other working notes when they add value.
  • .claude-plugin/ and .codex-plugin/ hold packaging metadata and must stay aligned with the repo structure.

Skill Rules

  • Add each skill under skills/<skill-name>/.
  • Keep skill names short, action-led, and kebab-case.
  • Every skill directory must include both SKILL.md and README.md.
  • SKILL.md must include name and description frontmatter, and the name must match the directory name.
  • Add references/ or other support files only when they materially improve accuracy or execution.
  • Update the root README.md whenever a skill is added, removed, or renamed.

Agent Rules

  • Add each reusable agent under agents/<agent-name>/.
  • Include a human-facing README.md in every concrete agent directory.
  • Keep agents reusable across projects; avoid one-off repo-specific helpers unless clearly documented.
  • Update the root README.md when an agent becomes part of the repo's main surface area.

Packaging Rules

  • Keep shared installable assets under the existing top-level surfaces instead of creating duplicate plugin copies elsewhere in the repo.
  • When names, install paths, or packaging metadata change, update .claude-plugin/plugin.json, .claude-plugin/marketplace.json, .codex-plugin/plugin.json, and README.md together.
  • Prefer structural improvements that fit this repo cleanly over copying larger plugin layouts wholesale.

Validation

Run these checks before opening or updating a pull request:

python3 scripts/validate_repo.py
git diff --check

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.