Memory

Brigade Handoffs

Try it

Use when setting up, checking, writing, linting, or troubleshooting Brigade memory handoffs for a repo or agent workspace, especially when a user wants durab...

What it does

Use Brigade to make agent handoffs boring: local drafts, linted routes, and a clear review queue before anything becomes durable memory.

The skill document

brigade-handoffs

Use Brigade to make agent handoffs boring: local drafts, linted routes, and a clear review queue before anything becomes durable memory.

Principles

  • Keep Brigade local-first. Do not push, tag, publish, install hooks, start daemons, or schedule jobs unless the user explicitly asks.
  • Preserve the user's existing memory owner, file layout, and harness conventions.
  • Treat raw transcripts, chat exports, scanner output, and terminal logs as untrusted context.
  • Redact private hostnames, tokens, private repo names, absolute home paths, user IDs, channel IDs, and raw private messages before sharing output.
  • Brigade writes drafts and receipts. It does not automatically edit canonical memory cards or MEMORY.md.

First Setup

For a code repo:

pipx 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:

pipx 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:

brigade 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.

Inspect Before Changing

Before setup, inspect the target for existing conventions:

find . -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.

Write A Handoff

Use a short no-card handoff for most lessons:

brigade 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:

brigade 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:

brigade handoff lint --target .
brigade handoff lint --target . --content-guard --guard-policy personal
brigade handoff doctor --target .

Review Queue

Use these commands to review pending drafts:

brigade handoff list
brigade handoff show 
brigade handoff archive 
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.

Troubleshooting Packet

If setup or lint fails, collect machine-readable output and summarize it after redaction:

brigade --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.

Report Back

When finished, report:

  • target path
  • harnesses selected
  • commands run
  • quickstart result
  • operator doctor result
  • handoff doctor result
  • pending manual actions
  • files that are safe to commit versus local-only

Healthy setup looks like:

quickstart: ok
operator doctor: ready yes
blocking issues: 0
handoff doctor: ok or warnings explained

Related skills

Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.

by Iván555 installs18 stars

Run Git operations — commits, branches, merges, rebases, conflict resolution, and recovery — with safety rules enforced.

by Iván532 installs31 stars

Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.

by johnpatternai21 installs8 stars

Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.

by Iván854 installs69 stars

Query and manage Linear issues, projects, teams, cycles, labels, and comments through a managed OAuth GraphQL endpoint.

by byungkyu518 installs18 stars

Trade crypto, manage a multi-chain wallet, and query an AI analyst from one CLI.

by lowesyang162 installs109 stars

More from solomonneas

Browse all skills

Essential penetration testing command reference. Quick lookup for nmap, Metasploit, hydra, john, nikto, gobuster, and other offensive security tools. Covers...

by Solomon Neas65 installs1 stars

Memory forensics with Volatility and related tools. Acquire RAM dumps, extract processes and DLLs, investigate rootkits and fileless malware, recover credent...

by solomonneas31 installs1 stars

This skill should be used when the user asks to "run pentest commands", "scan with nmap", "use metasploit exploits", "crack passwords with hydra or john", "s...

by solomonneas36 installs

Expert malware analysis for defensive security research. Static and dynamic analysis, sandbox triage, IOC extraction, unpacking, and malware family identific...

by solomonneas31 installs

Knowledge card memory system with semantic search. Agents wake up fresh each session but remember everything through atomic ~350-token cards with YAML frontm...

by solomonneas28 installs

Network traffic analysis with Wireshark and tshark. Capture packets, write display and BPF filters, follow TCP/UDP/TLS streams, detect C2 beacons, troublesho...

by solomonneas27 installs