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나 웹사이트에 넣으면 이 페이지로 연결됩니다.
