acp
Installation
SKILL.md
/acp (bro)
All mechanics live in the bro CLI. This skill is policy only.
bro acp proxy -- <agent cmd> puts bro on the ACP wire (specs
bro-rs8sp.md, bro-bhyo1.md): the client spawns bro as the agent, bro
spawns the real agent, and every JSON-RPC message crosses untouched —
requests, notifications, _-methods, _meta, and error envelopes,
verbatim in both directions. The one rewrite is the seam: the session's
first session/prompt gets ONE prepended text block carrying the same
session-start + prompt-submit context bro hooks emits, probed inside
session/new's cwd. Later prompts carry prompt-submit context only.
Command
| Command | What it does |
|---|---|
bro acp proxy -- <agent cmd…> |
Foreground proxy — stdin/stdout IS the upstream wire. -- is mandatory; the tail is exec'd directly (no shell), env BRO_HOOKS=0 so the downstream tree never re-runs hooks. Exit 0 = client ended the wire; 1 = downstream died first; 2 = usage |