ben-rogerson/claude-counter-strike
cs-radio
Claude Code 用の Counter-Strike 1.6 無線音声。デプロイで "Fire in the hole"、長いターンの完了で "Bomb has been defused"。/radio で切り替え。
この mod について
Claude Counter-Strike
Claude Code 用の Counter-Strike 1.6 無線音声です。
| タイミング | 流れる音声 | | --- | --- | | セッション開始 | "Locked and loaded" | | 長いターンが完了(45 秒以上) | "Bomb has been defused" | | ターンでエラー | "Negative" | | ターンを中断 | "Fall back" | | デプロイ開始 | "Fire in the hole" | | デプロイ成功 | "Counter-Terrorists win" | | デプロイ失敗 | "Terrorists win" |
Claude が実行するコマンドがデプロイらしい形なら対象です:pnpm/npm/yarn/bun run deploy、wrangler deploy、vercel --prod、fly deploy、scripts/deploy.sh。
インストール
Claude Code 内で:
/plugin marketplace add ben-rogerson/claude-counter-strike
/plugin install cs-radio@cs-radio
またはターミナルから:
claude plugin marketplace add ben-rogerson/claude-counter-strike
claude plugin install cs-radio@cs-radio
関数フック型プラグイン(mods)は Claude Code の早期アクセス機能なので、新しいビルドが必要です。
音声
Claude Counter-Strike は次の順番で音声を探します:
-
Valve のオリジナル:自分の Counter-Strike 1.6 インストールから取得します(この repo には含まれません)。一般的な Steam フォルダーを確認します:
- macOS:
~/Library/Application Support/Steam/steamapps/common/Half-Life/cstrike/sound/radio - Linux:
~/.steam/steam/...または~/.local/share/Steam/...(steamapps以降は同じパス)
別の場所にある場合、
/configの CS 1.6 radio folder にcstrike/sound/radioフォルダーを設定してください。 - macOS:
-
同梱の類似音声:
sounds/にあり、インストールが見つからない場合に使います。この repo 用に Kokoro(Apache-2.0)の音声合成と無線フィルターで作成したため、自由に再配布できます。uv run scripts/make-sounds.pyで再生成できます(スクリプトの冒頭を参照)。 -
システムの音声:クリップを再生できない場合に使います。
クリップ再生は afplay を使うため、現在 wav を再生できるのは macOS のみです。
コマンド
/radio:オン/オフ切り替え(セッション間で記憶)/radio on//radio off/radio test:"Counter-Terrorists win" を再生し、音声の取得元を知らせます
オプション(/config)
- CS 1.6 radio folder:
cstrike/sound/radioのパス - Long turn (seconds):"Bomb has been defused" を流すターンの実行時間のしきい値。デフォルトは 45。
開発
claude --plugin-dir . # load it from this checkout
claude plugin validate .
claude plugin test .
ライセンス
コードと同梱の類似音声は MIT。Counter-Strike とそのオリジナル音声は Valve のものです。
インストール
まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。
claude plugin marketplace add ben-rogerson/claude-counter-strike claude plugin install cs-radio@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:
-
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 fromsteamappson)
If yours is somewhere else, set CS 1.6 radio folder in
/configto thecstrike/sound/radiofolder. - macOS:
-
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 withuv run scripts/make-sounds.py(see the script header). -
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 やサイトに貼ると、このページにリンクします。
