Game performance profiler

From akillness/jeo-skills · View interactive version

Game performance profiler is an AI agent skill from the GitHub repository akillness/jeo-skills. Route Unity and Unreal frame-time complaints into one bottleneck-first profiling brief. Use when the main job is interpreting profiler screenshots, `stat unit` / `stat gpu` output, benchmark-route complaints, or Steam Deck / target-device review packets; choosing the smallest useful next capture; na

How to use this skill

Skill file

Game Performance Profiler

Use this skill when the main question is "what packet do we trust, which bottleneck family is most likely, and what is the next capture or review artifact worth producing?"

The job is not to dump generic optimization advice.

The job is to normalize the current packet, choose one operating mode, name one primary bottleneck family, recommend the smallest next capture that can improve confidence, and return one profiling artifact teams can actually act on.

Read references/mode-selection-and-route-outs.md before handling an unfamiliar request shape.

Read references/capture-packets-and-benchmark-routes.md before designing a reproducible pass.

Read references/device-review-and-steam-deck.md before trusting editor numbers for handheld or target-device review.

Read references/profiling-patterns.md before classifying weak or ambiguous evidence.

Read references/escalation-ladder.md before jumping from screenshots or stat packets to deeper engine or GPU tools.

When to use this skill

When not to use this skill

Instructions

Step 1: Frame the packet

Capture the minimum useful context before diagnosing anything.

Record:

Quick frame:

Engine: Unreal
Target: Steam Deck
Environment: packaged build unknown
Symptom: traversal hitch after two minutes in market square
Evidence: `stat unit` screenshot + overlay photo
Repro: route not yet fixed

Rule: if the packet is thin, keep confidence low and make the next capture smaller, not broader.

Step 2: Choose one primary mode

Use references/mode-selection-and-route-outs.md.

Pick exactly one primary mode:

Rule: one primary mode, optional secondary note. Do not try to handle every mode at once.

Step 3: Name the likely bottleneck family before proposing fixes

Choose one primary family and an optional secondary family.

Primary families:

Good bottleneck statements:

Avoid: "performance is bad overall."

Step 4: Recommend the smallest next capture

Pick the cheapest capture that can materially separate the likely causes.

Typical next captures:

Rule: prefer engine-native captures before vendor GPU tools unless the packet is already clearly render-path specific.

Step 5: Make route and device context explicit

If reproducibility is missing, define the smallest repeatable pass.

Specify:

Do not treat "the market area feels bad" as a durable benchmark route.

Step 6: Return one profiling brief

Always return one concise artifact with this shape:

# Game Performance Profiling Brief

## Scope
- Mode: ...
- Engine: ...
- Target: ...
- Environment: ...
- Symptom: ...
- Confidence: high | medium | low

## Evidence packet
- What exists now: ...
- What's missing: ...
- Editor vs packaged / device note: ...

## Primary bottleneck hypothesis
- Bucket: ...
- Why it fits: ...
- Evidence: ...

## Secondary hypothesis
- Bucket: ...
- Why it still matters: ...

## Next capture
1. ...
2. ...
3. ...

## Benchmark route / device review
- Repro route or save: ...
- Repeat / warm-up guidance: ...
- Device or packaged-build checks: ...

## Escalation path
- Stay with quick packet | move to engine profiler | escalate to GPU tool
- Why: ...

## Recommended next artifact
- Choose one: quick triage packet | profiling plan | benchmark route brief | CPU/GPU split note | memory/GC checklist | streaming hitch checklist | device review brief

## What not to do yet
- 1-3 bullets that prevent premature optimization or blind rewrites

Output format

Required qualities:

Examples

Example 1: Unity combat spike

Input: "Our Unity game drops from 120 to 45 FPS in combat. We have Profiler screenshots and someone suspects GC spikes. Triage what to look at first."

Expected shape: classify around memory-gc-allocation-churn or cpu-gameplay-scripting, keep the current screenshots as a real packet, recommend the smallest next capture, and avoid jumping to rendering advice first.

Example 2: Unreal open-world traversal hitch

Input: "Unreal is fine indoors but frame time explodes in our open world area. Help me triage whether this is CPU, GPU, streaming, or shaders."

Expected shape: use bottleneck-classification or benchmark-route-plan, recommend stat unit / stat gpu or Unreal Insights as appropriate, and define a reproducible traversal route instead of guessing fixes.

Example 3: Steam Deck review packet

Input: "We need a Steam Deck performance review plan before our demo release. The editor feels rough but we have not profiled the packaged build on device yet."

Expected shape: choose device-review, keep confidence limited, prioritize packaged-on-device evidence, and return a device review brief or benchmark route brief.

Example 4: Route-out to build failure triage

Input: "Our Unreal packaged build crashes during cook and we do not even have runtime numbers yet."

Expected shape: route to game-build-log-triage instead of pretending this is already a profiling problem.

Best practices

  1. Start from the packet the team already has instead of demanding an ideal trace immediately.
  2. Name one primary bottleneck family before discussing optimizations.
  3. Treat reproducibility as part of the diagnosis, not an optional extra.
  4. Prefer packaged-on-device evidence over editor impressions when the release target is a handheld or constrained machine.
  5. Escalate from screenshot/stat packets to engine-native profilers before jumping to GPU-vendor tooling.
  6. Recommend one next artifact, not a giant optimization backlog.
  7. Keep route-outs explicit so game-performance work does not sprawl into build triage, generic app tuning, or production coordination.

References

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.