Warcraft3 Claude Code Sound Hook banner
warmwind warmwind

Warcraft3 Claude Code Sound Hook

Development community

Description

Warcraft III worker voice lines as Claude Code hooks — hear 'Yes, milord' and 'Job's done' while coding

Installation

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

README

Warcraft III Sound Hook for Claude Code

Hear Warcraft III worker voice lines while you code with [Claude Code](https://docs.anthropic.com/en/docs/claude-code).

When you send a prompt, a random race's worker says their **accept** line (*"Yes, milord"*, *"Something need doing?"*, *"I wish only to serve"*, ...). When Claude needs your attention — a permission request or question — you hear a **what do you need?** line (*"What is it?"*, *"What you want?"*, ...). When Claude finishes, that same race's worker announces **work complete** (*"Job's done"*, *"Work complete"*, *"Ready to serve"*, ...).

The ask and complete hooks also ring a **terminal bell**, so if you're running multiple Claude Code sessions in tmux, the window that needs attention gets highlighted in the status bar.

Quick Install

git clone https://github.com/warmwind/warcraft3-claude-code-sound-hook.git
cd warcraft3-claude-code-sound-hook
./install.sh

Then add hooks to `~/.claude/settings.json` (the installer prints the exact JSON).

Manual Install

  1. Copy sounds to ~/.claude/wc3sounds/:
cp -r sounds/* ~/.claude/wc3sounds/
  1. Copy scripts to ~/.claude/:
cp scripts/wc3_accept.sh ~/.claude/wc3_accept.sh
cp scripts/wc3_ask.sh ~/.claude/wc3_ask.sh
cp scripts/wc3_complete.sh ~/.claude/wc3_complete.sh
chmod +x ~/.claude/wc3_accept.sh ~/.claude/wc3_ask.sh ~/.claude/wc3_complete.sh
  1. Add hooks to ~/.claude/settings.json:
{
  "hooks": {
    "UserPromptSubmit": [
      {
        "type": "command",
        "command": "$HOME/.claude/wc3_accept.sh"
      }
    ],
    "Notification": [
      {
        "type": "command",
        "command": "$HOME/.claude/wc3_ask.sh"
      }
    ],
    "Stop": [
      {
        "type": "command",
        "command": "$HOME/.claude/wc3_complete.sh"
      }
    ]
  }
}

If you already have hooks in your settings, merge these entries into your existing `UserPromptSubmit`, `Notification`, and `Stop` arrays.

How It Wor