Skip to content
Productivity
Hook

Hooks

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

From plugin
guide
1237 skills4 agents3 hooks
Install
> /plugin marketplace add OriNachum/claude-code-guide
> /plugin install guide@claude-code-guide

Ships with guide. Installing the plugin gets these hooks.

What fires, and when

PostToolUse

  • Matches.*bash "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/track-usage.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.

  • Matches.*bash "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/track-prompt.sh"

Stop

  • bash "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/track-stop.sh"
Read hooks/hooks.json
Ships withguide

A Claude Code Guide โ€” interactive onboarding and Q&A on setup, best practices, automation, and effective workflows, packaged as a plugin. Designed with love for beginners ๐ŸŒฑ to experts. ๐ŸŒณ Platforms: Tested on Windows (Git Bash), macOS, and Linux (Ubuntu).

Get the whole plugin