Hook
Notification Hook
Send Slack or desktop notifications when long-running tasks complete.
Install
Add to .claude/hooks/post-task.sh
About
Get notified when Claude Code finishes long-running tasks. Sends a Slack message, desktop notification, or webhook when a task completes (or fails). Configure thresholds so you're only notified for tasks that take longer than a specified duration. Useful for deploy-and-verify workflows or large refactoring tasks where you step away.
Tags
notificationsslackwebhookautomation
Score Breakdown
CLI Score Breakdown7/11
✓Official SDK on npm/pip+2
✓Env var authentication (no browser OAuth)+2
✓Works in headless/CI environments+2
✗CLI tool available0
✓JSON response for piping/parsing+1
✗Docs have curl/CLI examples0
✗Reasonable rate limits for scripted use0
✗Machine-readable pricing (md/JSON/static)0
Quality Score Breakdown
npm weekly downloads0
GitHub stars30k
Days since last release13d
Issue close ratio80%
TypeScript typesYes
Docs qualitybasic
Breaking changesrare
Scores
CLI
7
Quality
7
Related
HookVerified
0/wkTest on Change Hook
Automatically run relevant tests when source files change.
CLI
9
Quality
8
Add to .claude/hooks/post-edit.shHookVerified
0/wkAuto-format Hook
Format code with Prettier/Black after every Claude Code edit.
CLI
9
Quality
8
Add to .claude/hooks/post-edit-format.shHookVerified
0/wkPre-commit Lint Hook
Automatically lint and fix code before every commit.
CLI
9
Quality
8
Add to .claude/hooks/pre-commit.sh