npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

claude-code-voice

v1.0.6

Published

Make Claude Code speak - personalized voice announcements for your AI coding assistant

Downloads

18

Readme

🗣️ Claude Code Voice

npm version

Make Claude Code speak! Add personalized voice announcements to your AI coding assistant.

Features

  • 🎤 Personalized Messages - Uses your name throughout all voice interactions
  • 🔊 Smart Defaults - Pre-configured to avoid notification fatigue
  • 🌍 Cross-Platform - Works on macOS, Windows, and Linux
  • 🎛️ Granular Control - Mute/unmute specific hooks as needed
  • 👋 Welcome Greetings - Time-based personalized greetings when starting Claude
  • One-Command Setup - Install and configure everything in seconds

Installation

npx claude-code-voice

That's it! The interactive wizard will guide you through setup.

What Gets Installed

The setup wizard will:

  1. Ask for your name for personalized messages
  2. Let you choose which voice hooks to enable
  3. Configure platform-specific voice engines
  4. Create the /voice command in Claude Code
  5. Add a welcome greeting to your shell (optional)

Default Configuration

By default, these hooks are enabled:

  • Notification - When Claude needs your attention
  • Stop - When tasks are completed
  • SubagentStop - When subagents finish work

And these are disabled (to reduce noise):

  • PreToolUse - Before each tool runs
  • PostToolUse - After each tool completes

Usage

Voice Commands in Claude Code

Once installed, you can use these commands within Claude Code:

/voice              # Toggle voice on/off
/voice status       # Show current settings
/voice help         # Show all commands

# Mute specific hooks
/voice mute pre     # Mute tool start sounds
/voice mute post    # Mute tool completion sounds
/voice mute all     # Mute everything

# Unmute specific hooks  
/voice unmute notification  # Unmute attention requests
/voice unmute all          # Unmute everything

Available Hooks

  • pre/pretool - Tool start announcements
  • post/posttool - Tool completion alerts
  • notification - User attention requests
  • stop/finish - Task completion messages
  • subagent/agent - Subagent completion alerts

Examples

# First time setup
npx claude-code-voice

# Reconfigure with different settings
npx claude-code-voice reconfigure

# Uninstall
npx claude-code-voice uninstall

Platform Support

macOS

  • Uses say command with Samantha voice
  • System sounds from /System/Library/Sounds/

Windows

  • Uses PowerShell speech synthesis
  • Windows system sounds

Linux

  • Uses espeak or festival for speech
  • PulseAudio for sound playback

Customization

The voice system generates personalized messages like:

  • "Starting Bash for John"
  • "Sarah, I need your attention"
  • "All done, Michael!"

Messages vary to keep interactions fresh and natural.

Troubleshooting

Voice not working?

  1. Check if voice is enabled:

    /voice status
  2. Make sure your system has text-to-speech:

    • macOS: Built-in (no setup needed)
    • Windows: Built-in (no setup needed)
    • Linux: Install espeak or festival
  3. Verify hook configuration in ~/.claude/settings.json

Too many/few announcements?

Use /voice mute and /voice unmute to customize which events trigger voice feedback.

Author

Created by mrrxwyz

License

MIT License - see LICENSE file for details.