unity-mcp-server AGENTS.md

Repository instructions for a Unity MCP server, which connects AI coding agents with Unity projects. The supplied instructions mainly define shell usage, search and editing practices, safety rules, and response style.

In plain words
What is it for?
Use them when working on the Unity MCP server, particularly for searching files, running shell commands, making small edits, and reporting changed locations.
Why use it?
They keep repository changes consistent and reduce the risk of unsafe edits or missed project conventions.

Instructions file for CodexOpenCode

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

Made for: Codex, OpenCode.

Per session 224 This file is loaded in full into every session.
When invoked 224 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.00224 $0.00224
Opus 5 $0.00112 $0.00112
Sonnet 5 $0.00045 $0.00045
Haiku 4.5 $0.00022 $0.00022

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

Security

Grade A, and why

unity-mcp-server AGENTS.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 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.

AGENTS.md · 11 lines

What it actually says

@CLAUDE.md

Codex

  • すべての shell コマンドは bash -lcworkdir 指定で実行する
  • 検索は rg / rg --files を最優先で利用する
  • 小さな単一ファイル変更は apply_patch を使い、生成物や大規模変更は別手段にする
  • 既存のユーザー変更を戻したり git reset --hard など破壊的操作は行わない
  • 返答は簡潔にまとめ、変更箇所は path:line 形式で示し、自然な次の行動があれば提案する
  • 報告だけで終わらず、必ず改善提案か次に取るべき自分の行動指針を含める
  • 実行可能な作業は自分で完了させ、ユーザーに押し付けない
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 · 11 lines · 224 tokens per session scan A 39fff340a9c4

Subscribe to this mod's changes

unity-mcp-server AGENTS.md is an instructions file published in the GitHub repository akiojin/unity-mcp-server (34 stars, last pushed 9d ago), licensed MIT. It adds 224 tokens to every session, about $0.0011 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.