agentleFS
PedroMosqueraPedroMosquera/squadai/CLAUDE.md

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…

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
  1. Very specific:

    Search first: Before starting significant work, run /memory-search <query> (or squadai memory search <query> in the terminal) and pass any …

    line 7
  2. Very specific:

    Capture as you go: After a decision, fix, or discovery, run /memory-add <note> (or squadai memory add "<note>").

    line 11
  3. Very specific:

    Housekeeping: Run /memory-promote periodically to graduate inbox drafts into permanent topic folders, and /memory-reindex after manual …

    line 15
  4. Distinctive:

    Summarize long output: When a tool returns more than ~30 lines, extract the relevant findings instead of pasting the whole output into the …

    line 44
  5. Distinctive:

    Memory first: Run a memory search before exploring the codebase — prior decisions often answer the question faster than fresh exploration.

    line 51
  6. Very specific:

    Checkpoint at ~60% context: When roughly 60% of the context window is used, stop exploring, write down what you know, and finish the …

    line 57

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

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md
<!-- 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 -->

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.