agentleFS
hoatv2211hoatv2211/GameStudio-CodexKIT/skills/game-performance-budget/SKILL.md

game-performance-budget

Skill3 starsChanged 3 months agoMITView on GitHub

Use when defining or reviewing game frame-time, memory, loading, network, CPU, GPU, allocation, or thermal budgets against captured measurements and target hardware tiers.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use for milestone gates, optimization reviews, target-hardware qualification, regression checks, memory reviews, loading tests, and network …

    line 35
  2. Distinctive:

    Do not use to guess performance without captures, to optimize before a measured bottleneck, or to certify hardware that was not tested.

    line 38
  3. Very specific:

    Read-only analysis. Profiling unavailable hardware or builds is BLOCKED.

    line 44
  4. Very specific:

    Use the bundled scripts/performance_budget.py for normalized budget comparisons and project profilers for captures.

    line 78

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Game Performance Budget

Overview

Compare reproducible performance measurements with explicit budgets instead of treating a fast developer machine or average frame rate as proof.

When to use

Use for milestone gates, optimization reviews, target-hardware qualification, regression checks, memory reviews, loading tests, and network performance budgets.

When NOT to use

Do not use to guess performance without captures, to optimize before a measured bottleneck, or to certify hardware that was not tested.

Required inputs and context discovery

Collect build ID, scene or scenario, target hardware tier, quality settings, warm-up method, capture duration, measurement tool, percentile metrics, memory categories, loading phases, network conditions, and thresholds.

Safety and risk level

Read-only analysis. Profiling unavailable hardware or builds is BLOCKED; estimates may be Unverified but never PASS.

Workflow

  1. Define budgets per target hardware tier and gameplay scenario. Completion criterion: units, thresholds, and allowed variance are explicit.
  2. Validate capture identity and measurement method. Completion criterion: build, settings, warm-up, duration, and profiler source are recorded.
  3. Compare observed percentiles and peaks with each budget. Completion criterion: every metric reports target, observed value, delta, and verdict.
  4. Attribute exceeded budgets to measured subsystems or mark attribution unresolved. Completion criterion: bottleneck claims cite profiler evidence rather than intuition.
  5. Define optimization experiments and regression gates. Completion criterion: each action includes a metric, target, owner, and retest scenario.

Evidence and output contract

Produce performance-budget-report.json with build and hardware identity, scenarios, targets, observations, deltas, verdicts, profiler artifacts, limitations, and retest actions.

Handoff contract

Record failing tiers, worst scenarios, capture paths, suspected subsystems, known measurement noise, owners, and exact retest commands or steps.

Pitfalls and anti-rationalization

  • Average FPS hides spikes; use percentiles and peaks.
  • Editor measurements do not certify player builds.
  • One hardware tier cannot stand in for another.
  • Missing captures remain BLOCKED, not estimated PASS.

Verification checklist

  • Build, hardware, settings, and scenarios are exact.
  • Budgets include units and thresholds.
  • Observations cite profiler artifacts.
  • Percentiles and peaks are reported where relevant.
  • Retest actions preserve the same measurement method.

References and scripts

Use the bundled scripts/performance_budget.py for normalized budget comparisons and project profilers for captures. The helper does not launch or profile a live build.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.