unity-mcp-server: Instructions file for Claude Code

CLAUDE.md

unity-mcp-server CLAUDE.md is an instructions file for Claude Code from akiojin/unity-mcp-server. It costs 14,177 tokens per session, scanned A, original, MIT.

Development instructions for a Unity MCP server, which lets AI tools communicate with the Unity game-development environment. They describe the project's design, implementation, and feature-development process.

In plain words
What is it for?
Designing and implementing Unity MCP features, following the project's specification-driven workflow, recording Japanese commit messages, and completing the required version-control steps.
Why use it?
They set rules for keeping the code simple, resolving errors before completion, and defining a feature through a specification, plan, and task list.

Instructions file for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is akiojin/unity-mcp-server's own configuration. It tells Claude Code how to work on unity-mcp-server 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-mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to akiojin/unity-mcp-server. 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-mcp-server/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/akiojin/unity-mcp-server

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

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

agentmods 80×15 button for unity-mcp-server CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/akiojin/unity-mcp-server/claude-md"><img src="https://agentmods.dev/badge/instructions/akiojin/unity-mcp-server/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14,177 This file is loaded in full into every session.
When invoked 14,177 The same file — it is already loaded in full.
Security scan A 1 finding. 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.14177 $0.14177
Opus 5.5 $0.05671 $0.05671
Sonnet 5.5 $0.02835 $0.02835
Haiku 4.5 $0.01418 $0.01418

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

Security

Grade A, and why

unity-mcp-server CLAUDE.md scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl "https://codecov.io/api/v2/github/akiojin/repos/unity-mcp-server"
CLAUDE.md · 1,207 lines

How it starts

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

CLAUDE.md

このファイルは、このリポジトリでコードを扱う際のガイダンスを提供します。

開発指針

🛠️ 技術実装指針

  • 設計・実装は複雑にせずに、シンプルさの極限を追求してください
  • ただし、ユーザビリティと開発者体験の品質は決して妥協しない
  • 実装はシンプルに、開発者体験は最高品質に
  • CLI操作の直感性と効率性を技術的複雑さより優先

📝 設計ガイドライン

  • 設計に関するドキュメントには、ソースコードを書かないこと

開発品質

完了条件

  • エラーが発生している状態で完了としないこと。必ずエラーが解消された時点で完了とする。

開発ワークフロー

基本ルール

  • 作業(タスク)を完了したら、変更点を日本語でコミットログに追加して、コミット&プッシュを必ず行う
  • この環境には git と gh コマンドが揃っているため、push や PR 作成は git push や gh pr create などを用いて自力で実行し、「できない」と言い訳しないこと
  • 作業(タスク)は、最大限の並列化をして進める
  • 作業(タスク)は、最大限の細分化をしてToDoに登録する
  • 作業(タスク)の開始前には、必ずToDoを登録した後に作業を開始する
  • 作業(タスク)は、忖度なしで進める

Spec駆動開発ライフサイクル

新機能の開発は、以下の3ステップで進めます:

  1. /speckit.specify: 機能仕様書を作成 (specs/SPEC-[UUID8桁]/spec.md)

    • ビジネス要件とユーザーストーリーを定義
    • 「何を」「なぜ」に焦点を当てる(「どのように」は含めない)
    • SPECディレクトリを自動作成(specs/SPEC-xxxxxxxx/)
    • Gitブランチ/Worktreeは作成しない(必要なら手動運用)
  2. /speckit.plan: 実装計画を作成 (specs/SPEC-[UUID8桁]/plan.md)

    • 技術スタック、アーキテクチャ、データモデルを設計
    • 憲章チェック(TDD/LLM最適化/シンプルさの原則)
    • Phase 0: 技術リサーチ (research.md)
    • Phase 1: 設計とコントラクト (data-model.md, contracts/, quickstart.md)
    • Phase 2: タスク計画 (tasks.md)
  3. /speckit.tasks: 実行可能なタスクに分解 (specs/SPEC-[UUID8桁]/tasks.md)

    • Setup/Test/Core/Integration/Polishに分類
    • 並列実行可能なタスクに[P]マーク付与
    • 依存関係を明確化
Spec命名規則
  • 形式: SPEC-[UUID8桁]
  • UUID生成: ランダムな16進数(小文字)8桁(a-f0-9)
    • ✅ 正しい例: SPEC-a1b2c3d4, SPEC-3f8e9d2a, SPEC-7c4b1e5f
    • ❌ 間違い例: SPEC-001, SPEC-gameobj, SPEC-core-001
  • 禁止事項:
    • 連番の使用(001, 002...)
    • 意味のある名前(gameobj, core, ui...)
    • 大文字の使用(UUID部分は小文字のみ)
  • 生成方法: uuidgen | tr '[:upper:]' '[:lower:]' | cut -c1-8 またはオンラインUUID生成ツール
ブランチ運用(任意)

Speckitは要件ディレクトリ(specs/SPEC-xxxxxxxx/)のみを作成し、Gitブランチ/Worktreeは作成しません。

現在の作業対象要件の選択:

  • /speckit.specify 実行時に、対象の FEATURE_ID が .specify/current-feature に保存されます。
  • 以降の /speckit.plan・/speckit.tasks などは、この値を参照して specs/SPEC-xxxxxxxx/ を特定します。
  • 明示的に切り替えたい場合は、環境変数 SPECIFY_FEATURE=SPEC-xxxxxxxx を設定しても構いません。

Read the full file on GitHub · 1,207 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 · 1,207 lines · 14,177 tokens per session scan A 3346a7b51f6c

Subscribe to this mod's changes

unity-mcp-server CLAUDE.md is an instructions file published in the GitHub repository akiojin/unity-mcp-server (35 stars, last pushed 3d ago), licensed MIT. It adds 14,177 tokens to every session, about $0.0567 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). 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

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).

microsoft/vscode · 9,715 tokens

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.

vercel/next.js · 7,461 tokens

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).

microsoft/vscode · 5,262 tokens

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.

langchain-ai/langchain · 4,680 tokens

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).

microsoft/vscode · 2,731 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens