A collection of SessionStart hooks for Claude Code. Each hook runs asynchronously on session start — no startup delay.
| Hook | Description |
|---|---|
| claude-code-update | Auto-update Claude Code CLI from npm (once per day) |
| sync-compound-engineering | Sync compound-engineering plugin from upstream (once per day) |
git clone https://github.com/kirvahe/claude-code-hooks.git
cd claude-code-hooks
./install.shThe installer copies scripts to ~/.claude/scripts/ and shows you the JSON to add to ~/.claude/settings.json.
./install.sh claude-code-updateSee each hook's README for copy-paste instructions.
- macOS, Linux, or Windows (via WSL)
bash,git,npm
Claude Code hooks are shell commands triggered by lifecycle events. These hooks use SessionStart with "async": true so they run in the background without blocking your session.
Each hook uses a timestamp file to throttle checks to once per 24 hours.
- Create a folder with your script and a README
- Add the folder/script mapping to the
HOOKSarray ininstall.sh - Submit a PR
MIT