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.
npx agentmods add commands/xeldaralz/everything-claude-unity/unity-reviewgit clone --depth 1 https://github.com/XeldarAlz/everything-claude-unityWrote 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.
[](https://agentmods.dev/commands/xeldaralz/everything-claude-unity/unity-review)<a href="https://agentmods.dev/commands/xeldaralz/everything-claude-unity/unity-review"><img src="https://agentmods.dev/badge/commands/xeldaralz/everything-claude-unity/unity-review.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00022 | $0.00486 |
| Opus 5 | $0.00011 | $0.00243 |
| Sonnet 5 | $0.00004 | $0.00097 |
| Haiku 4.5 | $0.00002 | $0.00049 |
Grade A, and why
unity-review 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 6d 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.
What it actually says
/unity-review — Unity Code Review
Perform a comprehensive code review with Unity-specific checks.
Agent Routing
- Default: use
unity-revieweragent (sonnet — efficient for standard reviews) - If
$ARGUMENTScontains--thorough: use opus model for deeper architectural analysis - Strip the
--thoroughflag from arguments before passing to the agent
Scope
If the user specified a scope: review $ARGUMENTS
If no scope: review recently changed files (git diff or all .cs files in Assets/Scripts/).
Workflow
Use the unity-reviewer agent to check:
1. Critical Issues (must fix)
[SerializeField]field renamed without[FormerlySerializedAs]?.oris nullused on Unity objects (must use== null)UnityEditornamespace in runtime code without#if UNITY_EDITOR- MonoBehaviour class name doesn't match file name
- DOTween not killed in
OnDestroy - Event subscriptions without matching unsubscribe
- Naked
async voidmethods
2. Performance Issues (should fix)
- GC allocations in Update/FixedUpdate/LateUpdate
- Uncached
GetComponent,Camera.main,FindObjectOfType - LINQ in gameplay code
tag ==instead ofCompareTagSendMessage/BroadcastMessage- Non-cached
WaitForSeconds Animator.StringToHashnot cached asstatic readonly
3. Architecture Suggestions (consider)
- MonoBehaviour inheritance deeper than 2 levels
- God classes doing too many things
- Tight coupling between systems
- Public fields that should be
[SerializeField] private - Missing
[RequireComponent]attributes
4. Unity-Specific Warnings
- Coroutine lifecycle issues
- Cross-object execution order dependencies
- Platform defines without fallback
- Time.deltaTime in FixedUpdate
Output
Present findings grouped by severity with specific file:line references and suggested fixes. End with a summary: X critical, Y performance, Z suggestions.
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.
- 6d ago First seen · 62 lines · 22 tokens per session scan A 0d2157690d35
unity-review is a command published in the GitHub repository XeldarAlz/everything-claude-unity (21 stars, last pushed 4mo ago), licensed MIT. It adds 22 tokens to every session and 486 once invoked, about $0.0001 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-30.
Other commands, from other repositories
research-verify
Verify existing research findings against independent primary sources. Upgrades confidence from 'sources agree' to 'independently verified.'.
story-continue
Resume an interrupted story from where you left off.
discover
Build or refresh the on-demand discovery map (concept graph + per-node notes).
review
Run code review on recent changes.
db-review
Review database schema, queries, and migrations.
lint-fix
Auto-fix lint and formatting issues across the codebase.