Claude Code hook
Claude Code Boost
Claude Code Boost - Hook utilities for Claude Code with intelligent auto-approval
Install
npm install -g claude-code-boostFound in the project README. Check it for setup steps after installing.
git clone https://github.com/yifanzz/claude-code-boost.gitFrom the README
Claude Code Boost Smart hooks for Claude Code that reduce friction and keep quality high. - Auto-approve safe dev operations (less clicking, more coding) - Nudge/run tests before ending sessions when changes warrant it - Optional desktop notifications for long-running tasks Quick Start See what gets auto-approved and blocked in the sections below. Installation Prerequisites: Node.js 20+ and Claude Code installed The ccb install command guides you through: 1. Choose installation location (user, project, or project-local settings) 2. Choose authentication method (API proxy or direct API key) 3. Configure Claude Code settings automatically 4. Verify the setup works Feature Details Auto-Approval Hook Reduces manual approval overhead by automatically approving common safe operations: - File operations (reading, writing, basic file management) - Standard build/test commands (npm test, npm build, git commit) - Local development requests (curl localhost:3000) - Package management (npm install, dependency updates) - Basic Docker operations Always blocks destructive system commands (rm -rf /, disk formatting, etc.) Test Enforcement Hook Analyzes conversation transcripts to detect when tests should be run before ending a session: - Parses Claude Code conversation history - Uses LLM analysis to determine if code changes warrant testing - Can block session termination until tests are executed Notification Hook Simple desktop notifications for Claude Code events: - Cross-platform support (macOS, Windows, Linux) - Useful for long-running operations or important alerts Transcript Parser Utility for processing Claude Code conversation logs: - Converts JSONL transcript format to structured XML - Extracts user messages, assistant responses, and commands - Useful for analysis…
How hooks work
- Hooks are shell commands Claude Code runs at fixed points: before or after a tool call, when you submit a prompt, when Claude stops, on notifications and at session start.
- They are set in the hooks section of ~/.claude/settings.json (or .claude/settings.json for a project), or come bundled in a plugin.
- A hook can block a tool call, add context, or run a formatter or test. Read the scripts before you install them: they run on your machine with your permissions.
Details
- Repository
- yifanzz/claude-code-boost
- Type
- Hooks
- Language
- TypeScript
- License
- MIT
- Last updated
- 26 October 2026
- Listed in
- jqueryscript/awesome-claude-code
FAQ
What is Claude Code Boost?
Claude Code Boost - Hook utilities for Claude Code with intelligent auto-approval It is a hook for Claude Code, from yifanzz/claude-code-boost on GitHub.
How do I install Claude Code Boost?
Run npm install -g claude-code-boost, then follow the setup in the README.
Is Claude Code Boost popular?
yifanzz/claude-code-boost has 165 GitHub stars and 23 forks, and is included in 1 curated Claude Code list. It was last updated on 26 October 2026.
More hooks
agentlint
215mauhpr/agentlint
Local guardrail hooks that check proposed file edits and shell commands and block risky patterns.
Claude Hooks SDK
68beyondcode/claude-hooks-sdk
PHP library for building Claude Code hooks with a fluent API.
Model Matchmaker
168coyvalyss1/model-matchmaker
Local hook that routes each prompt to a suitable model tier to save cost.
jev-guard
144leepokai/jev-guard
Risk-scores each tool call with session context and decides to allow, ask or deny.
Model Router Hook
107tzachbon/claude-model-router-hook
Hooks that switch Claude's model tier automatically according to task complexity.
Claude Code Crash Course
191emarco177/claude-code-crash-course
Hands-on crash course for Claude Code with branch-based projects on MCP, subagents, hooks, and automation.
Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.