unity-diff-workflow

unity-diff-workflow is a skill for Claude Code, Codex from luckynee/unity-prefab-parser-mcp. It costs 29 tokens per session (757 once invoked), scanned A, original, MIT.

A workflow for comparing Unity project files such as prefabs, scenes, and assets, which store game objects and their settings. It highlights differences in components, values, and object hierarchy.

In plain words
What is it for?
Use it to compare two prefabs, inspect how one game object differs from another, review scene changes in a pull request, or compare a file with an older Git version.
Why use it?
Unity files can be difficult to compare as plain text, especially when checking changes between versions or branches. It makes changes easier to inspect, including overrides in prefab variants.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions OpenCode.

Good fit Use it to compare two prefabs, inspect how one game object differs from another, review scene changes in a pull request, or compare a file with an older Git version.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/luckynee/unity-prefab-parser-mcp/unity-diff-workflow
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 luckynee/unity-prefab-parser-mcp --skill unity-diff-workflow
Clone the repo
git clone --depth 1 https://github.com/luckynee/unity-prefab-parser-mcp

Made for: Claude Code, Codex.

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-diff-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/luckynee/unity-prefab-parser-mcp/unity-diff-workflow/github.svg)](https://agentmods.dev/skills/luckynee/unity-prefab-parser-mcp/unity-diff-workflow)
Your own site
<a href="https://agentmods.dev/skills/luckynee/unity-prefab-parser-mcp/unity-diff-workflow"><img src="https://agentmods.dev/badge/skills/luckynee/unity-prefab-parser-mcp/unity-diff-workflow/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-diff-workflow

Your own site · 80×15
<a href="https://agentmods.dev/skills/luckynee/unity-prefab-parser-mcp/unity-diff-workflow"><img src="https://agentmods.dev/badge/skills/luckynee/unity-prefab-parser-mcp/unity-diff-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 757 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.00029 $0.00757
Opus 5.5 $0.00012 $0.00303
Sonnet 5.5 $0.00006 $0.00151
Haiku 4.5 $0.00003 $0.00076

Measured 1mo ago against content hash d1bb8eb87a9f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

unity-diff-workflow 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 1mo 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-diff-workflow/SKILL.md · 85 lines

How it starts

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

Skill: unity-diff-workflow

Use this skill when comparing Unity .prefab, .unity, or .asset files — across versions, variants, or branches.

When to use this skill

  • "What changed in this prefab?"
  • "How does EnemyBat differ from EnemyWolf?"
  • "What did this PR change in the scene?"
  • "Show me what the variant overrides from the base prefab"

Workflow

Comparing two separate prefabs

  1. parse_unity_file on file A with preset: "compact"
  2. parse_unity_file on file B with preset: "compact"
  3. Diff the two YAML outputs — focus on components, field values, hierarchy shape

Comparing a prefab variant to its base

Variants already show only their differences — no manual diff needed:

  1. parse_unity_file on the variant with preset: "compact"
  2. The output includes variant_of: BasePrefabName and modification markers:
    • # $ — field modified from base
    • # + — component or GameObject added
    • # - — component removed from base

Comparing across git branches/versions

  1. Parse the current version: parse_unity_file on the current file
  2. Parse the old version: git show <commit>:<path> to a temp file, then parse_unity_file on it
  3. Diff the two compact YAML outputs

Diff reading guide

Focus on these sections when diffing:

  • hierarchy — shape changes (added/removed GameObjects, reparenting)
  • components — added/removed component types per GameObject
  • Field values within components — value changes

Ignore noise:

  • lPos: (0, 0, 0), lScale: (1, 1, 1) — default transforms, omitted in compact
  • enabled: true — omitted in compact
  • Internal Unity fields (m_ObjectHideFlags, etc.) — always filtered

Token strategy for large diffs

For large prefabs or scenes, scope the diff:

  • Use componentWhitelist to compare only specific components:
    { "preset": "compact", "componentWhitelist": ["Rigidbody2D", "CircleCollider2D"] }
    
  • Use includeHierarchy: false to skip hierarchy and focus on component data:
    { "preset": "compact", "includeHierarchy": false }
    

Read the full file on GitHub · 85 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. 1mo ago First seen · 85 lines · 29 tokens per session scan A d1bb8eb87a9f

Subscribe to this mod's changes

unity-diff-workflow is a skill published in the GitHub repository luckynee/unity-prefab-parser-mcp (3 stars, last pushed 5mo ago), licensed MIT. It adds 29 tokens to every session and 757 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-08-31.

Related

Other skills, from other repositories

godot-code-review

Use when reviewing GDScript or C# Godot code — checklist of best practices, common anti-patterns, and Godot-specific pitfalls. Triggers on "review this script", "check my code", "any issues with this", "what's wrong with this code", including a short pasted snippet.

jame581/GodotPrompter · 67 tokens

animation-review

Reviews Godot Animation implementation for known pitfalls. Triggers AFTER implementation, when code involves AnimationPlayer, AnimationTree, AnimatedSprite2D, SpriteFrames, AnimationNodeStateMachine, BlendSpace, OneShot, callbackmodeprocess, or animation playback control (play/travel/start). Do NOT use this skill for…

valkor-ai/loom · 75 tokens

tilemap-review

Reviews Godot TileMap implementation for known pitfalls. Triggers AFTER implementation, when code involves TileMapLayer, TileSet, TileSetAtlasSource, TileSetScenesCollectionSource, terrain painting, setcell, erasecell, getcelltiledata, collision polygons on tiles, or NavigationRegion2D with tile-based navigation. Do…

valkor-ai/loom · 85 tokens

hz-unity-code-review

Reviews Unity code targeting Meta VR and Horizon OS for performance issues, rendering best practices, and common VR pitfalls. Use during code review or when diagnosing Meta VR performance problems in Unity projects.

meta-quest/agentic-tools · 43 tokens

code-review

Performs an architectural and quality code review on a specified file or set of files. Checks for coding standard compliance, architectural pattern adherence, SOLID principles, testability, and performance concerns.

striderZA/OpenCodeGameStudios · 41 tokens

design-lenses

Critique a game's design through Schell's lenses, MDA and systems thinking, ranking findings by severity with fixes. Design-level review, not bugs or feel tuning.

kyh/vibedgames · 38 tokens