Agent skill · software engineering · hkuds
cli-anything-slay-the-spire-ii
Command-line interface for Slay the Spire 2 - Control the real game through a local bridge mod HTTP API. Reads normalized game state and sends action commands for combat, navigation, rewards, and menu management.
Why this skill is useful
Adds a command-line interface with executable scripts for controlling Slay the Spire 2 through a local HTTP API, enabling new gameplay automation capabilities.
What it needs
Requires dotnet, python installed locally. About 3k tokens when loaded. Last updated 2026-08-03. 46,739 stars on the source repository.
What this skill does
cli-anything-slay-the-spire-ii A stateful command-line interface for controlling the real Slay the Spire 2 game through the local STS2Bridge 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: 1. Install the CLI 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: If the build script cannot auto-detect the game data directory, set STS2GAMEDATADIR explicitly: 3. Enable the mod and verify Launch Slay the Spire 2 via Steam, enable the STS2Bridge mod in the mod manager, then verify the connection: If this returns JSON, the CLI and bridge are connected. Prerequisites: Python 3.10+ Slay the Spire 2 (Steam) with STS2Bridge mod enabled .NET 9 SDK (only needed to build the bridge mod) Usage Basic Commands Command Groups State Inspection Command Description --------- ------------- state Normalized state with decision field raw-state Raw bridge JSON Main Menu Command Description --------- ------------- continue-game Continue a saved run start-game --character IRONCLAD --ascension 0 Start a new run abandon-game Abandon the current save return-to-main-menu Return to menu from any screen Characters: IRONCLAD, SILENT, DEFECT, NECROBINDER, REGENT Combat Command Description --------- ------------- play-card <index> [--target <enemyid>] Play a card from hand use-potion <slot> [--target <enemyid>] Use a potion end-turn End the current turn Map & Room Flow Command Description --------- ------------- choose-map <index> Select a map node proceed Leave the current room Rewards Command Description --------- ------------- claim-reward <index> Claim a combat reward pick-card-reward <index> Pick a card reward skip-card-reward Skip the card re …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills hkuds/cli-anything-slay-the-spire-ii