unity-reviewer

unity-reviewer is an agent for Claude Code from DmitriyYukhanov/claude-plugins. It costs 34 tokens per session (1,098 once invoked), scanned A, original, MIT.

A code reviewer focused on C# scripts made for Unity, the game development tool.

In plain words
What is it for?
Use it after Unity code changes to inspect MonoBehaviour lifecycle methods, Inspector fields, runtime performance, object creation, and compatibility.
Why use it?
It catches Unity-specific mistakes that a general code review may miss, including unsafe object lifecycles, serialization issues, slow frame-time work, and platform problems.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the unity-dev plugin — 6 skills, 3 agents shipped together

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.

agentmods
npx agentmods add agents/dmitriyyukhanov/claude-plugins/unity-reviewer
Clone the repo
git clone --depth 1 https://github.com/DmitriyYukhanov/claude-plugins

Made for: Claude Code.

Or install unity-dev, the plugin that ships this one along with the rest of its 6 skills, 3 agents.

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-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/dmitriyyukhanov/claude-plugins/unity-reviewer.svg)](https://agentmods.dev/agents/dmitriyyukhanov/claude-plugins/unity-reviewer)
Your own site
<a href="https://agentmods.dev/agents/dmitriyyukhanov/claude-plugins/unity-reviewer"><img src="https://agentmods.dev/badge/agents/dmitriyyukhanov/claude-plugins/unity-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,098 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00034 $0.01098
Opus 5 $0.00017 $0.00549
Sonnet 5 $0.00007 $0.00220
Haiku 4.5 $0.00003 $0.00110

Measured 5d ago against content hash fd5ee6e54291, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

unity-reviewer 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 5d 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.

plugins/unity-dev/agents/unity-reviewer.md · 125 lines

How it starts

The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a Unity-specific code reviewer. Focus on Unity patterns that general code review might miss.

Review Guardrails

  • Read project rules first (.editorconfig, asmdef layout, target Unity version, package constraints)
  • Prioritize correctness, lifecycle safety, runtime performance, and platform compatibility over stylistic nits
  • Report findings with severity (high, medium, low) and concise remediation steps

Unity-Specific Review Lenses

1. MonoBehaviour Lifecycle

  • Proper use of Awake/Start/OnEnable/OnDisable/OnDestroy
  • Null checks for components that might be destroyed
  • Execution order dependencies documented
  • No heavy/blocking work in frame-critical lifecycle methods; move to jobs/coroutines/background work when appropriate

2. Serialization

  • [SerializeField] for private fields exposed to Inspector
  • [field:SerializeField] for auto-properties
  • Missing [System.Serializable] on nested classes
  • Proper use of [HideInInspector] vs not serializing at all

3. Performance Red Flags

  • GameObject.Find() / Transform.Find() in Update
  • Allocations in hot paths (string concatenation, LINQ, boxing)
  • Missing object pooling for frequently spawned objects
  • Heavy physics queries every frame
  • Reflection usage in runtime code
  • Awaitable continuations doing heavy synchronous work on completion paths

4. Memory & Resources

  • Unsubscribed events (memory leaks)
  • Static events without cleanup
  • Missing [RuntimeInitializeOnLoadMethod] for static state reset
  • Resources not properly disposed

5. Platform Compatibility

  • Platform-specific code properly wrapped in #if directives
  • IL2CPP compatibility (no problematic reflection)
  • API compatibility with target Unity version
  • Async primitive compatibility with target Unity/UTF versions (Awaitable requires Unity 2023.1+ or 6+)

6. Editor vs Runtime

  • Editor code properly wrapped in #if UNITY_EDITOR
  • No Editor-only types in runtime assemblies
  • Proper assembly definition separation

Read the full file on GitHub · 125 lines

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. 5d ago First seen · 125 lines · 34 tokens per session scan A fd5ee6e54291

Subscribe to this mod's changes

unity-reviewer is an agent published in the GitHub repository DmitriyYukhanov/claude-plugins (7 stars, last pushed today), licensed MIT. It adds 34 tokens to every session and 1,098 once invoked, about $0.0002 per session on Opus 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-08-31.

Related

Other agents, from other repositories

tasks-agent

Expert development lead that converts technical designs into actionable, incremental coding tasks for implementation.

NikiforovAll/claude-code-rules · 18 tokens

implementation-agent

Strict implementation agent that executes coding tasks following requirements exactly without improvisation, asking for clarification when needed.

NikiforovAll/claude-code-rules · 22 tokens

code-reviewer

Review code changes against a base branch with structured feedback. Use this agent when the user requests a code review, PR review, or wants to analyze code changes systematically.

NikiforovAll/claude-code-rules · 37 tokens

reviewer-opus

Deeply reviews code for bugs, logic errors, and security vulnerabilities using comprehensive reasoning to catch subtle, high-impact issues that require careful analysis.

Joncik91/ucai · 32 tokens

android-kotlin-expert

Android native specialist for Kotlin, Java, Gradle/AGP, the Jetpack libraries, JNI/NDK, OpenGL ES and camera pipelines (Camera2, CameraX, MediaCodec, MediaPipe, ML Kit), and React Native / Expo Modules native bridging. Use when the task touches android/ (.kt, .java, .gradle / .gradle.kts, AndroidManifest.xml…

simiancraft/simiancraft-skills · 276 tokens

review-software-architect

Review persona: senior software architect lens for any codebase. Use for architecture review or grading of a project's shape: folder structure and module boundaries, naming, convention vs configuration, SOLID, coupling and cohesion, functional vs OOP coherence, domain-driven design, immutable vs mutable state…

simiancraft/simiancraft-skills · 117 tokens