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.

Install
$ npx -y skills add lacion/fleet-deck --agent claude-code

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.

  • Runs fleet-sessionstart.mjs".

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.

  • Runs UserPromptSubmit.

PostToolUse

  • Runs PostToolUse.

PreToolUse

  • Runs AskUserQuestion.

PermissionRequest

  • Runs PermissionRequest.

Elicitation

  • Runs Elicitation.

Notification

  • Runs Notification.

Stop

  • Runs Stop.

SessionEnd

  • Runs SessionEnd.

FileChanged

  • Runs FileChanged.
Read hooks/hooks.json
Ships withfleetdeck

One board 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, auto-invoked
Stats
28
Stars
0
Views
0
Forks
Active
Maintenance
JavaScript
Language
MIT
License
14h ago
Last commit
25d ago
Created

Repo: lacion/fleet-deck