By obra
Launch and manage Claude Code worker sessions in tmux to orchestrate parallel workflows: delegate tasks via prompts, monitor lifecycle events, approve tool calls with timeouts, enable multi-turn conversations, and collect results for multi-agent orchestration.
npx claudepluginhub jmagar/lab --plugin claude-session-driverTurn one Claude Code session into a project manager that delegates tasks to other Claude Code sessions.
A single Claude session works on one task at a time. With this plugin, a controller session launches worker sessions in tmux, assigns each a task, monitors their progress, reviews their tool calls, and collects results. Workers run in parallel. The controller decides what to do with their output.
Each worker session loads hooks that write lifecycle events to a JSONL file: session start, prompt submitted, tool use, stop, and session end. A PreToolUse hook pauses before every tool call, giving the controller a window to approve or deny it. If the controller does not respond within the timeout, the tool call proceeds.
The controller orchestrates workers through shell scripts that manage tmux sessions, poll events, read conversation logs, and clean up.
claude plugin install claude-session-driver@superpowers-marketplace
If your marketplace cache predates this plugin, update it first:
claude plugin marketplace update superpowers-marketplace
Requires tmux, jq, and the claude CLI.
Install the plugin and ask Claude to manage a project. The driving-claude-code-sessions skill provides orchestration patterns:
| Script | Purpose |
|---|---|
launch-worker.sh | Start a worker session in tmux |
converse.sh | Send a prompt, wait, return the response |
send-prompt.sh | Send a prompt without waiting |
wait-for-event.sh | Block until a lifecycle event appears |
read-events.sh | Read and filter the event stream |
read-turn.sh | Format the last turn as markdown |
stop-worker.sh | Stop a worker and clean up |
approve-tool.sh | Approve or deny a pending tool call |
MIT
MCP server for spawning and orchestrating multiple Claude Code sessions via iTerm2
Matches all tools
Hooks run on every tool call, not just specific ones
Share bugs, ideas, or general feedback.
Peer-to-peer direct messaging between Claude Code sessions via the Channels protocol. Enables multi-session coordination through a shared SQLite message bus.
Inter-agent communication for Claude Code and Codex CLI sessions via threads and messages
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Persistent memory system for Claude Code - seamlessly preserve context across sessions
Intelligent prompt optimization using skill-based architecture. Enriches vague prompts with research-based clarifying questions before Claude Code executes them