unity-expert

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

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.

agentmods
npx agentmods add agents/akiojin/unity-editor-mcp/unity-expert
Clone the repo
git clone --depth 1 https://github.com/akiojin/unity-editor-mcp

Made for: Claude Code.

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. Scan, not verified.
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 $0.00415 $0.05070
Opus 5 $0.00208 $0.02535
Sonnet 5 $0.00083 $0.01014
Haiku 4.5 $0.00042 $0.00507

Measured 2d ago against content hash da0d4de1b564, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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. 2d 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 12mo ago), licensed MIT. It adds 415 tokens to every session and 5,070 once invoked, about $0.0021 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.