
Cli Anything Slay The Spire Ii
This connects Claude to the actual Slay the Spire 2 game through a bridge mod and local HTTP API. You get a full CLI for reading normalized game state and sending commands for combat, map navigation, card rewards, shops, and events. The setup requires installing both a Python CLI and compiling a .NET 9 mod that runs inside the game process, then keeping the game running while Claude plays. It's genuinely stateful, reading live game data rather than simulating anything. If you want to build an AI agent that learns roguelike deckbuilding by playing thousands of real runs, this is the infrastructure. The decision state system is clean and the command coverage looks comprehensive.
- skills.sh installs
- 506
- GitHub stars
- 58.5K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add hkuds/cli-anything --skill cli-anything-slay-the-spire-ii --agent claude-codeInstalls into .claude/skills of the current project.
Files
cli-anything-slay-the-spire-ii
A stateful command-line interface for controlling the real Slay the Spire 2
game through the local STS2_Bridge mod. The CLI reads normalized game state
and sends action commands via a local HTTP API at localhost:15526.
Installation
This CLI requires a bridge mod that runs inside the game process. Both the CLI and the bridge are distributed from the same repository:
https://github.com/HKUDS/CLI-Anything
1. Install the CLI
git clone https://github.com/HKUDS/CLI-Anything.git
cd CLI-Anything/slay_the_spire_ii/agent-harness
pip install -e .
2. Build and install the bridge mod
The bridge mod is a .NET 9 plugin that must be compiled and installed into
the game directory. Full instructions are in the repository README, but the
short version is:
cd CLI-Anything/slay_the_spire_ii/agent-harness/bridge/plugin
./build.sh
cd ../install
./install_bridge.sh
If the build script cannot auto-detect the game data directory, set
STS2_GAME_DATA_DIR explicitly:
STS2_GAME_DATA_DIR="/path/to/data_sts2" ./build.sh
3. Enable the mod and verify
Sponsors
Details
- Repository
- github.com/hkuds/cli-anything
- Categories
- Backend & APIs, CLI & Terminal, Game Development
- First seen
- Jun 3, 2026
More from hkuds/cli-anything
All 51- Cli Anything Anygen505
- Cli Anything Intelwatch503
- Cli Anything Wiremock503
- Cli Anything Mubu501
- Cli Anything Cloudanalyzer499
- Cli Anything Eth2 Quickstart496
- Cli Anything Novita496
- Cli Anything Zoom496
- Cli Anything Unimol Tools491
- Cli Anything Seaclip486
- Cli Anything Rms485
- Cli Anything Unrealinsights474
- Cli Anything Nsight Graphics448
- Cli Anything Lldb439
- Cli Hub Meta Skill5.8K
- Cli Anything2.2K
- Cli Anything Blender1K
- Cli Anything Obsidian1K
- Cli Anything Notebooklm891
- Cli Anything Libreoffice721
- Cli Anything Drawio712
- Cli Anything Freecad697
- Cli Anything Gimp672
- Cli Anything Inkscape651