agentleFS
fkenmarfkenmar/atlas/examples/AGENTS.md

atlas / examples

AGENTS.md4 starsChanged 5 months agoMITView on GitHub

Before exploring the codebase, get your bearings from the atlas map — a ranked, token-budgeted index of every signature, type, and import edge (no function bodies). Don't open files at random to learn the layout; the map shows where things are in one shot. - Orient first. Run atlas . (or read the committed atlas-map.md if one is present) and use it as your navigation index. Each file lists its public symbols, what it imports, and what depends on it,…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 35,117 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 repository8 other files it gives its agents.

The file

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

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    Before exploring the codebase, get your bearings from the atlas map — a ranked, token-budgeted index of every signature, type, and import …

    line 13
  2. Very specific:

    Orient first: Run atlas . (or read the committed atlas-map.md if one is present) and use it as your navigation index.

    line 18
  3. Distinctive:

    Read the actual file before editing it or relying on any implementation detail.

    line 25

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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
<!-- Sample AGENTS.md block for a repo that uses atlas — https://github.com/fkenmar/atlas Copy the "Navigating this repo (atlas)" section below into your own AGENTS.md, CLAUDE.md, .cursor/rules, or any agent-instruction file. It tells your coding agent to orient with atlas's structural map before exploring — the "meet the agent where it already looks" pattern, scoped to navigation only. atlas is read-only and structural: this snippet tells the agent how to FIND its way around the code, never how to write it. -->

Navigating this repo (atlas)

Before exploring the codebase, get your bearings from the atlas map — a ranked, token-budgeted index of every signature, type, and import edge (no function bodies). Don't open files at random to learn the layout; the map shows where things are in one shot.

  • Orient first. Run atlas . (or read the committed atlas-map.md if one is present) and use it as your navigation index. Each file lists its public symbols, what it imports, and what depends on it, ranked by how central the file is to the codebase.
  • Focus when you know the area. atlas . --focus src/auth --focus src/api re-ranks the map toward the paths you're working in.
  • The map is an index, not source. It contains signatures and structure only. Read the actual file before editing it or relying on any implementation detail.
  • If the atlas MCP server is configured (atlas serve --mcp), call its get_map tool for a fresh map and get_symbol to look up a specific declaration. For very large repos, call get_symbol_index for stable anchors and expand_symbol only for the few declarations you need.

Regenerate the map when the structure changes (atlas . -o atlas-map.md); re-runs are warm-cached (~80 ms). Keep a committed copy current in CI or a pre-commit hook with atlas . --check atlas-map.md (exits non-zero if the map is stale).

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.