Skip to content
Back to search

claude-code-hooks

SkillWorks with Claude CodeGitHub

claude code hooks - adding voice on each hook

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/shanraisshan--claude-code-hooks/badge.svg)](/listings/shanraisshan--claude-code-hooks)

HTML

<a href="/listings/shanraisshan--claude-code-hooks"><img src="/api/listings/shanraisshan--claude-code-hooks/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

<p> <a href="install/README-mac.md"><img src="!/pill-mac.svg" alt="Mac" height="36"></a>&nbsp; <a href="install/README-linux.md"><img src="!/pill-linux.svg" alt="Linux" height="36"></a>&nbsp; </p>

**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.

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 135 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # Claude Code Hooks
  2. [![Hooks](https://img.shields.io/badge/supports%20all-30%20hooks-white?style=flat&labelColor=555)](https://github.com/shanraisshan/claude-code-hooks/blob/main/.claude/hooks/HOOKS-README.md#hook-events-overview---official-30-hooks) [![Version](https://img.shields.io/badge/updated%20with%20Claude%20Code-v2.1.162%20(Jun%2004%2C%202026%208:01%20PM%20PKT)-white?style=flat&labelColor=555)](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md) [![Stars](https://img.shields.io/github/stars/shanraisshan/claude-code-hooks?style=flat&label=%E2%98%85&labelColor=555&color=white)](https://github.com/shanraisshan/claude-code-hooks)
  3. <p align="center">
  4. <img src="!/claude-speaking.svg" alt="Claude Code mascot speaking" width="168" height="108">
  5. </p>
  6. <p align="center">
  7. <img src="!/repo-description.svg" alt="Mouse click on PreToolUse, Keyboard on PostToolUse, Human voice on other hooks" height="56">
  8. </p>
  9. # [Demo Video + Presentation](https://youtu.be/6_y3AtkgjqA)
  10. <p>
  11. <a href="https://youtu.be/6_y3AtkgjqA"><img src="!/pill-youtube-red.svg" alt="YouTube" height="36"></a>&nbsp;
  12. <a href="presentation/index.html"><img src="!/pill-slides.svg" alt="Slides" height="36"></a>
  13. </p>
  14. <p>
  15. <a href="https://youtu.be/MnpOsTEDzeY"><img src="!/thumbnail/video-2.jpg" alt="two-video" width="49%"></a>&nbsp;
  16. <a href="https://youtu.be/6_y3AtkgjqA"><img src="!/thumbnail/video-1.jpg" alt="one-video" width="49%"></a>
  17. </p>
  18. ## Installation
  19. <p>
  20. <a href="install/README-mac.md"><img src="!/pill-mac.svg" alt="Mac" height="36"></a>&nbsp;
  21. <a href="install/README-linux.md"><img src="!/pill-linux.svg" alt="Linux" height="36"></a>&nbsp;
  22. <a href="install/README-windows.md"><img src="!/pill-windows.svg" alt="Windows" height="36"></a>
  23. </p>
  24. ![How to Use](!/how-to-use.svg)
  25. **Step 1.** Start Claude Code:
  26. ```bash
  27. claude
  28. ```
  29. **Step 2.** Send a prompt (e.g., `Hi`) — you'll hear a sound on session start, tool use, agent response, and more.
  30. ## Common Errors
  31. If you don't follow the prerequisites, you will see the following error on claude code start
  32. ```
  33. SessionStart:startup hook error
  34. ```
  35. ## Changelog
  36. new hook addition changelogs only
  37. | Date | Hooks | Changes | Claude Code Version | Demo |
  38. |------|:-----:|---------|:-------------------:|:----:|
  39. | Jun 04, 2026 | 30 | Added `MessageDisplay` | [v2.1.152](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#21152) | |
  40. | Jun 04, 2026 | 29 | Added `PostToolBatch` | [docs](https://code.claude.com/docs/en/hooks) | |
  41. | Jun 04, 2026 | 28 | Added `UserPromptExpansion` | [docs](https://code.claude.com/docs/en/hooks) | |
  42. | Mar 31, 2026 | 27 | Added `PermissionDenied` | [v2.1.88](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#2188) | |
  43. | Mar 26, 2026 | 26 | Added `TaskCreated` | [v2.1.84](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#2184) | [Demo 4](https://youtu.be/MnpOsTEDzeY) |
  44. | Mar 25, 2026 | 25 | Added `CwdChanged`, `FileChanged` | [v2.1.83](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#2183) | |
  45. | Mar 18, 2026 | 23 | Added `StopFailure` | [v2.1.78](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#2178) | |
  46. | Mar 14, 2026 | 22 | Added `PostCompact`, `Elicitation`, `ElicitationResult` | [v2.1.76](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#2176) | |
  47. | Mar 5, 2026 | 19 | Added `InstructionsLoaded` | [v2.1.69](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#2169) | |
  48. | Feb 21, 2026 | 18 | Added `WorktreeCreate` and `WorktreeRemove` | [v2.1.50](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#2150) | |
  49. | Feb 20, 2026 | 16 | Added `ConfigChange` | [v2.1.49](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#2149) | |
  50. | Feb 6, 2026 | 15 | Added `TeammateIdle` and `TaskCompleted` | [v2.1.33](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#2133) | |
  51. | — | 13 | Added `PostToolUseFailure` | — | [Demo 3](https://youtu.be/6_y3AtkgjqA) |
  52. | Jan 17, 2026 | 12 | Added `Setup` | [v2.1.10](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#2110) | |
  53. | Jan 7, 2026 | 12 | Added subagent hooks: `PreToolUse`, `PostToolUse`, `Stop` | [v2.1.0](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#210) | |
  54. | Nov 18, 2025 | 11 | Added `PermissionRequest` | [v2.0.45](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#2045) | [Demo 2](https://youtu.be/JFPJtMNV8Qw) |
  55. | Nov 17, 2025 | 10 | Added `SubagentStart` | [v2.0.43](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#2043) | |
  56. | Nov 10, 2025 | 9 | Added `Notification` | [v2.0.37](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#2037) | [Demo 1](https://youtu.be/vgfdSUbz_b0) |
  57. | Jul 28, 2025 | 8 | Added `SessionStart` | [v1.0.62](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#1062) | |
  58. | Jul 16, 2025 | 7 | Added `UserPromptSubmit` | [v1.0.54](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#1054) | |
  59. | Jul 10, 2025 | 6 | Added `PreCompact` | [v1.0.48](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#1048) | |
  60. | Jul 2, 2025 | 5 | Split `Stop` into `Stop` and `SubagentStop` | [v1.0.41](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#1041) | |
  61. | Jun 30, 2025 | 4 | Initial release: `PreToolUse`, `PostToolUse`, `Stop`, `SessionEnd` | [v1.0.38](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#1038) | |
  62. ### [Not in Official Docs](.claude/hooks/HOOKS-README.md#not-in-official-docs)
  63. ## Links
  64. <p>
  65. <a href="https://www.youtube.com/watch?v=vgfdSUbz_b0"><img src="!/pill-youtube.svg" alt="YouTube" height="36"></a>&nbsp;
  66. <a href="https://www.linkedin.com/posts/shanraisshan_claudecode-aicoding-voicehooks-activity-7393305703697805312-4gl0"><img src="!/pill-linkedin.svg" alt="LinkedIn" height="36"></a>&nbsp;
  67. <a href="https://www.reddit.com/r/ClaudeCode/comments/1otaf7f/i_just_made_claude_code_speak_using_hooks/"><img src="!/pill-reddit.svg" alt="Reddit" height="36"></a>&nbsp;
  68. <a href="https://x.com/shanraisshan/status/1987817251966513620"><img src="!/pill-x.svg" alt="X" height="36"></a>&nbsp;
  69. <a href="https://medium.com/@shanraisshan/claude-code-just-got-a-voice-%25EF%25B8%258F-51008157305b"><img src="!/pill-medium.svg" alt="Medium" height="36"></a>
  70. </p>
  71. ## Other Repos
  72. <table>
  73. <tr>
  74. <td align="center" width="140">
  75. <a href="https://github.com/shanraisshan/codex-cli-hooks"><img src="!/codex-speaking.svg" alt="Codex CLI Hooks" width="64" height="64"></a><br>
  76. <a href="https://github.com/shanraisshan/codex-cli-hooks"><strong>Codex CLI<br>Hooks</strong></a>
  77. </td>
  78. <td align="center" width="140">
  79. <a href="https://github.com/shanraisshan/gemini-cli-hooks"><img src="!/gemini-speaking.svg" alt="Gemini CLI Hooks" width="64" height="64"></a><br>
  80. <a href="https://github.com/shanraisshan/gemini-cli-hooks"><strong>Gemini CLI<br>Hooks</strong></a>
  81. </td>
  82. <td align="center" width="140">
  83. <a href="https://github.com/shanraisshan/claude-code-best-practice"><img src="!/claude-jumping.svg" alt="Claude Code Best Practice" width="64" height="64"></a><br>
  84. <a href="https://github.com/shanraisshan/claude-code-best-practice"><strong>Claude Code<br>Best Practice</strong></a>
  85. </td>
  86. <td align="center" width="140">
  87. <a href="https://github.com/shanraisshan/codex-cli-best-practice"><img src="!/codex-jumping.svg" alt="Codex CLI Best Practice" width="64" height="64"></a><br>
  88. <a href="https://github.com/shanraisshan/codex-cli-best-practice"><strong>Codex CLI<br>Best Practice</strong></a>
  89. </td>
  90. <td align="center" width="140">
  91. <a href="https://github.com/shanraisshan/gemini-cli-best-practice"><img src="!/gemini-jumping.svg" alt="Gemini CLI Best Practice" width="64" height="64"></a><br>
  92. <a href="https://github.com/shanraisshan/gemini-cli-best-practice"><strong>Gemini CLI<br>Best Practice</strong></a>
  93. </td>
  94. </tr>
  95. </table>
  96. ## Developed by
  97. [![Developed by Claude Code](!/developed-by-claude-code.svg)](https://docs.anthropic.com/en/docs/claude-code)
  98. | Workflow | Description |
  99. |---------|-------------|
  100. | /workflows:workflow-changelog | Scan for new hooks and drift across all files |
  101. | /workflows:workflow-add-hook <HookName>* | Add any recommended hook across all files in one command |
  102. <p align="center">
  103. <img src="!/claude-jumping.svg" alt="section divider" width="60" height="50">
  104. </p>
  105. ## <img src="!/tags/sponsor-heart.svg" width="22" height="22" align="center"> Sponsor My Work
  106. If you like my work, buy me a doodh patti 🍵 on
  107. <a href="https://buy.polar.sh/polar_cl_cIMlrzYRInDIRBSWU9kSsxaTbiAQm3AVayOot4DIrt8"><img src="!/tags/polar.svg" alt="Polar" width="40" height="40" align="center"></a> <a href="https://buy.polar.sh/polar_cl_cIMlrzYRInDIRBSWU9kSsxaTbiAQm3AVayOot4DIrt8"><strong>Polar</strong></a>

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.