atlas / templates
CLAUDE.md146 starsChanged 13 days agoApache-2.0View on GitHub
These rules come from the atlas rules template. Each is one line to follow and one line on why. Edit them to suit the project; atlas never rewrites this file. Every token in the context is paid for again on every later turn. These rules keep the context small. - Write compaction summaries as keys and deltas, never restated content, under a hard character cap. Why: restated output costs its length every later turn; a key is one recall away.
In this repository2 other files it gives its agents.
- atlasSkill
- orchestrateSkill
The file
We split this CLAUDE.md into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 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.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Every token in the context is paid for again on every later turn.
- Distinctive: line 11
Write compaction summaries as keys and deltas, never restated content, under a hard character cap.
- Distinctive: line 17
Keep briefs lean: name the record keys an agent needs, and never tell it to read the rulebook.
- Distinctive: line 26
Never sleep-poll: run a long job as its own call, or in the background, and read its output once.
- Distinctive: line 29
Start a fresh agent at each handoff.
- Distinctive: line 42
Write a handoff before your final answer whenever work is left for later, naming the state, the evidence and the steps left.
- Distinctive: line 45
Ask the user design questions as multiple choice, with a recommended default.
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.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.
Files
Project rules
These rules come from the atlas rules template. Each is one line to follow and one line on why. Edit them to suit the project; atlas never rewrites this file.
Token-saving rules
Every token in the context is paid for again on every later turn. These rules keep the context small.
- Write compaction summaries as keys and deltas, never restated content, under a hard character cap. Why: restated output costs its length every later turn; a key is one recall away.
- Recall from atlas before asking the user or re-reading a file. Why: a recorded answer costs one recall, not a question or a full read.
- Keep briefs lean: name the record keys an agent needs, and never tell it to read the rulebook. Why: a rulebook read in full is charged to every agent that reads it.
- Have a cheap model write each brief, and a stronger model review it once before launch. Why: drafting is most of a brief's tokens, and one review catches the draft's misses.
- Make fewer, larger shell calls: batch independent reads and searches into one call. Why: every call re-reads the whole context.
- Never sleep-poll: run a long job as its own call, or in the background, and read its output once. Why: every poll is a full turn.
- Start a fresh agent at each handoff; never resume one. Why: a resumed agent carries its old context into every turn.
- Purge finished worktrees and build folders without asking. Why: stale copies cost disk, and get searched and read by mistake.
<!-- atlas:compact-block -->Habits
- Journal decisions and measurements to the lane as they happen. Why: a journal entry is one recall for the next agent; a memory of it is nothing.
- Write a handoff before your final answer whenever work is left for later, naming the state, the evidence and the steps left. Why: the next agent starts from the handoff, not from a rebuilt context.
- Ask the user design questions as multiple choice, with a recommended default. Why: a choice is answered in seconds, and the default shows your reasoning.
Agent, build and safety rules
The rules for agents, builds and safety are in the file imported on the last line.
@.claude/atlas-rules.md
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
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.

