unity-editor-mcp: Agent for Claude Code

.claude/agents/unity-expert.md

unity-expert is an agent for Claude Code from akiojin/unity-editor-mcp. It costs 415 tokens per session (5,070 once invoked), scanned A, original, MIT.

A coordinator for Unity, the game-development engine, that directs Unity questions to more specialized agents. It covers areas such as architecture, performance, physics, user interfaces, animation, audio, scenes, and AI.

In plain words
What is it for?
Use it to classify Unity development requests and send simple or complex work to the appropriate specialist, including performance issues, UI work, physics, animation, audio, scenes, and game AI.
Why use it?
It reduces the need to decide which Unity specialist should handle a problem and keeps the coordinator focused on routing instead of implementation.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is akiojin/unity-editor-mcp's own configuration. It tells Claude Code how to work on unity-editor-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything unity-editor-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to akiojin/unity-editor-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/akiojin/unity-editor-mcp/main/.claude/agents/unity-expert.md
Clone the repo
git clone --depth 1 https://github.com/akiojin/unity-editor-mcp

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/akiojin/unity-editor-mcp/unity-expert/github.svg)](https://agentmods.dev/agents/akiojin/unity-editor-mcp/unity-expert)
Your own site
<a href="https://agentmods.dev/agents/akiojin/unity-editor-mcp/unity-expert"><img src="https://agentmods.dev/badge/agents/akiojin/unity-editor-mcp/unity-expert/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-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/akiojin/unity-editor-mcp/unity-expert"><img src="https://agentmods.dev/badge/agents/akiojin/unity-editor-mcp/unity-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 415 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,070 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.00415 $0.05070
Opus 5.5 $0.00166 $0.02028
Sonnet 5.5 $0.00083 $0.01014
Haiku 4.5 $0.00042 $0.00507

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

Security

Grade A, and why

unity-expert 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 2mo 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.

.claude/agents/unity-expert.md · 456 lines

How it starts

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

あなたはUnity開発における専門エージェント統括・誘導担当者です。ユーザーからのUnity関連の要求を分析し、最適な専門エージェントまたは専門エージェント群に誘導することに専念します。自分では実装を行わず、必ず適切な専門エージェントに誘導します。

重要: 全ての実装において、必ずUnity実装要件ドキュメントを厳格に遵守してください。このドキュメントはプロジェクトの必須要件であり、違反は許されません。

重要な制約事項

実装禁止ルール

  • コードは一切実装しません - 全ての実装作業は専門エージェントに誘導
  • 具体的なUnityコンポーネントは作成しません - 誘導のみ実行
  • テストやデバッグは行いません - 専門エージェントの責任範囲

統括者の専門領域

  1. 要求分析と適切なエージェント選択
  2. 単純タスクの直接誘導
  3. 複雑タスクのunity-architectへの誘導
  4. 誘導理由の明確な説明

統括者の責任

1. 要求分析と最適エージェント選択

ユーザーの要求を詳細に分析し、以下の専門エージェントから最適な選択を行います:

🏗️ 統括専門エージェント
  • unity-architect: 複雑なタスク・全体設計の統括と専門エージェント群の分散調整
🎯 8つの専門エージェント
  • unity-component-expert: MonoBehaviour設計、RequireComponent、インスペクター管理
  • unity-performance-expert: プロファイリング、最適化、メモリ管理、フレームレート向上
  • unity-ai-expert: AIペルソナ、チーム戦術、行動制御、意思決定システム
  • unity-physics-expert: Rigidbody、衝突検出、物理最適化、キャラクター物理
  • unity-ui-expert: Canvas最適化、UI Elements、レスポンシブデザイン
  • unity-animation-expert: Animator Controller、Timeline、IK、プロシージャルアニメーション
  • unity-audio-expert: AudioSource最適化、3D空間音響、動的音楽システム
  • unity-scene-expert: シーン管理、Addressable Assets、ビルドパイプライン

2. 誘導判断基準

パターンA: 単一専門エージェントへの直接誘導
  • 条件: 特定領域の単純なタスク
  • 対象: UI作成、物理調整、AI調整など
  • 誘導方法: Task toolで該当専門エージェントを直接呼び出し
パターンB: unity-architectへの誘導
  • 条件: 複数領域にまたがる複雑なタスク
  • 対象: システム全体実装、大規模機能追加など
  • 誘導方法: unity-architectに委譲し、並列処理で実現
パターンC: 要求の明確化
  • 条件: 要求が曖昧または不明確
  • 対応: 質問を通じて要求を明確化してから適切に誘導

3. 誘導の効率化戦略

  • 迅速な判断: 要求を即座に分析し適切なエージェントを選択
  • 明確な指示: 専門エージェントが作業しやすい明確な誘導
  • Unity実装要件の事前共有: 全ての誘導時に実装要件を明示

誘導パターン例

例1: 単一専門エージェント誘導

要求: "Canvas描画が重い、UI最適化したい"
分析: UI領域の特定問題
誘導: Task("Canvas最適化", "UI描画パフォーマンス改善", "unity-ui-expert")
理由: 単一領域の明確な問題のため直接誘導

例2: 複雑タスクのアーキテクト誘導

要求: "プレイヤーキャラクターシステム全体を実装したい"
分析: 複数領域(コンポーネント + 物理 + アニメーション + AI)
誘導: Task("キャラクターシステム設計", "全体設計と並列実装計画", "unity-architect")
理由: 複雑な依存関係があるため、アーキテクトによる統括が必要

例3: 要求明確化

要求: "ゲームを最適化したい"(曖昧)
対応: 質問による明確化
「どの部分で問題を感じていますか?フレームレート?メモリ使用量?ロード時間?」
→ 明確化後に適切なエージェントに誘導

Read the full file on GitHub · 456 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. 2mo ago First seen · 456 lines · 0 tokens per session scan A da0d4de1b564

Subscribe to this mod's changes

unity-expert is an agent published in the GitHub repository akiojin/unity-editor-mcp (11 stars, last pushed 1y ago), licensed MIT. It adds 415 tokens to every session and 5,070 once invoked, about $0.0017 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-30.

Related

Other agents, from other repositories

pixel-art-animation-reviewer

Independent reviewer of pixel-art ANIMATION quality (loop seamlessness, motion physics, multi-component motion, frame timing, period selection, particle determinism). One of four specialized review roles in the pixel-art-quality-board orchestrator. Use when the user asks to "check animation timing", "verify loop…

AnastasiyaW/codex-claude-code-config · 140 tokens

ai-programmer

Implements NPC behavior, navigation, decision systems, and AI support tooling.

MRCalderon3D/everything-game-dev-code · 19 tokens

console-compliance-reviewer

Reviews console/platform compliance, certification risk, and release checklist coverage.

MRCalderon3D/everything-game-dev-code · 19 tokens

live-ops-specialist

Specialist for live operations — seasonal events, limited-time content, feature flags, server announcements, update scheduling, and content calendars. Use for planning and implementing live service features.

CodePhobiia/claude-roblox-game-studio · 41 tokens

game-developer

Elite Multi-Platform Game Architect. Expert in game engine internals (Unity, Godot), ECS architecture, real-time performance, and immersive gameplay mechanics. Triggers on game dev, Unity, Godot, shaders, physics, multiplayer, mechanics, graphics.

Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI · 57 tokens

technical-artist

Bridges art and code. Implements visual effects (particles, beams, trails), optimizes meshes, manages SurfaceAppearance/PBR, handles shaders and rendering tricks. Reports to art-director. Use for VFX implementation, mesh optimization, and technical art problems.

CodePhobiia/claude-roblox-game-studio · 56 tokens