/skills:game-balance-mathfrom skills
Use when tuning game numbers — cost curves for units or upgrades, counter tables and payoff matrices, dominant or useless strategies, economy sources and sinks, inflation and infinite-money loops, snowballing, catch-up mechanics, kingmaking.
Ships in skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Numbers are balanced inside a system you can draw. Draw it first, then compute.
Measured inputs such as weights, win rates and earn rates come from the sim
(simulation-balancing), not from the designer's intuition.
Nodes are sources (mining, production, rewards), sinks (consumption, upkeep, decay, losses), converters (recipes, refining, trade at a price), pools (stocks per actor) and transfers (between actors). Edges carry rates per tick per actor.
stock(t+1) = stock(t) + sources − sinks ± transfers, booked per cause. A sim that cannot print this balance has bugs you
cannot see. A non-zero residual is a bug, not rounding.−log(rate) and search for a negative cycle (Bellman-Ford). It is cheap; run it on
every config change. Fixed NPC buy/sell prices need a spread, or they form such a
cycle by themselves.For each loop, ask whether having more X raises the rate of gaining X.
simulation-balancing §3).Use them where stronger is supposed to cost more: units, ships, buildings, upgrades.
value = Σ weightᵢ · attributeᵢ. Estimate the weights from the sim (the
marginal win contribution of +1 of an attribute), not by feel.| Ship | Cost | Attack | Hull | Speed | Value (w = 2/1/3) | Δ vs fit (value ≈ cost) |
|---|---|---|---|---|---|---|
| Corvette | 40 | 4 | 9 | 8 | 41 | +3 % |
| Frigate | 90 | 10 | 32 | 6 | 70 | −22 % ← |
| Cruiser | 160 | 30 | 86 | 4 | 158 | −1 % |
Value is not additive in combat. Under aimed fire (Lanchester's square law), fighting strength ∝ quality · N². At equal cost, two ships of half quality beat one ship of double quality: 2² · 1 = 4 against 1² · 2 = 2. Check cost curves in simulated fights between equal-cost fleets, not by summing stats.
Build the payoff matrix from the league's measured win rates, not from guesses.
nashpy or OpenSpiel; a 3×3 by hand). A healthy counter system gives every
option non-zero weight in the equilibrium. Row sums only show performance
against uniform play, which nobody plays.simulation-balancing §3).Change one value per run, in steps of 10–20 %, and re-run the same seeds.
Sources: Schreiber & Romero, Game Balance (2021), for cost curves and the transitive/intransitive split; Sirlin, Playing to Win, for remedying dominant strategies; Lanchester (1916); EVE Online's quarterly economic reports for faucet/sink practice.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (getty/skills) — no native marketplace selected
npx claudepluginhub p/getty-skills129 skills in this plugin
/ai-playable-gamesUse when building a game or simulation that bots or LLM agents must play — observation and order interface, agent API or MCP server, AI seats beside humans, fog of war, replays; or when an AI player cheats, stalls, misreads the state or follows text other players wrote./ai-web-scrapingUse when scraping, crawling or extracting structured data from websites, especially with an LLM — Crawl4AI, Firecrawl, Scrapy, Crawlee, Playwright, browser-use; building a dataset or RAG corpus, watching pages for changes, or a scraper that returns empty, duplicated or invented records./cedar-engineeringUse when writing, validating or debugging Cedar authorization policies — .cedar and .cedarschema files, permit/forbid, entities and hierarchies, RBAC/ABAC/ReBAC, templates, multi-tenant access, partial evaluation, Amazon Verified Permissions, migrating to or from Cedar.Other plugins' skills for the same job