unity-performance

unity-performance is a skill for Claude Code from MRCalderon3D/everything-game-dev-code. It costs 18 tokens per session (340 once invoked), scanned A, original, MIT.

A workflow for measuring and improving Unity game performance on player builds and representative hardware. It separates processor, graphics, garbage collection, loading, and memory costs.

In plain words
What is it for?
Use it to profile scenes, assets, prefabs, and code, identify measured bottlenecks, set performance baselines, and prioritize fixes.
Why use it?
It replaces guesses based on the Unity editor with measurements from the builds and devices that matter.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the everything-game-dev-code plugin — 74 skills, 67 commands, 42 agents, 3 hooks, 6 MCP servers shipped together

Good fit Use it to profile scenes, assets, prefabs, and code, identify measured bottlenecks, set performance baselines, and prioritize fixes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mrcalderon3d/everything-game-dev-code/unity-performance
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add MRCalderon3D/everything-game-dev-code --skill unity-performance
Clone the repo
git clone --depth 1 https://github.com/MRCalderon3D/everything-game-dev-code

Made for: Claude Code.

Or install everything-game-dev-code, the plugin that ships this one along with the rest of its 74 skills, 67 commands, 42 agents, 3 hooks, 6 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for unity-performance

README.md
[![agentmods](https://agentmods.dev/badge/skills/mrcalderon3d/everything-game-dev-code/unity-performance/github.svg)](https://agentmods.dev/skills/mrcalderon3d/everything-game-dev-code/unity-performance)
Your own site
<a href="https://agentmods.dev/skills/mrcalderon3d/everything-game-dev-code/unity-performance"><img src="https://agentmods.dev/badge/skills/mrcalderon3d/everything-game-dev-code/unity-performance/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for unity-performance

Your own site · 80×15
<a href="https://agentmods.dev/skills/mrcalderon3d/everything-game-dev-code/unity-performance"><img src="https://agentmods.dev/badge/skills/mrcalderon3d/everything-game-dev-code/unity-performance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 340 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.00340
Opus 5.5 $0.00007 $0.00136
Sonnet 5.5 $0.00004 $0.00068
Haiku 4.5 $0.00002 $0.00034

Measured 11d ago against content hash 4c78b081d54c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

unity-performance scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/unity/unity-performance/SKILL.md · 60 lines

What it actually says

Unity Performance

Purpose

Profile and optimize Unity projects based on player-build evidence, not editor intuition.

Use When

  • frame time, GC, memory, or load issues appear
  • content scale is rising
  • release targets are approaching

Inputs

  • target hardware
  • representative scenes
  • current metrics
  • content and architecture assumptions

Process

  1. profile player builds on target or representative hardware
  2. separate CPU, GPU, GC, loading, and memory issues
  3. review scene, prefab, asset, and code contributors together
  4. prioritize fixes by measured impact
  5. track performance baselines over time

Outputs

  • profiling summary
  • optimization backlog
  • baseline metrics
  • owner-by-problem map

Quality Bar

  • respects Unity lifecycle, serialization, and content authoring realities
  • keeps editor/runtime/test boundaries clean
  • prevents scene, prefab, and package complexity from becoming hidden architecture

Common Failure Modes

  • inspector wiring being the only source of truth
  • overusing MonoBehaviours or scene setup as architecture
  • package or scene drift reaching release without review
  • unity-reviewer
  • performance-reviewer
  • technical-artist
  • unity-review
  • perf-budget
  • verify

Notes

  • Keep this skill aligned with the relevant rules layer and current project documentation.
  • If engine-specific constraints materially change the workflow, hand off to the matching engine skill or engine-specific reviewer.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 60 lines · 18 tokens per session scan A 4c78b081d54c

Subscribe to this mod's changes

unity-performance is a skill published in the GitHub repository MRCalderon3D/everything-game-dev-code (96 stars, last pushed 12d ago), licensed MIT. It adds 18 tokens to every session and 340 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-10.

Related

Other skills, from other repositories

professional-game-developer

Universal production game engineering skill — design, build, profile, test, and ship games across Unreal Engine 5, Unity 6 (DOTS), Godot 4.3+, Roblox (Luau), and Web/Custom engines with senior studio-grade architectural discipline. Encompasses all 42 specialized game studio job roles across 6 departments: Game Design…

chahat1709/professional-game-developer.skill · 103 tokens

game-engineer

Meta-skill for game development that orchestrates specialized engine skills. Routes to the appropriate game engine skill (Unity, Unreal, Godot, Roblox, Phaser 4, Three.js) based on project requirements. Provides unified game development workflow.

buiphucminhtam/forgewright · 52 tokens

professional-game-developer

Universal production game engineering skill — design, build, profile, test, and ship games across Unreal Engine 5, Unity 6 (DOTS), Godot 4.3+, Roblox (Luau), and Web/Custom engines with senior studio-grade architectural discipline. Encompasses all 42 specialized game studio job roles across 6 departments: Game Design…

chahat1709/professional-game-developer.skill · 103 tokens

unity-skill-create

Create a new skill (MCP tool) for the Unity Editor by writing a C# (.cs) file that Unity compiles into the project. After compilation the new tool becomes callable through MCP. The file must be a partial class decorated with [AiToolType], each tool method must be decorated with [AiTool], the class name should match…

IvanMurzak/Unity-MCP · 142 tokens

unity-rql

How to read and change anything in the Unity Editor with RQL (rql-query / rql-mutate / rql-schema): the query language, operators, sources (scene objects, assets, scenes, prefabs, console logs, Editor state), Editor operations (create, add components, scenes, prefabs, assets, selection, Play Mode) and what installed…

IvanMurzak/Unity-MCP · 82 tokens

script-execute

Compiles and runs C# in the Unity Editor (Roslyn): plain statements with the last expression as the result, or a full class with a static method. See the skill body for the modes, usings/include and Unity object parameters.

IvanMurzak/Unity-MCP · 53 tokens