Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use when setting up, checking, writing, linting, or troubleshooting Brigade memory handoffs for a repo or agent workspace, especially when a user wants durable agent memory, handoff inboxes, cross-harness memory routing, or a safe first Brigade setup.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | 44% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -11% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 26% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 74% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -2% | 0% |
Use Brigade to make agent handoffs boring: local drafts, linted routes, and a clear review queue before anything becomes durable memory.
MEMORY.md.For a code repo:
bashpipx install brigade-cli brigade --version brigade operator quickstart --target . --harnesses codex --dry-run brigade operator quickstart --target . --harnesses codex brigade operator doctor --target . --profile local-operator brigade handoff doctor --target .
For an OpenClaw or Hermes workspace:
bashpipx install brigade-cli brigade --version brigade operator quickstart --target . --depth workspace --harnesses openclaw,hermes --owner openclaw --dry-run brigade operator quickstart --target . --depth workspace --harnesses openclaw,hermes --owner openclaw brigade operator doctor --target . --profile local-operator brigade handoff doctor --target .
If the user uses multiple coding harnesses, choose the ones that exist in the target:
bashbrigade operator quickstart --target . --harnesses codex,claude,opencode,antigravity,pi,cursor,aider,goose,continue,copilot,qwen,kimi,adal,openhands,grok,amp,crush --dry-run
Run without --dry-run only after checking the planned files.
Before setup, inspect the target for existing conventions:
bashfind . -maxdepth 2 \( -name AGENTS.md -o -name CLAUDE.md -o -name MEMORY.md -o -name TOOLS.md -o -name SAFETY_RULES.md -o -name .brigade -o -name .codex -o -name .claude -o -name .openclaw -o -name .hermes \) -print
If existing memory or harness files are present, adapt Brigade around them. Do not replace working conventions with the example layout.
Use a short no-card handoff for most lessons:
bashbrigade handoff draft --target . --inbox codex \ --type workflow \ --title "Short durable title" \ --summary "One sentence summary." \ --content "### Short durable title What changed, what command worked, and what the next agent should do differently."
Use a card handoff only when the topic deserves a standalone memory card:
bashbrigade handoff draft --target . --inbox codex \ --type gotcha \ --action create-card \ --target-card "memory/cards/example-gotcha.md" \ --title "Example gotcha" \ --summary "One sentence summary." \ --content-file /tmp/reviewed-card-content.md
Then lint before the memory owner ingests anything:
bashbrigade handoff lint --target . brigade handoff lint --target . --content-guard --guard-policy personal brigade handoff doctor --target .
Use these commands to review pending drafts:
bashbrigade handoff list brigade handoff show <handoff-id-or-path> brigade handoff archive <handoff-id-or-path> brigade handoff archive --all-reviewed
Do not archive invalid handoffs just to make a queue look clean. Repair the draft or leave it pending for the memory owner.
If setup or lint fails, collect machine-readable output and summarize it after redaction:
bashbrigade --version brigade operator quickstart --target . --harnesses codex --json brigade operator doctor --target . --profile local-operator --json brigade operator verify-harness --target . --harness codex --json brigade handoff doctor --target . --json brigade handoff lint --target . --json brigade tools doctor --target . --json brigade skills doctor --target . --json
For OpenClaw/Hermes workspaces, use the workspace-depth quickstart command in the setup section.
When finished, report:
Healthy setup looks like:
textquickstart: ok operator doctor: ready yes blocking issues: 0 handoff doctor: ok or warnings explained
Other measured skills in the registry, with their headline benchmark lift.