Airsc is free for everyone. If it helps you, support it with $2–$20.

Support
SkillSafeAgent workflow & memoryBeginner friendly

claude-code-hooks

shanraisshan · shanraisshan/claude-code-hooks

Adds distinct audio cues to Claude Code actions like session start, tool use, and agent responses, enhancing real-time feedback for the user.

claude code hooks - adding voice on each hook

553 stars59License: MITUpdated 5 months ago0 opens

Preview

▍

What you can do with it

  • Receive audible confirmation when Claude Code starts a new session or uses a tool.
  • Get distinct sound alerts for agent responses, even when focused on another window.
  • Customize audio feedback for specific agent actions to create a more engaging coding experience.

Safety check

Safe

No risky patterns found in the files we scanned.

Automated scan of the repo files. Always review code you run.

From the README

Claude Code Hooks

-white?style=flat&labelColor=555)

Demo Video + Presentation

 

 

Installation

   

Step 1. Start Claude Code:

claude

Step 2. Send a prompt (e.g., Hi) — you'll hear a sound on session start, tool use, agent response, and more.

Common Errors

If you don't follow the prerequisites, you will see the following error on claude code start

SessionStart:startup hook error

Changelog

new hook addition changelogs only

DateHooksChangesClaude Code VersionDemo
Jun 04, 202630Added MessageDisplayv2.1.152
Jun 04, 202629Added PostToolBatchdocs
Jun 04, 202628Added UserPromptExpansiondocs
Mar 31, 202627Added PermissionDeniedv2.1.88
Mar 26, 202626Added TaskCreatedv2.1.84Demo 4
Mar 25, 202625Added CwdChanged, FileChangedv2.1.83
Mar 18, 202623Added StopFailurev2.1.78
Mar 14, 202622Added PostCompact, Elicitation, ElicitationResultv2.1.76
Mar 5, 202619Added InstructionsLoadedv2.1.69
Feb 21, 202618Added WorktreeCreate and WorktreeRemovev2.1.50
Feb 20, 202616Added ConfigChangev2.1.49
Feb 6, 202615Added TeammateIdle and TaskCompletedv2.1.33
—13Added PostToolUseFailure—Demo 3
Jan 17, 202612Added Setupv2.1.10
Jan 7, 202612Added subagent hooks: PreToolUse, PostToolUse, Stopv2.1.0
Nov 18, 202511Added PermissionRequestv2.0.45Demo 2
Nov 17, 202510Added SubagentStartv2.0.43
Nov 10, 20259Added Notificationv2.0.37Demo 1
Jul 28, 20258Added SessionStartv1.0.62
Jul 16, 20257Added UserPromptSubmitv1.0.54
Jul 10, 20256Added PreCompactv1.0.48
Jul 2, 20255Split Stop into Stop and SubagentStopv1.0.41
Jun 30, 20254Initial release: PreToolUse, PostToolUse, Stop, SessionEndv1.0.38

Not in Official Docs

Links

       

Other Repos

Codex CLIHooks

Gemini CLIHooks

Claude CodeBest Practice

Codex CLIBest Practice

Gemini CLIBest Practice

Developed by

WorkflowDescription
/workflows:workflow-changelogScan for new hooks and drift across all files
/workflows:workflow-add-hook *Add any recommended hook across all files in one command

Sponsor My Work

If you like my work, buy me a doodh patti 🍵 on

Polar

View source on GitHub