Hooks
What vibe-dev 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 andrewcigan/vibe-dev-plugin --agent claude-codeShips with vibe-dev. Installing the plugin gets these hooks.
What fires, and when
PreToolUse
- Runs dispatch-pre-tool-use.sh".
PostToolUse
- Runs dispatch-post-tool-use.sh".
Stop
- Runs dispatch-stop.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 dispatch-user-prompt.sh".
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 dispatch-session-start.sh".
MessageDisplay
- Runs dispatch-message-display.sh".
PreCompact
- Runs pre-compact.sh".
Where it lives
- hooks/dispatch-message-display.shGitHub
- hooks/dispatch-post-tool-use.shGitHub
- hooks/dispatch-pre-tool-use.shGitHub
- hooks/dispatch-session-start.shGitHub
- hooks/dispatch-stop.shGitHub
- hooks/dispatch-user-prompt.shGitHub
- hooks/pre-commit-scope.shGitHub
- hooks/pre-compact.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.
🌐 English: this file · Русский: README.ru.md A harness-first plugin that turns a business idea into a shipped product — for founders who build with Codex and Claude Code.
Repo: andrewcigan/vibe-dev-plugin

