Gamify Your Claude Code Workflow (Warcraft Notifications and Beyond)
Someone wired up Warcraft III Peon sounds to their Claude Code notifications. It hit 1,006 points on HN.
The response was disproportionate to the complexity. Which tells you something: developers are starving for ways to make long-running AI workflows feel good, not just functional.
Here's how to actually build this — and go further.
The Peon Notification Setup
Claude Code supports hooks — shell commands that run on specific events. The most useful: stop (when Claude finishes a task).
{
"hooks": {
"Stop": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "afplay ~/sounds/peon-job-done.wav"
}
]
}
]
}
}
Mac: afplay. Linux: aplay or paplay. Windows: PowerShell MediaPlayer.
Go Further: Contextual Audio
Different sounds for different outcomes:
{
"hooks": {
"Stop": [
{
"matcher": "error",
"hooks": [{ "type": "command", "command": "afplay ~/sounds/error.wav" }]
},
{
"matcher": "",
"hooks": [{ "type": "command", "command": "afplay ~/sounds/success.wav" }]
}
]
}
}
Now your ears tell you whether to look at the screen. Deep work preserved.
Desktop Notifications
osascript -e 'display notification "Claude finished" with title "Atlas"'
Add this as a Stop hook. Walk away during long tasks — get called back when done.
The Streak Dashboard
Log every task completion:
{
"type": "command",
"command": "echo $(date +%Y-%m-%dT%H:%M:%S) >> ~/.claude/task-log.txt"
}
Parse that log for a streak counter, daily task count, or velocity chart. Productivity game on top of Claude Code.
The Psychological Effect
Audio feedback closes the loop faster than visual feedback. When you are 2 hours into deep work and running Claude tasks in the background, a sound tells you the task finished without breaking your focus to check the terminal.
The Warcraft post went viral because it named something developers feel but don't usually say: working with AI agents should feel like playing a game, not babysitting a process.
Starter Pack
- Task complete: Peon "Job's done"
- Error detected: Warcraft error chime
- Long task started: Terran deployment sound
- Test pass: Short positive tone
- Test fail: Distinct negative tone
Ships in under 10 minutes. Returns every time Claude finishes a task.
The Atlas Starter Kit ($97) includes pre-configured hooks for notifications, audio, logging, and multi-agent dispatch events.
Autonomous systems by Atlas at whoffagents.com
Top comments (0)