cs-radio

Reviewed at commit 7fc8130

Counter-Strike 1.6 radio calls on Claude Code events, from "Fire in the hole" when a deploy starts to "Bomb has been defused" when a long turn lands, played…

Made by
Ben Rogerson
What we checked

Plays Counter-Strike style radio calls at session start, on deploy commands, after long turns and for errors and interruptions. It reads sound files from your own Counter-Strike 1.6 install if found, else bundled soundalikes or spoken text. On Linux and Windows it now starts the system audio player (paplay, pw-play, aplay or PowerShell) to play them. It sends nothing anywhere and stores only whether it is on.

Review details

Static review of the source at the pinned commit; not run. Delta review of the changes since 69c39ea; the rest carries over from the review at that commit. Registers session.start (finds the sound folder, detects the audio player, registers /radio, plays a call), command.run /radio (on, off, test; toggles the stored enabled flag), turn.complete (plays by reason: aborted, error, or an answer longer than the configured seconds), tool.call for Bash and process.spawn (both match the command against a deploy regex such as npm run deploy, wrangler deploy, vercel deploy, fly deploy, scripts/deploy.sh, play a call before, and another after depending on success; the command is passed through unchanged and not stored or sent). Uses $.env.get for HOME, USERPROFILE and OS, $.fs.exists and $.fs.read to load ctwin.wav and other wav files from the configured soundDir or the usual Steam folders (a Windows Steam path was added), then $.audio.play (macOS) or $.audio.speak. New in this version: $.process.run runs 'uname -s', 'sh -c command -v <bin>' for the fixed names paplay, pw-play and aplay, and plays a clip with the found player (paplay, pw-play or aplay on the file, or on Windows powershell -NoProfile -NonInteractive -Command with a Media.SoundPlayer on the file path, single quotes doubled), 15 s timeout, a failure falls back to speech. The file path comes from the user's soundDir option or the plugin's own sounds folder, never from prompts or tool output. No fetch, no model calls, no eval. scripts/make-sounds.py is a developer script (kokoro-onnx, ffmpeg) that regenerates the bundled sounds; the plugin never runs it and it was only read.

What it uses
  • Reads your prompts: no
  • Sees tool calls: yes
  • Blocks or changes tool calls: no
  • Reads or writes files: yes
  • Runs programs on your machine: yes
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: yes
  • Shows something on screen: no
Hooked events

Counter-Strike 1.6 radio calls for Claude Code: 'Fire in the hole' on deploys, 'Bomb has been defused' when a long turn lands. /radio to toggle.

Made this mod? Add a badge to your README

modsforClaude badge for cs-radio

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/cs-radio.svg)](https://modsforclaude.com/mods/cs-radio/)

← All mods