@nownabe/claude-hooks
v0.2.0
Published
A collection of [Claude Code hooks](https://docs.anthropic.com/en/docs/claude-code/hooks) for enhanced workflow automation.
Downloads
44
Readme
@nownabe/claude-hooks
A collection of Claude Code hooks for enhanced workflow automation.
Usage
bunx @nownabe/claude-hooks <hook>Configuration
All hooks share a single config file: .claude/nownabe-claude-hooks.json (or .claude/nownabe-claude-hooks.local.json for machine-local overrides).
Config files are loaded hierarchically from the current working directory up to $HOME. Files are deep merged — objects are recursively merged (child keys override parent keys), while primitives are replaced entirely by the child value.
File priority (highest first, per directory from CWD to HOME):
CWD/.claude/nownabe-claude-hooks.local.jsonCWD/.claude/nownabe-claude-hooks.json<parent>/.claude/nownabe-claude-hooks.local.json<parent>/.claude/nownabe-claude-hooks.json- ... up to
$HOME
Hooks
| Hook | Description |
| --------------------------------------------------------- | ---------------------------------------------- |
| pre-bash | Auto-approve or block Bash commands by pattern |
| notification | Send native OS notifications with sound |
