Search Brigade

Search Brigade pages and docs.

[ COMPARISON ]

Stop Claude Code memory and bootstrap bloat

Claude Code (or AGENTS.md) has grown into a multi-thousand-line dump and agents are slower, worse, or ignoring the bottom of the file.

Updated July 9, 2026 · Escoffier Labs

Short answer: treat bootstrap files as a thin always-on index, and put durable knowledge in reviewed memory cards plus handoffs. Brigade enforces bootstrap budgets, wires handoff inboxes, and (with Memory Doctor / Bootstrap Doctor) lints dead links and oversize files.

The problem

It is easy to paste every preference, runbook, and incident into CLAUDE.md or AGENTS.md. The file becomes the single source of truth and the single failure mode: token waste, stale claims, and agents that never see the last half of the file.

The Brigade path

brigade operator quickstart --target . --harnesses claude
brigade doctor --target .                 # bootstrap budgets, card links, handoff inboxes
brigade handoff draft --inbox claude ...  # durable note, not another CLAUDE.md paragraph
brigade ingest --target . --promote-cards
brigade add memory                        # memory-doctor + bootstrap-doctor when you want deep audits

Rules of thumb:

  1. Bootstrap (AGENTS.md, CLAUDE.md, USER.md, TOOLS.md): short, stable, always loaded.
  2. Cards under memory/cards/: atomic topics, linked from MEMORY.md.
  3. Handoffs: session-to-session facts with evidence, then promote or discard.
ToolRole
Brigade doctorbootstrap size budgets, broken card links, inbox presence
Memory Doctordead links, pending handoffs, memory index health
Bootstrap Doctorsoft/hard limits on bootstrap files
Handoffs compare pagemulti-agent handoff path

When this is enough

Use this layout when bootstrap files keep growing and quality drops. Keep a single personal CLAUDE.md only if it stays under a few hundred lines and you have one harness.

Questions

Will Brigade delete my CLAUDE.md? No. Doctor warns and budgets; you choose what to split into cards.

Is this only for Claude Code? No. The same slim-bootstrap pattern applies to Codex, Grok, Hermes, and other writers. Claude is just where bloat shows up first for many people.

See memory ownership and handoff docs.

Try Brigade

One reviewed source for the memory, tools, and MCP your AI coding agents share, merged into each tool's native config with a review gate and a receipt for every change. Local files, no daemon, no lock-in.

Quickstart · GitHub · All comparisons