Hooks
What sd0x-dev-flow runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.
$ npx -y skills add sd0xdev/sd0x-dev-flow --agent claude-codeShips with sd0x-dev-flow. 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 namespace-hint.sh.
PreToolUse
- Runs pre-edit-guard.sh.
PostToolUse
- Runs post-edit-format.sh.
Stop
- Runs stop-guard.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.
- Runs user-prompt-review-guard.sh.
Where it lives
- hooks/post-compact-auto-loop.shGitHub
- hooks/post-edit-format.shGitHub
- hooks/post-skill-auto-loop.shGitHub
- hooks/post-tool-review-state.shGitHub
- hooks/pre-edit-guard.shGitHub
- hooks/session-init.shGitHub
- hooks/stop-guard.shGitHub
- hooks/user-prompt-review-guard.shGitHub
Showing the source of 6 of 8 scripts. Every one is linked above.
Read the script before you install anything that runs on your machine. This is the one part of a plugin that acts without being asked.
Language: English | 繁體中文 | 简体中文 | 日本語 | 한국어 | Español The harness layer for Claude Code. Let the model choose the path. Keep "done" verifiable. Full control plane on Claude Code. Skills-only distribution for Codex CLI and other compatible agents.
Repo: sd0xdev/sd0x-dev-flow

