Claude Code hook

Claude Code Boost

Claude Code Boost - Hook utilities for Claude Code with intelligent auto-approval

165 stars 23 forksHooks Source

Install

Install
npm install -g claude-code-boost

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/yifanzz/claude-code-boost.git

From 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…
Read the full README on GitHub

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.
Claude Code docs

Details

Type
Hooks
Language
TypeScript
License
MIT
Last updated
26 October 2026

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

Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.