unity-refactor-impact

unity-refactor-impact is a skill for Claude Code, Codex from rachitkumarrastogi/unity-mcp-server. It costs 37 tokens per session (350 once invoked), scanned A, original, MIT.

A Unity refactoring helper for checking what depends on C# scripts, assets, prefabs, scenes, and assemblies before you move, rename, or delete them.

In plain words
What is it for?
Use it to find script and asset references, inspect assembly dependencies and public APIs, check prefab script identifiers, and verify broken references after a move.
Why use it?
It helps reveal references that could break and assembly cycles that could block a change. This reduces the chance of leaving broken links in a Unity project.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to find script and asset references, inspect assembly dependencies and public APIs, check prefab script identifiers, and verify broken references after a move.

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

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-refactor-impact

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rachitkumarrastogi/unity-mcp-server/unity-refactor-impact"><img src="https://agentmods.dev/badge/skills/rachitkumarrastogi/unity-mcp-server/unity-refactor-impact.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 350 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.00037 $0.00350
Opus 5.5 $0.00015 $0.00140
Sonnet 5.5 $0.00007 $0.00070
Haiku 4.5 $0.00004 $0.00035

Measured 9d ago against content hash 151dab0e17ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

unity-refactor-impact 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 9d 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/code/unity-refactor-impact/SKILL.md · 42 lines

What it actually says

Refactor impact analysis

One-shot

  1. find_script_references — C# files referencing the type/class name
  2. find_references — assets referencing the path or GUID
  3. get_prefab_dependencies / get_scene_referenced_assets — downstream assets
  4. detect_assembly_cycles — cycles that block safe moves

Deep dive

Step Tool Why
Who depends on this assembly list_asmdef_references Reverse dependents
Owning assembly get_assembly_for_path Move target asmdef
Public API surface get_script_public_api What callers actually use
Prefab script GUIDs get_prefab_script_guids GUID churn risk on move
Broken refs after move get_broken_script_refs / get_broken_asset_refs Verify clean

Checklist

  • Move via GUID-preserving operations; never hand-edit .meta GUIDs.
  • Update asmdef references before moving cross-assembly scripts.
  • Re-run get_release_readiness after the change.

Report template

## Refactor impact
- Type/asset: ...
- C# referrers: N files
- Asset referrers: N assets
- Assembly: ... (cycles: yes/no)
- Risk: low/medium/high + owner
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. 9d ago First seen · 42 lines · 37 tokens per session scan A 151dab0e17ca

Subscribe to this mod's changes

unity-refactor-impact is a skill published in the GitHub repository rachitkumarrastogi/unity-mcp-server (7 stars, last pushed 11d ago), licensed MIT. It adds 37 tokens to every session and 350 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-11-21.

Related

unity-refactor-impact compared with skills from other repositories

unity-refactor-impact next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
unity-refactor-impactrachitkumarrastogi/unity-mcp-serverSkill711d agoMITA37Claude Code, Codex
workers-developmentcloudflare/skillsSkill3.5k5d agoApache-2.0A68Claude Code
workers-profilingcloudflare/skillsSkill3.5k5d agoApache-2.0A31Claude Code
testing-dagsastronomer/agentsSkill4646d agoApache-2.0A77Claude Code
debugging-dagsastronomer/agentsSkill4646d agoApache-2.0A111Claude Code
frontmcp-developmentagentfront/frontmcpSkill154todayApache-2.0A270Claude Code
loom-code-migrationcosmix/loomSkill66yesterdayMITA15Claude Code, Codex