Skip to content
Development
Hook

Hooks

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

From plugin
spec-superflow
7119 skills3 commands1 hook
Install
> /plugin marketplace add MageByte-Zero/spec-superflow
> /plugin install spec-superflow@spec-superflow

Ships with spec-superflow. 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.

  • bash "${CLAUDE_PLUGIN_ROOT}/hooks/session-start"
Read hooks/hooks.json

In the plugin's words

How spec-superflow describes its own hook set.

spec-superflow session start hook - injects workflow-start as session context
Ships withspec-superflow

源码级融合 OpenSpec 规划引擎 + Superpowers 执行纪律的 AI 编程工作流插件。17 平台支持,9 skills,Spec-first,契约驱动。

Get the whole plugin