galactic-battle

Reviewed at commit 315451e

A space battle above the prompt while a turn runs: each tool that works is a rebel shot, each failure an Empire shot, each subagent one more fighter, with a…

Made by
Dark Velours
What we checked

Draws an animated space battle above the prompt in the terminal while Claude works; each successful tool call is a rebel shot and each failed one an imperial shot, with a lightsaber gauge for context and 5-hour quota. It plays a blaster sound and, if you turn it on and supply an mp3, looping music during a turn, using your system's audio player. Shows tool names only unless you choose full details.

Review details

Static review of the source at the pinned commit; not run. Registers session.start, turn.start, turn.complete, session.end, tool.call (passive: always passes the call and result through, even on failure it rethrows), ui.message, ui.render (Spinner and AbovePrompt) and the /battle command. Runtime calls: $.session.usage (polled every 800 ms while a turn runs), $.env.get (LANG, LC_ALL, HOME), $.fs.stat (checks that sound files exist), $.store (on/sound/music flags), $.config.set (only its own language and details options), $.audio.play, and $.process.run with fixed sh scripts that play a clip with paplay, afplay or ffplay and, for music, start ffplay or an afplay loop detached with nohup and a 30 minute cap, then stop that pid at turn end, interrupt, /battle music off or session end (the stop script checks the process name before killing). The music path and volume are passed as positional arguments, not interpolated into the script. In the default tool mode only tool names are shown; in full mode file names, short commands, search patterns and URL hosts appear on screen. No network calls. Changes since the previous review are README and a screenshot only. npm dependencies: none; the bundled sounds/blaster.wav was not inspected.

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: yes
Hooked events
Screenshot of galactic-battle

Draws an animated space battle above the prompt while Claude works, driven by what Claude does (tool results, helpers), with a double-bladed lightsaber gauge for context and quota, blaster sounds and optional music.

Made this mod? Add a badge to your README

modsforClaude badge for galactic-battle

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/galactic-battle.svg)](https://modsforclaude.com/mods/galactic-battle/)

← All mods