Ship fast.
Break nothing.
Install a production-ready Claude Code hook workflow in one command
Up and running in 60 seconds
project root
0 / 70 selected
$ npx hookstack-cli@latest install Writes the hooks into .claude/hooks and patches settings.json — nothing else.
or fine-tune it hook by hook
01BrowseFilter 68 hooks by event type, category, or your stack.
02SelectYour install command updates live as you pick.
03InstallPaste the npx command in your project root. Done.
Tailor to your stackUniversal hooks always show — pick a stack to add the rest.
PreToolUse
11Secret detection before Bash execution
Security
Security
Destructive command blocking
Security
Security
Sensitive file write protection
Security
Security
Lock file write protection
Security
Security
git push to main guardrail
Security
Security
Domain allowlist for WebFetch
Workflow
Workflow
Enforce package managers
Validation
Validation
Worktree guardrail (Edit/Write)
Workflow
Workflow
Enforce uv for Python dependencies
Validation
Validation
Block file writes on main branch
Security
Security
Block push on closed PR
Workflow
Workflow
PostToolUse
8Automatic formatting after write
Validation
Validation
ESLint lint after write
Validation
Validation
TypeScript type checking
Validation
Validation
Tool usage tracking
Notification
Notification
Bash command log
Workflow
Workflow
Ruff format after write
Validation
Validation
Ruff lint after write
Validation
Validation
Pyright type checking
Validation
Validation
PostToolUseFailure
1Structured tool failure log
Context
Context
UserPromptSubmit
4Project conventions injection
Context
Context
Current date and time injection
Context
Context
Per-session prompt log
Context
Context
Automatic session naming
Context
Context
PermissionRequest
2Auto-approve read-only permissions
Security
Security
Automatic ExitPlanMode approval
Workflow
Workflow
Notification
3Slack notification on agent event
Notification
Notification
TTS voice notification
Notification
Notification
System sound notification
Notification
Notification
Stop
11Run tests at end of response
Validation
Validation
Session summary generation
Documentation
Documentation
Automatic quality check (Stop)
Validation
Validation
Missing test detection (Stop)
Validation
Validation
Per-modified-file coverage (Stop)
Validation
Validation
Per-modified-file lint (Stop)
Validation
Validation
Auto-disable Stop hook after N failures
Workflow
Workflow
Full i18n validation (Stop)
Validation
Validation
Voice task-completion announcement
Notification
Notification
System sound on task completion
Notification
Notification
Run pytest at end of response
Validation
Validation
SubagentStop
1Subagent end voice summary
Notification
Notification
SubagentStart
1Subagent start voice announcement
Notification
Notification
PreCompact
1Transcript backup before compaction
Workflow
Workflow
SessionStart
9Load Git context at startup
Context
Context
Worktree env initialization
Workflow
Workflow
Worktree dependency update
Workflow
Workflow
Dependency check and install at startup
Workflow
Workflow
Re-inject context after compaction
Context
Context
Install project dependencies on init
Workflow
Workflow
Auto-create worktree when starting on main
Workflow
Workflow
Auto-pull on main at session start
Context
Context
Stale stash warning at session start
Context
Context
SessionEnd
2End-of-session audit log
Notification
Notification
Temporary file cleanup at session end
Workflow
Workflow
CwdChanged
1Reload direnv on directory change
Workflow
Workflow
ConfigChange
1Configuration change audit log
Workflow
Workflow
FileChanged
3Reload .env on file change
Workflow
Workflow
Auto-run tests when source files change
Validation
Validation
Registry auto-sync
Workflow
Workflow
InstructionsLoaded
1Audit log for CLAUDE.md file loads
Workflow
Workflow
MessageDisplay
1Redact secrets from displayed output
Security
Security
PermissionDenied
1Log auto-mode permission denials
Workflow
Workflow
PostCompact
1Save compaction summary to log
Documentation
Documentation
PostToolBatch
1Typecheck after parallel file edits
Validation
Validation
StopFailure
2Desktop notification on rate limit
Notification
Notification
Log API errors to file
Workflow
Workflow
TaskCompleted
1Test suite gate before task completion
Validation
Validation
TaskCreated
1Enforce task naming conventions
Workflow
Workflow
UserPromptExpansion
1Inject context on skill invocation
Context
Context
WorktreeRemove
1Clean up artifacts on worktree removal
Workflow
Workflow
Select hooks (+ button) to generate your
settings.json configuration.