cli-anything-slay-the-spire-ii

cli-anything-slay-the-spire-ii is a skill for Claude Code, Codex from HKUDS/CLI-Anything. It costs 54 tokens per session (1,499 once invoked), scanned A, original, Apache-2.0.

A command-line interface that controls the game Slay the Spire 2 through a local bridge mod. It reads the game's current state and sends actions through a local web connection.

In plain words
What is it for?
Use it to inspect combat, navigation, rewards, and menus, then send corresponding game actions through the installed bridge.
Why use it?
It allows an agent or script to interact with the running game programmatically rather than relying on mouse and keyboard input.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is cd ../install.

Good fit Use it to inspect combat, navigation, rewards, and menus, then send corresponding game actions through the installed bridge.

Compare 6 skills from other repositories ↓
About the project

CLI-Anything turns software and services into command-line interfaces that AI agents can use to perform tasks and produce artifacts. It is intended for people building or using agent workflows with tools such as coding assistants, design software, and other applications. The catalogue entries are skills, commands, a plugin, and a rule for working with CLI-Anything.

HKUDS/CLI-Anything · 68,193 stars · on GitHub · clianything.cc

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/HKUDS/CLI-Anything
agentmods
npx agentmods add skills/hkuds/cli-anything/cli-anything-slay-the-spire-ii

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cli-anything-slay-the-spire-ii

README.md
[![agentmods](https://agentmods.dev/badge/skills/hkuds/cli-anything/cli-anything-slay-the-spire-ii/github.svg)](https://agentmods.dev/skills/hkuds/cli-anything/cli-anything-slay-the-spire-ii)
Your own site
<a href="https://agentmods.dev/skills/hkuds/cli-anything/cli-anything-slay-the-spire-ii"><img src="https://agentmods.dev/badge/skills/hkuds/cli-anything/cli-anything-slay-the-spire-ii/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cli-anything-slay-the-spire-ii

Your own site · 80×15
<a href="https://agentmods.dev/skills/hkuds/cli-anything/cli-anything-slay-the-spire-ii"><img src="https://agentmods.dev/badge/skills/hkuds/cli-anything/cli-anything-slay-the-spire-ii.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,499 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 15 Sept 2026
  • Snyk pass 15 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.01499
Opus 5.5 $0.00022 $0.00600
Sonnet 5.5 $0.00011 $0.00300
Haiku 4.5 $0.00005 $0.00150

Measured 2mo ago against content hash 96c0dbb6b34d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cli-anything-slay-the-spire-ii scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/cli-anything-slay-the-spire-ii/SKILL.md · 191 lines

How it starts

The opening of the file, as written. The whole thing — 191 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Launch Slay the Spire 2 via Steam, enable the STS2_Bridge mod in the mod manager, then verify the connection:

cli-anything-sts2 state

If this returns JSON, the CLI and bridge are connected.

Prerequisites:

  • Python 3.10+
  • Slay the Spire 2 (Steam) with STS2_Bridge mod enabled
  • .NET 9 SDK (only needed to build the bridge mod)

Usage

Basic Commands

# Read normalized game state (always start here)
cli-anything-sts2 state

# Start interactive REPL mode (default)
cli-anything-sts2

# Show all available commands
cli-anything-sts2 --help

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

Read the full file on GitHub · 191 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 191 lines · 54 tokens per session scan A 96c0dbb6b34d

Subscribe to this mod's changes

cli-anything-slay-the-spire-ii is a skill published in the GitHub repository HKUDS/CLI-Anything (68,193 stars, last pushed 10d ago), licensed Apache-2.0. It adds 54 tokens to every session and 1,499 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-23.

Related

cli-anything-slay-the-spire-ii compared with skills from other repositories

cli-anything-slay-the-spire-ii next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cli-anything-slay-the-spire-iiHKUDS/CLI-AnythingSkill68k10d agoApache-2.0A54Claude Code, Codex
playtest-reportDonchitos/Claude-Code-Game-StudiosSkill41k20d agoMITA20Claude Code
godot-signals-groupsgamedev-skills/awesome-gamedev-agent-skillsSkill12k18d agoApache-2.0A93Claude Code
texture-workflowarjun988/blender-skillsSkill5.4k24d agoMITA41Claude Code
scenario-unreal-gameplayscenario-labs/skillsSkill4.3ktodayMITA121Claude Code
threejs-exposure-color-gradingscottstts/Threejs-Awesome-Graphics-Agent-SkillsSkill1.1k3d agoMITA91Codex
motionOpenDCAI/GameFactory-3ASkill1.4k6d agoApache-2.0A0Claude Code, Codex