squadai
CLAUDE.md9 starsChanged 5 months agoMITView on GitHub
docs/memory/ is this project's persistent, indexed memory store for decisions, learnings, and incidents. It survives across sessions — use it. Search first. Before starting significant work, run /memory-search <query> (or squadai memory search <query> in the terminal) and pass any findings into your plan. Never skip memory-search before architecture or API decisions. Capture as you go. After a decision, fix, or discovery, run /memory-add <note> (or squadai memory add "<note>"). Notes land in docs/memory/_inbox/ as drafts until promoted. Housekeeping. Run…
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- code-reviewSkill
- find-skillsSkill
- pr-descriptionSkill
- testingSkill
The file
We split this CLAUDE.md into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
Search first: Before starting significant work, run /memory-search <query> (or squadai memory search <query> in the terminal) and pass any …
- Very specific: line 11
Capture as you go: After a decision, fix, or discovery, run /memory-add <note> (or squadai memory add "<note>").
- Very specific: line 15
Housekeeping: Run /memory-promote periodically to graduate inbox drafts into permanent topic folders, and /memory-reindex after manual …
- Distinctive: line 44
Summarize long output: When a tool returns more than ~30 lines, extract the relevant findings instead of pasting the whole output into the …
- Distinctive: line 51
Memory first: Run a memory search before exploring the codebase — prior decisions often answer the question faster than fresh exploration.
- Very specific: line 57
Checkpoint at ~60% context: When roughly 60% of the context window is used, stop exploring, write down what you know, and finish the …
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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
<!-- squadai:memory:claude-code -->Project Memory Protocol
docs/memory/ is this project's persistent, indexed memory store for
decisions, learnings, and incidents. It survives across sessions — use it.
Search first. Before starting significant work, run /memory-search <query>
(or squadai memory search <query> in the terminal) and pass any findings into
your plan. Never skip memory-search before architecture or API decisions.
Capture as you go. After a decision, fix, or discovery, run
/memory-add <note> (or squadai memory add "<note>"). Notes land in
docs/memory/_inbox/ as drafts until promoted.
Housekeeping. Run /memory-promote periodically to graduate inbox drafts
into permanent topic folders, and /memory-reindex after manual edits under
docs/memory/ to keep the search index current.
For deeper multi-query research, ask the @librarian agent with a
plain-language question; it returns ranked excerpts from the memory index.
<!-- /squadai:memory:claude-code --><!-- squadai:brand:claude-code --> *
o o o .---.
/|\____/|\____/|\____|o o| S Q U A D A I
/ \ / \ / \ '---' x Claude Code<!-- /squadai:brand:claude-code --><!-- squadai:efficiency:claude-code -->Session Efficiency Protocol
Work token-efficiently. These rules apply to every task in this repository.
Search before read. Locate code with grep/glob first; read only the files and line ranges you need. Never read a whole file when a targeted range works.
Never re-read a file you just edited. The edit either succeeded or errored; trust that result instead of re-opening the file to check.
Summarize long output. When a tool returns more than ~30 lines, extract the relevant findings instead of pasting the whole output into the transcript.
Delegate exploration. Send open-ended codebase exploration to sub-agents and request a compact report (files, symbols, one-line conclusions) — keep raw file dumps out of the main context.
Memory first. Run a memory search before exploring the codebase — prior decisions often answer the question faster than fresh exploration.
Response discipline. Answer, then stop. Prefer code over prose; do not restate the request or narrate obvious steps.
Checkpoint at ~60% context. When roughly 60% of the context window is used, stop exploring, write down what you know, and finish the current step before starting anything new.
<!-- /squadai:efficiency:claude-code -->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.

