Skip to content
Product
Hook

Hooks

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

From plugin
deep-plan
1011 skill2 agents2 hooks
Install
> /plugin marketplace add piercelamb/deep-plan
> /plugin install deep-plan@piercelamb-plugins

Ships with deep-plan. 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.

  • uv run ${CLAUDE_PLUGIN_ROOT}/scripts/hooks/capture-session-id.py

SubagentStop

  • Matchesdeep-plan:section-writeruv run ${CLAUDE_PLUGIN_ROOT}/scripts/hooks/write-section-on-stop.py
Read hooks/hooks.json
Ships withdeep-plan

Blog posts: Building /deep-plan - The story behind this plugin The Deep Trilogy - How the three plugins work together What I Learned - Technical lessons from plugin development /deep-plan transforms vague feature requests into detailed, production-ready

Get the whole plugin
Stats
101
Stars
20
Forks
Maintained
Maintenance
Python
Language
MIT
License
4mo ago
Last commit
9mo ago
Created
1d ago
Added

Repo: piercelamb/deep-plan