
Game balance and bots
Headless seeded bot sims that measure and tune difficulty in React Native games
Game balance and bots is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- JavaScript, TypeScript
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 16
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Game balance and bots
This skill sets up a harness that plays a game thousands of times without a UI, using seeded bots that drive only the pure engine functions. The sims report the difficulty curve, whether player skill makes a measurable difference, how soon the first payoff arrives and whether a designated twist event happens, all compared against a bands file that records what balanced means for the game.
Each game gets a single tuning file holding every balance number, read through a per-difficulty lookup on a 0 to 100 scale. Three standard players (random, a reasonable player and a lookahead bound) are compared, and a checker script verifies determinism, hard move caps, the sim fingerprint and band contracts. Reports are fingerprinted against the code they measured, so stale numbers are flagged after rule changes.
It expects a React Native project in TypeScript with Jest, a pure game engine contract (create, listMoves, applyMove, outcome) and a seeded random number generator. Real-time games are covered through fixed-tick simulations rather than display frames.
When your agent uses it
Tunes game difficulty with seeded headless bots: sim reports, balance bands, tuning knobs, a fun-in-seconds test. Use when balancing, tuning pacing or adding bots or sims. Not for solvers or par (level-generation-and-solvers).
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs JavaScript and TypeScript scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 66 files (464 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the react-native-games plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add zakariaf/ReactNative-Skills
/plugin install react-native-games@react-native-skillsOr copy only this skill to ~/.claude/skills/game-balance-and-bots:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/game-balance-and-bots &&
cp -R "$tmp/skills/game-balance-and-bots" ~/.claude/skills/game-balance-and-bots &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/game-balance-and-bots inside it instead.
Copy the skill folder to ~/.agents/skills/game-balance-and-bots to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/game-balance-and-bots &&
cp -R "$tmp/skills/game-balance-and-bots" ~/.agents/skills/game-balance-and-bots &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/game-balance-and-bots inside it instead.
Copy the skill folder to ~/.cursor/skills/game-balance-and-bots to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/game-balance-and-bots &&
cp -R "$tmp/skills/game-balance-and-bots" ~/.cursor/skills/game-balance-and-bots &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/game-balance-and-bots inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/zakariaf/ReactNative-Skills.git --path skills/game-balance-and-botsOr copy the folder to ~/.gemini/skills/game-balance-and-bots yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/game-balance-and-bots:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/game-balance-and-bots &&
cp -R "$tmp/skills/game-balance-and-bots" ~/.copilot/skills/game-balance-and-bots &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/game-balance-and-bots inside it instead.
Get the folder:
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.gitThen copy ReactNative-Skills/skills/game-balance-and-bots into your agent's skills folder as game-balance-and-bots. Agents that support SKILL.md read one folder per skill.
What it does
- Seeded headless bot sims
- Bots play the pure engine contract in plain Node, producing identical reports on every rerun.
- Three-player skill comparison
- Random, reasonable and lookahead players confirm that skill changes the outcome.
- Balance bands contract
- A bands file records the accepted difficulty curve, skill gap and early payoff limits.
- Single tuning file
- All balance numbers sit in one documented file read through a difficulty lookup.
- Fun-in-seconds kill test
- Checks that the first payoff and twist arrive early enough on the easiest level.
- Fingerprinted reports
- Reports are tied to the code they measured so stale numbers are caught after changes.
Good for
- Measure how hard a puzzle game is at each difficulty level
- Add a reasonable bot that plays a dice game without peeking at rolls
- Tune the difficulty curve one knob at a time and compare reports
- Check that a real-time arena game reaches its first payoff quickly
- Write a balance bands file for a new game before release
Game balance and bots FAQ
What does Game balance and bots need before it can run?
It depends on the game kit from game-rules-engine (src/core/game and the sfc32 PRNG) and a Jest setup with a plain-Node sim config. The check script reports which harness files are missing.
Does Game balance and bots change the game itself?
It adds bot hooks, a tuning file, a sim test and a bands JSON per game, and it moves balance numbers out of the rules into the tuning file. It does not change the game's appearance or UI.
Do the sims run inside npm test?
No. They run through a separate npm run test:sim script using a plain-Node Jest config.
When does Game balance and bots trigger?
It is meant for balancing, tuning pacing, or adding bots and simulations. Solver and par work is covered by level-generation-and-solvers instead.
How do I install Game balance and bots in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/game-balance-and-bots to use it in all your projects, or to .claude/skills/game-balance-and-bots in one project. Or install the react-native-games plugin, which includes it: /plugin marketplace add zakariaf/ReactNative-Skills, then /plugin install react-native-games@react-native-skills.
Does Game balance and bots run scripts?
Yes. It runs JavaScript and TypeScript scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Game balance and bots?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Game balance and bots?
The closest alternatives to Game balance and bots are Game rules engine, Game session host, Game mechanics balancing, React native best practices and Design visual parity.
Where this comes from
- Description: from the skill's own SKILL.md.
More from zakariaf/ReactNative-Skills

Turns canvas taps, swipes and drags into typed intents hit-tested on the drawn layout
- Open source
- 16 GitHub stars
- Developer tools

Adds a gated debug menu, debug deep link and simulated clock and offline mode to React
- Open source
- 16 GitHub stars
- Developer tools

Checks React Native code for accessibility labels, touch targets, text scaling
- Open source
- 16 GitHub stars
- Developer tools

Sells a one-time Premium unlock through the App Store and Google Play
- Open source
- 16 GitHub stars
- Finance and payments

Walks an Expo app through an SDK, Xcode or Android toolchain upgrade in one commit
- Open source
- 16 GitHub stars
- Developer tools

Builds React Native forms with one valibot schema, catalog-key errors and keyboard-aware
- Open source
- 16 GitHub stars
- Developer tools



