--- name: claude-collab description: Use when the user asks to invoke, delegate to, or collaborate with Claude (Claude Code) on any task. Also use PROACTIVELY when handing part of the work to Claude, or an independent non-Codex perspective, would add value — implementation, review, second opinions on code, plans, architecture, or design decisions. --- # Claude Code peers Claude Code sessions in this workspace are peers you can collaborate with: delegate a task, divide implementation work, or review each other's output. Each is a separate agent with its own context, working in the same directory — often the session the user is talking to in another terminal. codex-collab is the whole path to them: it records every message as a task and keeps its reply, and it starts, resumes and stops the sessions it hands work to. A session started any other way (`claude --bg`, a terminal) is outside most of that: `send` can message it while it is live, but codex-collab never stops it, `peers stop` refuses it, and it is never resumed. ## Commands codex-collab peers # who is live here: name, idle or busy, kind codex-collab send "message" # hand that session a task and wait for its reply codex-collab send "message" # the only live session (the user's, if theirs is the one), or one started for you codex-collab send --new "message" # a new session started for you, even while the user's is live codex-collab send --new --name