Tiny scripts to enhance the claude code experience
Find a file
2026-01-18 05:58:11 +00:00
needs-permissions.sh improve: notification 2025-12-17 07:34:58 -06:00
notify-ready.sh improve: notification 2025-12-17 07:34:58 -06:00
README.md Fix command path in README.md 2026-01-07 15:34:42 +01:00

Claude Code Hooks

Demo

https://github.com/user-attachments/assets/dbe1d10b-42f0-4a9a-a2e2-a00d7b776aa0

Installation

You can put this anywhere, but this is what I do:

git clone https://github.com/TheNoeTrevino/claude-hooks.git ~/.claude/hooks

Now add this to your ~/claude/settings.json:

{
  ...
  "hooks": {
  ...
    "PermissionRequest": [
      {
        "matcher": "*",
        "hooks": [
          {
            "type": "command",
            "command": "~/.claude/hooks/needs-permissions.sh"
          }
        ]
      }
    ],
    "Stop": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "~/.claude/hooks/notify-ready.sh"
          }
        ]
      }
    ]
  },
}