unity-editor-mcp CLAUDE.md

unity-editor-mcp CLAUDE.md is an instructions file for coding agents from akiojin/unity-editor-mcp. It costs 1,996 tokens per session, scanned A, original, MIT.

A Japanese-language development guide for a Unity editor tool, covering implementation, workflow, testing, documentation, assets, and versioning.

In plain words
What is it for?
Use it when developing or testing the Unity editor tool, updating documentation or sample assets, and changing package versions.
Why use it?
It gives agents clear project rules, including required task tracking, error-free completion, Japanese communication, and package release procedures.

Instructions file

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 instructions/akiojin/unity-editor-mcp/claude-md
Clone the repo
git clone --depth 1 https://github.com/akiojin/unity-editor-mcp

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-editor-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/akiojin/unity-editor-mcp/claude-md.svg)](https://agentmods.dev/instructions/akiojin/unity-editor-mcp/claude-md)
Your own site
<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>
Per session 1,996 This file is loaded in full into every session.
When invoked 1,996 The same file — it is already loaded in full.
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.01996 $0.01996
Opus 5 $0.00998 $0.00998
Sonnet 5 $0.00399 $0.00399
Haiku 4.5 $0.00200 $0.00200

Measured 5d ago against content hash 69711e830898, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

CLAUDE.md · 133 lines

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を直接編集してのバージョン変更は禁止

バージョンアップ手順

  1. 変更内容に応じて適切なバージョンコマンドを選択
  2. mcp-serverディレクトリで: npm version [patch|minor|major]
  3. Unity packageのバージョンも同期して更新(unity-editor-mcp/package.json)
  4. git commit & push
  5. npm publish

コードクオリティガイドライン

  • マークダウンファイルはmarkdownlintでエラー及び警告がない状態にする
  • コミットログはcommitlintに対応する

開発ガイドライン

  • 既存のファイルのメンテナンスを無視して、新規ファイルばかり作成するのは禁止。既存ファイルを改修することを優先する。

ドキュメント作成ガイドライン

  • README.mdには設計などは書いてはいけない。プロジェクトの説明やディレクトリ構成などの説明のみに徹底する。設計などは、適切なファイルへのリンクを書く。

プロジェクト構成(リポジトリ全体)

本リポジトリは「ワークスペース(リポジトリ)ルート」を基点として、Unityプロジェクト・Node製MCPサーバ・C# LSP を同居させています。パスは常にワークスペースルート基準で解決します。

  • ワークスペースルート

    • 定義: コーディングエージェント(Codex等)が「起動したディレクトリ」。
    • 設定: ./.unity/config.jsonproject.root に Unity プロジェクトの相対/絶対パスを記載。
    • Node側は起動時にこの設定を読み、以後「固定の WORKSPACE_ROOT」として保持し、Unityへの全コマンドに workspaceRoot を同梱します(process.cwd()の変動には依存しない)。
  • .unity/

    • config.json: ワークスペースの設定。特に project.root は Unity プロジェクトルートを指す(相対なら .unity の1階層上を基準)。
    • capture/: スクリーンショット・動画の固定保存先。一時成果物としてGit管理外(.gitignore 済)。

Read the full file on GitHub · 133 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. 5d ago First seen · 133 lines · 1,996 tokens per session scan A 69711e830898

Subscribe to this mod's changes

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.

Related

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.

zamarrowski/claudemon · 7,681 tokens

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.

krogh-jacobsen/unity-code-style-guide · 4,528 tokens

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.

oliverearl/nes-php-glfw · 2,719 tokens

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.

sylverb/game-and-watch-retro-go-sd · 2,946 tokens

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.

dungnotnull/base-building-trap-defense-design-agent-skill · 1,910 tokens

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.

mordor-forge/trident-mcp · 1,465 tokens