Skip to content
Development
Hook

Hooks

What fleetdeck runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

From plugin
fleetdeck
281 skill1 command11 hooks
Install
> /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

  • MatchesEdit|Write|MultiEdit|NotebookEdit|Bash/bin/sh

PostToolUseFailure

  • MatchesEdit|Write|MultiEdit|NotebookEdit|Bash/bin/sh

PreToolUse

  • MatchesAskUserQuestion/bin/sh

PermissionRequest

  • /bin/sh

Elicitation

  • /bin/sh

Notification

  • /bin/sh

Stop

  • /bin/sh/bin/sh

SessionEnd

  • /bin/sh

CwdChanged

  • /bin/sh
Read hooks/hooks.json
Ships withfleetdeck

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.

Get the whole plugin
Stats
28
Stars
0
Forks
Active
Maintenance
TypeScript
Language
MIT
License
5d ago
Last commit
2mo ago
Created

Repo: lacion/fleet-deck