Claude Code notification

CC Hook

A terminal wrapper for Claude Code that monitors output with regex patterns and triggers notifications/commands. No more missed prompts!

Install

From source
git clone https://github.com/nahco314/cc-hook.git

From the README

Update

Claude Code's official hooks function has released.

So cc-hook is no longer needed; use official hooks!

cc-hook

A lightweight wrapper specifically for claude code to trigger notifications or custom commands when tasks complete or permissions are requested.

What is cc-hook?

cc-hook wraps around claude executions and monitors its output. It automatically triggers commands or notifications based on regex patterns you define. Perfect for staying informed without constantly watching the terminal!

Installation

Just run:

Usage

Run your usual claude command with cc-hook:

Configuration

You can check your default configuration path with:

Then you can edit it and configure cc-hook.

By default, the configuration is empty, so you'll need to define your own hooks to trigger notifications or commands.

Here’s a quick example to get started:

Customize your regex patterns and commands as needed.

Commands

* Show the config file path:

* Use a custom config file:

Why use cc-hook?

* Never miss important prompts from claude code.
* Get notified instantly when tasks finish.
* Lightweight, customizable, and straightforward.

Contributing

Contributions, issues, and feature requests are all welcome!

In fact, this tool is 100% made by claude code.
So the code style and comments may be a little strange. So even small refactorings and comment fixes are welcome :)

License

MIT
Read the full README on GitHub

Details

Language
Rust
License
MIT
Last updated
17 July 2025

FAQ

What is CC Hook?

A terminal wrapper for Claude Code that monitors output with regex patterns and triggers notifications/commands. No more missed prompts! It is a notification for Claude Code, from nahco314/cc-hook on GitHub.

How do I install CC Hook?

Clone nahco314/cc-hook from GitHub and follow the setup steps in its README.

Is CC Hook popular?

nahco314/cc-hook has 25 GitHub stars and 0 forks. It was last updated on 17 July 2025.

More notifications & sounds

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