Hooks
What fleetdeck runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.
> /plugin marketplace add lacion/fleet-deck > /plugin install fleetdeck@fleetdeck
Ships with fleetdeck. Installing the plugin gets these hooks.
What fires, and when
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.
/bin/sh
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.
/bin/sh
PostToolUse
- Matches
Edit|Write|MultiEdit|NotebookEdit|Bash/bin/sh
PostToolUseFailure
- Matches
Edit|Write|MultiEdit|NotebookEdit|Bash/bin/sh
PreToolUse
- Matches
AskUserQuestion/bin/sh
PermissionRequest
/bin/sh
Elicitation
/bin/sh
Notification
/bin/sh
Stop
/bin/sh/bin/sh
SessionEnd
/bin/sh
CwdChanged
/bin/sh
One reliable control plane for every Claude Code session on your machine. Run more than two or three Claude Code sessions and you lose track of them: which terminal is which, which one is blocked on a permission prompt, and which two are editing the same file.
Repo: lacion/fleet-deck

