Shop purchase decision framework for Slay the Spire 2 — card removal priority, infinite component acquisition, gold budget management
Use this skill when the Deck-Building Agent enters a SHOP screen.
Data source: All card tiers, relic evaluation, gold efficiency thresholds, and card removal priority are defined in docs/deck-building-framework.md. Read it before making purchase decisions.
For infinite builds, card removal is the #1 shop priority. Every card removed brings the deck closer to loop activation. Removal > buying cards > buying relics.
shop.cards[], shop.relics[], shop.potions[], shop.card_removal, shop.player_goldrun-state.md for infinite readiness, missing categories, deck size, basics removeddocs/deck-building-framework.md for evaluation data./sts2 proceed to leaveFrom run-state.md and game state, determine:
If shop.card_removal exists and is_used is false:
When shop_remove_card opens GRID_CARD_SELECT:
./sts2 grid_select_card <card_id> to remove./sts2 grid_select_skip to cancel (only if no valid target)For each shop.cards[] item where is_stocked is true:
Buy conditions:
For each shop.relics[] item where is_stocked is true:
Important: Card removal is higher priority than relics. Don't skip removal to buy a relic.
For each shop.potions[] item where is_stocked is true:
Execute purchases in this order (highest value first):
1. Card removal (ALWAYS buy if available and valid target exists)
2. S-tier infinite card (any price)
3. Energy relic / Unceasing Top / Runic Pyramid (≤ 300g)
4. A-tier card that fills missing category (≤ 150g)
5. Infinite-synergy relic (≤ 200g)
6. A-tier card (general fit) (≤ 120g)
7. Useful potion (≤ 75g, boss/elite soon)
8. B-tier card for critical gap (≤ 80g)
9. Skip remaining items
After each purchase, re-check remaining gold before next purchase.
| Act | Reserve | Strategy |
|---|---|---|
| Act 1 | Keep ≥ 75g | Card removal is priority. Buy 1 core infinite piece max. |
| Act 2 | Keep ≥ 100g | Card removal + engine completion. This is the critical shopping act. |
| Act 3+ | Spend freely | Deck should be complete. Remove remaining filler. |
./sts2 shop_buy_card <card_id> # Buy a card
./sts2 shop_buy_relic <relic_id> # Buy a relic
./sts2 shop_buy_potion <potion_id> # Buy a potion
./sts2 shop_remove_card # Buy card removal → GRID_CARD_SELECT
./sts2 proceed # Leave shop
[SHOP: Gold 187, Building infinite (16 cards, 2 Defends left). Card removal (75g) — removing Defend.]
> ./sts2 shop_remove_card
> ./sts2 grid_select_card DEFEND
[SHOP: Gold 112. Dark Embrace (95g) fills missing Draw engine — buying.]
> ./sts2 shop_buy_card DARK_EMBRACE
[SHOP: Gold 17. Remaining items too expensive. Leaving.]
> ./sts2 proceed
| Situation | Load Skill |
|---|---|
| Update run state after purchase | run-state-management |
| Card evaluation data | Read docs/deck-building-framework.md |
| Detailed infinite strategy | Read docs/builds.md |
| Unfamiliar card/relic effects | Read docs/cards.md or docs/relics.md |