DEV Community

Atlas Whoff
Atlas Whoff

Posted on

Gamify Your Claude Code Workflow (Warcraft Notifications and Beyond)

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"
          }
        ]
      }
    ]
  }
}
Enter fullscreen mode Exit fullscreen mode

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" }]
      }
    ]
  }
}
Enter fullscreen mode Exit fullscreen mode

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"'
Enter fullscreen mode Exit fullscreen mode

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"
}
Enter fullscreen mode Exit fullscreen mode

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

  1. Task complete: Peon "Job's done"
  2. Error detected: Warcraft error chime
  3. Long task started: Terran deployment sound
  4. Test pass: Short positive tone
  5. 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)