Agent Orchestration
Hook
Hooks
What claude-session-driver runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.
Install
> /plugin marketplace add obra/claude-session-driverShips with claude-session-driver. Installing the plugin gets these hooks.
What fires, and when
PreToolUse
- Matches
*node "${CLAUDE_PLUGIN_ROOT}/dist/emit-event.cjs"
SessionStart
Fires once when a session begins, and again after a context compaction. It is where a plugin sets up its environment, or restores state the compaction dropped.
- Matches
*node "${CLAUDE_PLUGIN_ROOT}/dist/emit-event.cjs"
Stop
- Matches
*node "${CLAUDE_PLUGIN_ROOT}/dist/emit-event.cjs"
UserPromptSubmit
Fires before Claude sees each prompt you send. A plugin can use it to inject context, so the same instruction reaches the model every turn instead of only at session start.
- Matches
*node "${CLAUDE_PLUGIN_ROOT}/dist/emit-event.cjs"
SessionEnd
- Matches
*node "${CLAUDE_PLUGIN_ROOT}/dist/emit-event.cjs"
Ships withclaude-session-driver
Turn one coding-agent session into a project manager that delegates tasks to other coding-agent sessions — Claude Code, Codex, or Pi.
Get the whole plugin
Stats
113
Stars
22
Forks
Active
Maintenance
TypeScript
Language
MIT
License
16d ago
Last commit
8mo ago
Created
6h ago
Added

