ClaudeModsClaude Code 模组目录
☰
● 0 人在线 · 浏览 0 次
+ 提交作品
← 返回作品集
GitHub 仓库 · 通知与提醒

cs-radio

回报这个作品这是你的作品?认领

Claude 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.

bben-rogerson@ben-rogerson
尚未翻译

关于这个 mod

Claude Counter-Strike

Counter-Strike 1.6 radio calls for Claude Code.

| When | You hear | | --- | --- | | Session starts | "Locked and loaded" | | A long turn finishes (45s+) | "Bomb has been defused" | | A turn errors | "Negative" | | You interrupt a turn | "Fall back" | | A deploy starts | "Fire in the hole" | | The deploy succeeds | "Counter-Terrorists win" | | The deploy fails | "Terrorists win" |

A deploy is any command Claude runs that looks like one: pnpm/npm/yarn/bun run deploy, wrangler deploy, vercel --prod, fly deploy, scripts/deploy.sh.

Install

In Claude Code:

/plugin marketplace add ben-rogerson/claude-counter-strike
/plugin install cs-radio@cs-radio

Or from your terminal:

claude plugin marketplace add ben-rogerson/claude-counter-strike
claude plugin install cs-radio@cs-radio

Function-hook plugins (mods) are early access in Claude Code, so you need a recent build.

Sounds

Claude Counter-Strike looks for sounds in this order:

  1. Valve's originals from your own Counter-Strike 1.6 install (they're not in this repo). It checks the usual Steam folders:

    • macOS: ~/Library/Application Support/Steam/steamapps/common/Half-Life/cstrike/sound/radio
    • Linux: ~/.steam/steam/... or ~/.local/share/Steam/... (same path from steamapps on)

    If yours is somewhere else, set CS 1.6 radio folder in /config to the cstrike/sound/radio folder.

  2. Bundled soundalikes in sounds/, used when no install is found. They were made for this repo with Kokoro (Apache-2.0) text-to-speech plus a radio filter, so they're free to redistribute. Regenerate them with uv run scripts/make-sounds.py (see the script header).

  3. Your system voice, if a clip can't play.

Clip playback uses afplay, so wavs only play on macOS for now.

Commands

  • /radio - toggle on/off (remembered across sessions)
  • /radio on / /radio off
  • /radio test - plays "Counter-Terrorists win" and tells you where the sounds come from

Options (/config)

  • CS 1.6 radio folder - path to cstrike/sound/radio
  • Long turn (seconds) - how long a turn runs before "Bomb has been defused" plays. Default 45.

Develop

claude --plugin-dir .          # load it from this checkout
claude plugin validate .
claude plugin test .

License

MIT for the code and the bundled soundalikes. Counter-Strike and its original sounds are Valve's.

安装

请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。

claude plugin marketplace add ben-rogerson/claude-counter-strike
claude plugin install cs-radio
原文 / README

Claude Counter-Strike

Counter-Strike 1.6 radio calls for Claude Code.

| When | You hear | | --- | --- | | Session starts | "Locked and loaded" | | A long turn finishes (45s+) | "Bomb has been defused" | | A turn errors | "Negative" | | You interrupt a turn | "Fall back" | | A deploy starts | "Fire in the hole" | | The deploy succeeds | "Counter-Terrorists win" | | The deploy fails | "Terrorists win" |

A deploy is any command Claude runs that looks like one: pnpm/npm/yarn/bun run deploy, wrangler deploy, vercel --prod, fly deploy, scripts/deploy.sh.

Install

In Claude Code:

/plugin marketplace add ben-rogerson/claude-counter-strike
/plugin install cs-radio@cs-radio

Or from your terminal:

claude plugin marketplace add ben-rogerson/claude-counter-strike
claude plugin install cs-radio@cs-radio

Function-hook plugins (mods) are early access in Claude Code, so you need a recent build.

Sounds

Claude Counter-Strike looks for sounds in this order:

  1. Valve's originals from your own Counter-Strike 1.6 install (they're not in this repo). It checks the usual Steam folders:

    • macOS: ~/Library/Application Support/Steam/steamapps/common/Half-Life/cstrike/sound/radio
    • Linux: ~/.steam/steam/... or ~/.local/share/Steam/... (same path from steamapps on)

    If yours is somewhere else, set CS 1.6 radio folder in /config to the cstrike/sound/radio folder.

  2. Bundled soundalikes in sounds/, used when no install is found. They were made for this repo with Kokoro (Apache-2.0) text-to-speech plus a radio filter, so they're free to redistribute. Regenerate them with uv run scripts/make-sounds.py (see the script header).

  3. Your system voice, if a clip can't play.

Clip playback uses afplay, so wavs only play on macOS for now.

Commands

  • /radio - toggle on/off (remembered across sessions)
  • /radio on / /radio off
  • /radio test - plays "Counter-Terrorists win" and tells you where the sounds come from

Options (/config)

  • CS 1.6 radio folder - path to cstrike/sound/radio
  • Long turn (seconds) - how long a turn runs before "Bomb has been defused" plays. Default 45.

Develop

claude --plugin-dir .          # load it from this checkout
claude plugin validate .
claude plugin test .

License

MIT for the code and the bundled soundalikes. Counter-Strike and its original sounds are Valve's.

查看原始来源 ↗

更多类似作品