Borrowing it
Nothing to install: this file belongs to chav0/UnityFigmaMCP. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/chav0/UnityFigmaMCP/main/.claude/skills/inspect-diff/SKILL.mdgit clone --depth 1 https://github.com/chav0/UnityFigmaMCPWrote 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/skills/chav0/unityfigmamcp/inspect-diff)<a href="https://agentmods.dev/skills/chav0/unityfigmamcp/inspect-diff"><img src="https://agentmods.dev/badge/skills/chav0/unityfigmamcp/inspect-diff/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.
<a href="https://agentmods.dev/skills/chav0/unityfigmamcp/inspect-diff"><img src="https://agentmods.dev/badge/skills/chav0/unityfigmamcp/inspect-diff.svg" alt="Reviewed on agentmods" width="80" 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.00107 | $0.00834 |
| Opus 5.5 | $0.00043 | $0.00334 |
| Sonnet 5.5 | $0.00021 | $0.00167 |
| Haiku 4.5 | $0.00011 | $0.00083 |
Grade A, and why
inspect-diff 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 24d 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.
How it starts
The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Inspect Diff — Figma vs Unity Comparison
This skill compares a Unity prefab with its Figma source node and produces a detailed diff report. Nothing is modified — this is purely read-only inspection. Use it to understand what's out of sync before deciding whether to update.
Input
The user needs to provide:
- Prefab path — Unity asset path (e.g.
Assets/UI/Prefabs/MyScreen.prefab) - Figma file key — the key from the Figma URL
- Node ID — the Figma node this prefab was built from
Workflow
Step 1 — Fetch both sides
Do these in parallel:
figma_get_node(fileKey, nodeId)— download the current Figma treeunity_get_hierarchy(prefabPath)— current Unity prefab hierarchy
Then call figma_get_node_names(fileKey, nodeId). It reads the copy figma_get_node saved,
so it fails if run before or alongside it.
Step 2 — Compare
Walk both trees in parallel and compare by matching node names/paths.
Check these categories:
Structure:
- Nodes in Figma but not in Unity (added in design)
- Nodes in Unity but not in Figma (removed in design, or added manually in Unity)
- Sibling order differences
Text properties:
- Content, font size, font family, font style, color, alignment
RectTransform:
- Size (width, height), position, anchors, pivot
Image:
- Color, sprite reference, image type
Layout:
- Layout mode, spacing, padding, child alignment
ContentSizeFitter:
- Horizontal/vertical fit modes
Active state:
- Enabled/disabled mismatches
Step 3 — Report
Present in the user's language. Group by severity — structural changes first, then property changes.
## Figma vs Unity — Diff Report
Prefab: Assets/UI/Prefabs/MyScreen.prefab
Source: figma.com/file/<key>, node 123:456
### Summary
- 2 structural changes
- 5 property changes
- Prefab is NOT up to date
### Structural differences
Added in Figma (missing in Unity):
- Card/Badge
- Footer/SocialLinks
Only in Unity (not in Figma):
- Card/CustomOverlay — possibly added manually
### Property differences
| Node | Property | Figma | Unity |
|----------------|------------|--------------|--------------|
| Header/Title | text | "New Title" | "Old Title" |
| Header/Title | size | 18 | 16 |
| Header/Title | color | #111111 | #333333 |
| Card | size | [320, 200] | [300, 200] |
| Content | spacing | 12 | 8 |
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.
- 24d ago Changed · +3 lines b70b8e73ee14
- 1mo ago Changed 1890b7c19088
- 2mo ago First seen · 110 lines · 107 tokens per session scan A e4db5db327df
inspect-diff is a skill published in the GitHub repository chav0/UnityFigmaMCP (11 stars, last pushed 25d ago), licensed MIT. It adds 107 tokens to every session and 834 once invoked, about $0.0004 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.
inspect-diff compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| inspect-diffchav0/UnityFigmaMCP | Skill | 11 | 25d ago | MIT | A | 107 | Claude Code |
| figma-codegenawdr74100/figwright | Skill | 1.3k | yesterday | MIT | A | 145 | Claude Code, Codex |
| figma-buildawdr74100/figwright | Skill | 1.3k | yesterday | MIT | A | 180 | Claude Code, Codex |
| biome-creationmoorestech/moorestech | Skill | 85 | today | Apache-2.0 | A | 170 | Claude Code |
| before-after-auditmoorestech/moorestech | Skill | 85 | today | Apache-2.0 | A | 81 | Claude Code |
| vibefigmavibeflowing-inc/vibe_figma | Skill | 849 | 28d ago | AGPL-3.0 | A | 77 | Claude Code, Codex |
| design-pipelinesodam-ai/SoDam-Design-Kit | Skill | 7 | 4d ago | Apache-2.0 | A | 77 | Claude Code |