wanghaisheng/openagenticgame-studios/perf-profile

Claude Code and agent skill by wanghaisheng/openagenticgame-studios

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Structured performance profiling workflow. Identifies bottlenecks, measures against budgets, and generates optimization recommendations with priority rankings.

Install

npx vskill@latest install wanghaisheng/openagenticgame-studios/perf-profile

SKILL.md

The same SKILL.md was published earlier as majiayu000/claude-skill-registry/perf-profile.

When this skill is invoked:

  1. Determine scope from the argument:
  • If a system name: focus profiling on that specific system
  • If full: run a comprehensive profile across all systems
  1. Read performance budgets — Check for existing performance targets in design docs or CLAUDE.md:
  • Target FPS (e.g., 60fps = 16.67ms frame budget)
  • Memory budget (total and per-system)
  • Load time targets
  • Draw call budgets
  • Network bandwidth limits (if multiplayer)
  1. Analyze the codebase for common performance issues:

CPU Profiling Targets:

  • _process() / Update() / Tick() functions — list all and estimate cost
  • Nested loops over large collections
  • String operations in hot paths
  • Allocation patterns in per-frame code
  • Unoptimized search/sort over game entities
  • Expensive physics queries (raycasts, overlaps) every frame

Memory Profiling Targets:

  • Large data structures and their growth patterns
  • Texture/asset memory footprint estimates
  • Object pool vs instantiate/destroy patterns
  • Leaked references (objects that should be freed but aren't)
  • Cache sizes and eviction policies

Rendering Targets (if applicable):

  • Draw call estimates
  • Overdraw from overlapping transparent objects
  • Shader complexity
  • Unoptimized particle systems
  • Missing LODs or occlusion culling

I/O Targets:

  • Save/load performance
  • Asset loading patterns (sync vs async)
  • Network message frequency and size
  1. Generate the profiling report:

```markdown ## Performance Profile: [System or Full] Generated: [Date]

### Performance Budgets

MetricBudgetEstimated CurrentStatus
Frame time[16.67ms][estimate][OK/WARNING/OVER]
Memory[target][estimate][OK/WARNING/OVER]
Load time[target][estimate][OK/WARNING/OVER]
Draw calls[target][estimate][OK/WARNING/OVER]

### Hotspots Identified

#LocationIssueEstimated ImpactFix Effort
1[file:line][description][High/Med/Low][S/M/L]
2[file:line][description][High/Med/Low][S/M/L]

### Optimization Recommendations (Priority Order)

  1. [Title] — [Description of the optimization]
  • Location: [file:line]
  • Expected gain: [estimate]
  • Risk: [Low/Med/High]
  • Approach: [How to implement]

### Quick Wins (< 1 hour each)

  • [Simple optimization 1]
  • [Simple optimization 2]

### Requires Investigation

  • [Area that needs actual runtime profiling to determine impact]

```

  1. Output the report with a summary: top 3 hotspots, estimated headroom vs budget, and recommended next action.
Rules
  • Never optimize without measuring first — gut feelings about performance are unreliable
  • Recommendations must include estimated impact — "make it faster" is not actionable
  • Profile on target hardware, not just development machines
  • Distinguish between CPU-bound, GPU-bound, and I/O-bound bottlenecks
  • Consider worst-case scenarios (maximum entities, lowest spec hardware, worst network conditions)
  • Static analysis (this skill) identifies candidates; runtime profiling confirms

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/wanghaisheng/openagenticgame-studios/perf-profile/badge)](https://verified-skill.com/skills/wanghaisheng/openagenticgame-studios/perf-profile)

Something wrong with this skill or its page? Tell us.