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.
curl -O https://raw.githubusercontent.com/akiojin/unity-editor-mcp/main/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/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/instructions/akiojin/unity-editor-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/akiojin/unity-editor-mcp/claude-md.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.01996 | $0.01996 |
| Opus 5.5 | $0.00798 | $0.00798 |
| Sonnet 5.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 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.
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.
- 2mo 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 1y ago), licensed MIT. It adds 1,996 tokens to every session, about $0.0080 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.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deno copilot-instructions.md
Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.