Auto balancer

From egorfedorov/Slot-Casino-Game-Developer-Skills-for-Stake-Engine · View interactive version

Auto balancer is an AI agent skill from the GitHub repository egorfedorov/Slot-Casino-Game-Developer-Skills-for-Stake-Engine. Automatically tune game/system parameters toward target metrics under explicit constraints. Use when iterating configuration weights, payout tables, trigger rates, or other balancing levers; running balance loops against simulation outputs; validating tolerance gates; and preparing pass/fail balanci

How to use this skill

Skill file

Auto Balancer

Use this skill to run controlled parameter tuning loops with deterministic validation gates.

Workflow

  1. Define balancing contract.
  1. Establish baseline and iteration plan.
  1. Run balance loop.
  1. Validate gate conditions.
  1. Prepare sign-off handoff.

Commands

python3 scripts/validate_balance_runs.py \
  --input <path/to/balance_runs.json> \
  --spec <path/to/target_spec.json>

Treat non-zero exits as blocker results.

Output Contract

Return:

  1. Target Contract: metrics, tolerances, and constraints.
  2. Run Summary: baseline, best run, and final run deltas.
  3. Gate Results: pass/fail per metric and per hard constraint.
  4. Patch Plan: exact files/params to update.
  5. Residual Risks: unresolved drift or instability concerns.

References

Execution Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.