delegate-to-claude-code
Delegate to Claude Code (CLI)
Run claude for a second opinion, review, or a delegated edit worker. Default
path: claude-rc-spawn — interactive Claude in detached tmux with Remote
Control, so the user can watch and steer from claude.ai/code. Use plain
claude -p when machine-readable capture matters more than visibility.
Model default: --model opus --effort high (sonnet --effort low for trivia).
Happy path
-
Write the brief to
.agent-runs/$slug/prompt.md(slug="claude-$(date +%Y%m%d-%H%M%S)"; mkdir -p ".agent-runs/$slug"): context, exact task, constraints, acceptance criteria, verification commands, output shape. Demand evidence (commands run, exit status, changed files, risks) and state explicitly: verify synchronously — never end the turn waiting on a background monitor or watcher. Workers otherwise park themselves "waiting for the monitor" and yield-loop. -
Launch. Reviewer (read-only) via Remote Control tmux: