recover-live-state

recover-live-state is a skill for Claude Code, Codex from ttxttx1111/sts2-llm. It costs 27 tokens per session (267 once invoked), scanned A, original, MIT.

A procedure for recovering the real state of an active Slay the Spire 2 game run from files in a repository. It checks the latest recorded game and runtime evidence instead of relying on chat history.

In plain words
What is it for?
Use it to find the current scene and floor, identify the latest obstacle, determine whether the run truly restarted, and choose the next useful action.
Why use it?
It prevents acting on outdated summaries or mistaking a restarted helper process for a restarted game.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to find the current scene and floor, identify the latest obstacle, determine whether the run truly restarted, and choose the next useful action.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ttxttx1111/sts2-llm/recover-live-state
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ttxttx1111/sts2-llm --skill recover-live-state
Clone the repo
git clone --depth 1 https://github.com/ttxttx1111/sts2-llm

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 recover-live-state

README.md
[![agentmods](https://agentmods.dev/badge/skills/ttxttx1111/sts2-llm/recover-live-state/github.svg)](https://agentmods.dev/skills/ttxttx1111/sts2-llm/recover-live-state)
Your own site
<a href="https://agentmods.dev/skills/ttxttx1111/sts2-llm/recover-live-state"><img src="https://agentmods.dev/badge/skills/ttxttx1111/sts2-llm/recover-live-state/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 recover-live-state

Your own site · 80×15
<a href="https://agentmods.dev/skills/ttxttx1111/sts2-llm/recover-live-state"><img src="https://agentmods.dev/badge/skills/ttxttx1111/sts2-llm/recover-live-state.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 267 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.
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.00027 $0.00267
Opus 5 $0.00014 $0.00133
Sonnet 5 $0.00005 $0.00053
Haiku 4.5 $0.00003 $0.00027

Measured 12d ago against content hash 48fc06151ed2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

recover-live-state 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 12d 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.

deprecated/3/ai-play-slts2-2/.github/skills/recover-live-state/SKILL.md · 35 lines

What it actually says

恢复当前 live run

适用场景:先判断当前真实 live 状态,再决定下一步动作。

阅读顺序

  1. AGENTS.md
  2. README.md
  3. STARTUP.md
  4. data\python-runtime\runtime-status.json
  5. data\python-runtime\runs\ 下最新 run
  6. data\live\latest-standalone-player-step.json
  7. data\live\standalone-player-step-history.jsonl
  8. data\python-runtime\knowledge\lessons.json
  9. data\python-runtime\knowledge\playbook.json

输出

  • 当前 live scene
  • 当前 floor
  • 最近的真实阻塞点
  • 是游戏重开了还是只是 standalone loop 重启了
  • 下一步最有价值的动作

约束

  • 优先相信最新 live 证据,而不是旧 summary。
  • 不要只看 step counter 就判断重开。
  • 如果 continue_run 健康可用,优先把它视为恢复路径。
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. 12d ago First seen · 35 lines · 27 tokens per session scan A 48fc06151ed2

Subscribe to this mod's changes

recover-live-state is a skill published in the GitHub repository ttxttx1111/sts2-llm (41 stars, last pushed 1mo ago), licensed MIT. It adds 27 tokens to every session and 267 once invoked, about $0.0001 per session on Opus 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-08-30.

Related

Other skills, from other repositories

microsoft-build

Your companion for Microsoft Build 2026. Helps you find sessions relevant to your project, discover what's new for your tech stack, scaffold projects from sessions, and plan your event schedule. Activate when users mention sessions, schedule, what's new, Build, Ignite, AI Tour, Microsoft event, conference, or…

microsoft/Build-CLI · 109 tokens

speckit-init

Scaffold a Spec Kit (spec-driven development) project for GitHub Copilot by running specify init --integration copilot --integration-options="--skills". USE FOR: starting a new spec-kit project, bootstrapping spec-driven development in an existing repo, installing spec-kit templates/scripts/commands for Copilot. DO…

github/spec-kit-copilot · 113 tokens

speckit-bundle

Discover, install, and author Spec Kit bundles via specify bundle. USE FOR: searching/showing/listing bundles, installing/updating/removing a bundle (a curated set of extensions/presets/integrations/workflows), validating a bundle manifest, building a distributable bundle artifact, initializing a project and…

github/spec-kit-copilot · 99 tokens

speckit-extension

Manage Spec Kit extensions via specify extension. USE FOR: installing/removing/updating spec-kit extensions, searching the extension catalog, showing extension info, enabling/disabling extensions, setting extension resolution priority, managing extension catalogs. DO NOT USE FOR: presets (use speckit-preset), bundles…

github/spec-kit-copilot · 83 tokens

speckit-preset

Manage Spec Kit presets via specify preset. USE FOR: installing/removing presets, searching the preset catalog, showing preset info, resolving which template a preset name maps to, enabling/disabling presets, setting preset resolution priority, managing preset catalogs. DO NOT USE FOR: extensions (use…

github/spec-kit-copilot · 88 tokens

speckit-workflow

Manage and run Spec Kit automation workflows via specify workflow. USE FOR: running a workflow by ID or local YAML, resuming a paused/failed run, checking run status, listing/installing/removing workflows, searching the workflow catalog, showing a workflow step graph. DO NOT USE FOR: extensions (use…

github/spec-kit-copilot · 93 tokens