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.
npx agentmods add instructions/akiojin/unity-editor-mcp/claude-mdgit clone --depth 1 https://github.com/akiojin/unity-editor-mcpWrote 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/instructions/akiojin/unity-editor-mcp/claude-md)<a href="https://agentmods.dev/instructions/akiojin/unity-editor-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/akiojin/unity-editor-mcp/claude-md.svg" alt="Measured on agentmods" 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 | $0.01996 | $0.01996 |
| Opus 5 | $0.00998 | $0.00998 |
| Sonnet 5 | $0.00399 | $0.00399 |
| Haiku 4.5 | $0.00200 | $0.00200 |
Grade A, and why
unity-editor-mcp CLAUDE.md 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 5d 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 — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
このファイルは、このリポジトリでコードを扱う際のガイダンスを提供します。
開発指針
🛠️ 技術実装指針
- 設計・実装は複雑にせずに、シンプルさの極限を追求してください
- ただし、ユーザビリティと開発者体験の品質は決して妥協しない
- 実装はシンプルに、開発者体験は最高品質に
- CLI操作の直感性と効率性を技術的複雑さより優先
📝 設計ガイドライン
- 設計に関するドキュメントには、ソースコードを書かないこと
開発品質
完了条件
- エラーが発生している状態で完了としないこと。必ずエラーが解消された時点で完了とする。
開発ワークフロー
基本ルール
- 作業(タスク)を完了したら、変更点を日本語でコミットログに追加して、コミット&プッシュを必ず行う
- 作業(タスク)は、最大限の並列化をして進める
- 作業(タスク)は、最大限の細分化をしてToDoに登録する
- 作業(タスク)の開始前には、必ずToDoを登録した後に作業を開始する
- 作業(タスク)は、忖度なしで進める
コミュニケーションガイドライン
- 回答は必ず日本語
ドキュメント管理
- ドキュメントはREADME.md/README.ja.mdに集約する
Assets配下の扱い(サンプル/Unityプロジェクト側)
- 目的: サンプル・検証・デモ・手動動作確認用のシーン/プレハブ/補助スクリプトを配置。
- 禁止: unity-editor-mcp 実装本体(ランタイム/エディタ拡張の主要コード)を置かない。UPM配布の対象にも含めない。
- 編集: 必要最小限に留める。C#編集は外部CLIで行い、Assets側は参照/設定のみで成立させる。
バージョン管理
npm versionコマンドの使用
バージョンアップは必ずnpm versionコマンドを使用する:
- パッチバージョン:
npm version patch(例: 2.9.0 → 2.9.1) - マイナーバージョン:
npm version minor(例: 2.9.0 → 2.10.0) - メジャーバージョン:
npm version major(例: 2.9.0 → 3.0.0)
重要: package.jsonを直接編集してのバージョン変更は禁止
バージョンアップ手順
- 変更内容に応じて適切なバージョンコマンドを選択
- mcp-serverディレクトリで:
npm version [patch|minor|major] - Unity packageのバージョンも同期して更新(unity-editor-mcp/package.json)
- git commit & push
- npm publish
コードクオリティガイドライン
- マークダウンファイルはmarkdownlintでエラー及び警告がない状態にする
- コミットログはcommitlintに対応する
開発ガイドライン
- 既存のファイルのメンテナンスを無視して、新規ファイルばかり作成するのは禁止。既存ファイルを改修することを優先する。
ドキュメント作成ガイドライン
- README.mdには設計などは書いてはいけない。プロジェクトの説明やディレクトリ構成などの説明のみに徹底する。設計などは、適切なファイルへのリンクを書く。
プロジェクト構成(リポジトリ全体)
本リポジトリは「ワークスペース(リポジトリ)ルート」を基点として、Unityプロジェクト・Node製MCPサーバ・C# LSP を同居させています。パスは常にワークスペースルート基準で解決します。
-
ワークスペースルート
- 定義: コーディングエージェント(Codex等)が「起動したディレクトリ」。
- 設定:
./.unity/config.jsonのproject.rootに Unity プロジェクトの相対/絶対パスを記載。 - Node側は起動時にこの設定を読み、以後「固定の WORKSPACE_ROOT」として保持し、Unityへの全コマンドに
workspaceRootを同梱します(process.cwd()の変動には依存しない)。
-
.unity/config.json: ワークスペースの設定。特にproject.rootは Unity プロジェクトルートを指す(相対なら.unityの1階層上を基準)。capture/: スクリーンショット・動画の固定保存先。一時成果物としてGit管理外(.gitignore済)。
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.
- 5d ago First seen · 133 lines · 1,996 tokens per session scan A 69711e830898
unity-editor-mcp CLAUDE.md is an instructions file published in the GitHub repository akiojin/unity-editor-mcp (11 stars, last pushed 12mo ago), licensed MIT. It adds 1,996 tokens to every session, about $0.0100 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.
Other instructions, from other repositories
claudemon CLAUDE.md
Instructions for zamarrowski/claudemon, covering ai agent guidelines, project shape, general guidelines, general rules and guards & defensive code.
unity-code-style-guide AGENTS.md
Instructions for krogh-jacobsen/unity-code-style-guide, covering agents.md — unity 6 c, project setup — edit this block, never do these — they corrupt the project, deprecated in unity 6 and if you read nothing else.
nes-php-glfw copilot-instructions.md
Instructions for oliverearl/nes-php-glfw, covering github copilot development guidelines for nes emulator, agent document source of truth, project overview, code style & standards and documentation.
game-and-watch-retro-go-sd CLAUDE.md
Claude Code instructions for sylverb/game-and-watch-retro-go-sd, covering claude.md, what this project is, build / flash workflow, architecture and three storage tiers, one elf.
base-building-trap-defense-design-agent-skill CLAUDE.md
Instructions for dungnotnull/base-building-trap-defense-design-agent-skill, covering claude.md — skill 250: base-building-trap-defense-design, skill identity, problem this skill solves, harness flow summary and sub-skills.
trident-mcp AGENTS.md
Instructions for mordor-forge/trident-mcp, covering agents.md, what this is, build and test, single-file verification and e2e tests.