/agent-foundry:unity-optimizationfrom agent-foundry
Profiles, diagnoses, and optimizes Unity performance covering CPU/GPU bottlenecks, GC allocations, rendering, shaders, batching, Addressables/loading, mobile thermal/battery constraints, and memory.
Ships in agent-foundry. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill for Unity performance work. Prefer measured fixes over generic "optimization" changes.
Before changing code or settings:
AGENTS.md, CLAUDE.md, Assets/CLAUDE.md,
nearest path-scoped instructions, Unity style docs, and project performance
notes when present.ProjectSettings/ProjectVersion.txt, Packages/manifest.json, and
relevant Assets/ code/settings.unity-cli's version gate. Unity 6+ uses exact-root/version-matched
unity status --json, full --project-path, and built-in unity mcp
when needed. Pre-Unity-6 uses
the exact MCP identity gate
before selection and project-info readback before profiling. Check this
route before pinned file evidence; other legacy MCP/UnitySkills use still
requires an explicit user request. File evidence is not live profiler proof.Update, LateUpdate, FixedUpdate, physics callbacks,
input callbacks, UI loops, and render paths.GetComponent calls in frame loops.Load only what is relevant:
unity-game-dev.clean-oop-architecture.game-code-review.optional local reference library (not included; skip if unavailable)optional local reference library (not included; skip if unavailable)Search the PDF-derived Markdown with rg and load only relevant sections. The
repository, current Unity docs, and measured profiler evidence override older
PDF examples.
For every optimization task, report:
What SKILL.md sets; muted values are Claude Code's defaults
inheritThree short reads, in order
npx claudepluginhub furkantokkan/agent-foundry --plugin agent-foundry99 skills in this plugin
/adaptive-skillsUse when a task may span multiple personal skills and Codex should choose the smallest relevant skill set across Unity, Unity performance, Clean OOP, Firebase backend, JavaScript tooling, game design/UX, tracked task lifecycle, Steam launch, code review, and web/SaaS work./adoptBrownfield onboarding — audits existing project artifacts for template format compliance (not just existence), classifies gaps by impact, and produces a numbered migration plan. Run this when joining an in-progress project or upgrading from an older template version. Distinct from /project-stage-detect (which checks what exists) — this checks whether what exists will actually work with the template's skills./agent-orchestrationCoordinate game, Unity, web, SaaS, and tooling work through one orchestration workflow across Claude and Codex. Resolve tracked task IDs, ownership conflicts, worktrees, sequential role handoffs, Editor queues, capacity, and verification. Use for orchestration or independent deliverables; keep one small task in the current agent./architecture-decisionCreates an Architecture Decision Record (ADR) documenting a significant technical decision, its context, alternatives considered, and consequences. Every major technical choice should have an ADR./architecture-reviewValidates completeness and consistency of the project architecture against all GDDs. Builds a traceability matrix mapping every GDD technical requirement to ADRs, identifies coverage gaps, detects cross-ADR conflicts, verifies engine compatibility consistency across all decisions, and produces a PASS/CONCERNS/FAIL verdict. The architecture equivalent of /design-review./art-bibleGuided, section-by-section Art Bible authoring. Creates the visual identity specification that gates all asset production. Run after /brainstorm is approved and before /map-systems or any GDD authoring begins.Other plugins' skills for the same job