praneybehl

Claude Code Voice Hook — AI skill for Claude Code

AI community

Moved to vois-so/agent-voice: your AI agent speaks at the end of a task, in a Vois Studio voice.

How to install Claude Code Voice Hook

This entry records only its repository, not the path inside it, so there is no exact command to give. Open praneybehl/claude-code-voice-hook and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Code Voice Hook does

Moved to vois-so/agent-voice: your AI agent speaks at the end of a task, in a Vois Studio voice.

Alternatives in AI

  • Axonhub — ⚡️ Open-source AI Gateway — Use any SDK to call 100+ LLMs 3.2k ★
  • User Research Skill — Cookiy AI Skill for AI agents (Claude, Codex, Cursor, OpenClaw) — end-to-end user research: AI interviews, syn 1.5k ★
  • Spmind — [ICML 2026] Autonomous AI agent for end-to-end spatial proteomics analysis, with SP-Bench for agentic multiple 277 ★

README

Claude Code Voice Hook

**This project moved to [vois-so/agent-voice](https://github.com/vois-so/agent-voice).** agent-voice is a Claude Code plugin. When Claude completes a task, it speaks a short summary with a Vois Studio voice. It also has hooks for Codex, Cursor and Gemini CLI. This repository is archived.

Make Claude Code speak its responses using local text-to-speech.

Every time Claude finishes responding, the hook automatically:

  1. Extracts the response text
  2. Strips markdown formatting
  3. Sends it to a local TTS server
  4. Plays the audio

Works with any OpenAI-compatible TTS API. Designed for [Vois](https://vois.so), but compatible with any TTS server that follows the OpenAI `/v1/audio/speech` format.

Requirements

  • Claude Code (Anthropic's CLI)
  • jq - JSON processor (brew install jq, apt install jq, or choco install jq)
  • curl - HTTP client (pre-installed on macOS/Linux, available in Git Bash on Windows)
  • Audio player - afplay (macOS), aplay/paplay (Linux), PowerShell (Windows)
  • TTS server - Vois or any OpenAI-compatible TTS API

Windows Users

The script runs on Windows via **Git Bash** or **WSL**. Git Bash is included with [Git for Windows](https://gitforwindows.org/). Audio playback uses PowerShell automatically when running in MINGW/MSYS/Cygwin environments.

Quick Install

git clone https://github.com/praneybehl/claude-code-voice-hook.git
cd claude-code-voice-hook
./install.sh

Manual Install

  1. Copy the hook script:
mkdir -p ~/.claude/hooks
cp speak-response.sh ~/.claude/hooks/
chmod +x ~/.claude/hooks/speak-response.sh
  1. Add to ~/.claude/settings.json:
{
  "hooks": {
    "Stop": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "bash ~/.claude/hooks/speak-response.sh",
            "timeout": 180
          }
        ]
      }
    ]
  }
}

Configuration

Set environment variables to customize behavior:

| Var