Skip to content

Latest commit

Β 

History

63 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

agent-sounds

Sound feedback plugin for Claude Code and Codex. Plays Warcraft-style voice lines on session events.

Install

Claude Code

claude plugin marketplace add lodev09/agent-plugins
claude plugin install sounds@lodev09

Codex

codex plugin marketplace add lodev09/agent-plugins
codex plugin add sounds@lodev09

Review and trust the plugin hooks in Codex. Then start a new session.

The shared hooks use PLUGIN_ROOT, with CLAUDE_PLUGIN_ROOT as a fallback for Claude Code. See the Codex hooks documentation.

CLI

For CLI access, also install via npm:

npm install -g @lodev09/agent-sounds

Hook Events

Event Sound Description Support
SessionStart ready Session greeting Claude Code, Codex
UserPromptSubmit work Prompt acknowledgment Claude Code, Codex
SubagentStart work Subagent start Claude Code, Codex
EnterPlanMode work Plan mode entry Claude Code
ExitPlanMode done Plan mode exit Claude Code
PermissionRequest ask Permission request Claude Code, Codex
Stop done Task completion Claude Code, Codex

Each event plays a random sound from enabled sources, mapped via source.json.

Available Sources

  • peon β€” Warcraft Orc Peon
  • peasant β€” Warcraft Human Peasant
  • bastion β€” Dota 2 Bastion Announcer Pack
  • ra2 β€” Command & Conquer: Red Alert 2

Usage

Use /sounds inside Claude Code or $sounds inside Codex.

For terminal access, use agent-sounds after the npm install.

Config is shared across Claude Code, Codex, and the CLI at ~/.config/agent-sounds/config.json (respects XDG_CONFIG_HOME). Disabling a source in one applies everywhere.

agent-sounds                          # Interactive source select
agent-sounds sounds [source]          # List sources or show sounds for a source
agent-sounds enable <source|all>
agent-sounds disable <source|all>
agent-sounds on                       # Turn sounds on
agent-sounds off                      # Turn sounds off
agent-sounds play <event>             # Play a sound (ready, work, done, ask)
agent-sounds volume [0-1]             # Get or set volume
agent-sounds status                   # Show install info
agent-sounds update                   # Update Claude Code and Codex plugins

Customization

Create a new folder under sounds/ with a source.json mapping events to audio files:

sounds/my-source/
β”œβ”€β”€ source.json
β”œβ”€β”€ hello.mp3
└── done.wav
{
  "ready": ["hello.mp3"],
  "work": ["hello.mp3"],
  "done": ["done.wav"],
  "ask": ["hello.mp3"]
}

Requirements

  • python3
  • Audio player (auto-detected):
    • macOS β€” afplay (built-in)
    • Linux β€” pw-play, paplay, or ffplay
    • Windows β€” ffplay or PowerShell (built-in)

Credits

All audio assets are property of their respective owners and included here for personal, non-commercial use.

License

MIT

About

Simple sound effects for Codex and Claude Code πŸ”ˆ

Topics

Resources

Stars

21 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages