RedAlert2 Claude banner
op7418 op7418

RedAlert2 Claude

Development community

Description

给 Claude 换上各种经典的《红色警戒 2》单位音效!Give Claude a variety of iconic Red Alert 2 unit sounds!

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

🎮 Red Alert 2 Sound System for Claude Code

Add immersive Red Alert 2 sound effects to your Claude Code experience! Hear authentic game sounds when Claude completes tasks, starts sessions, and more.

🎵 Sound Effects

This system uses 5 carefully selected Red Alert 2 sounds:

Event Sound Description
Task Complete Mission Complete Red Alert 2 mission complete sound
Session Start GI "Yes, Sir!" American GI saying "是,长官!" when you start Claude
Prompt Submit Prism Tank Attack "Calculating Reflection Arcs!" - Prism Tank attack command
Context Compact Nuclear Warning EVA nuclear silo warning alert
Approval Needed Kirov Reporting "基洛夫报到" - Kirov airship when Claude needs your approval

📋 Prerequisites

  • macOS (uses afplay for audio playback)
  • fswatch for file monitoring
  • Claude Code CLI installed
  • zsh shell (default on macOS)

🚀 Installation

Quick Install (Recommended)

# 1. Install fswatch
brew install fswatch

# 2. Clone and run installer
git clone https://github.com/op7418/RedAlert2-Claude.git
cd RedAlert2-Claude
./install.sh

# 3. Reload your shell
source ~/.zshrc

Manual Installation

Click to expand manual installation steps
  1. **Install fswatch**

    brew install fswatch
  2. **Create directories**

    mkdir -p ~/.claude/sounds/{done,start,userpromptsubmit,precompact,approval}
  3. **Copy audio files**

    cp sounds/task-complete.wav ~/.claude/sounds/done/
    cp sounds/session-start.wav ~/.claude/sounds/start/
    cp sounds/vpriata.wav ~/.claude/sounds/userpromptsubmit/
    cp sounds/context-compact.wav ~/.claude/sounds/precompact/
    cp sounds/approval-needed.wav ~/.claude/sounds/approval/
  4. **Install the sound watcher script**

    cp ra2-claude-sounds.zsh ~/.ra2-claude-sou