Unity-Open-MCP: Instructions file for Codex

AGENTS.md

Unity-Open-MCP AGENTS.md is an instructions file for Codex, OpenCode from AlexeyPerov/Unity-Open-MCP. It costs 1,376 tokens per session, scanned A, original, MIT.

Repository instructions describing how agent rules apply across the Unity-Open-MCP project and its folders.

In plain words
What is it for?
Use them when contributing to Unity-Open-MCP, especially when changes cross packages such as the bridge, verification tools, extensions, MCP server, or user interface.
Why use it?
They help coding agents follow the right project rules for the files they change, including higher-level rules and more specific folder rules.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is AlexeyPerov/Unity-Open-MCP's own configuration. It tells Codex and OpenCode how to work on Unity-Open-MCP 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-Open-MCP configures →

Reuse

Borrowing it

Nothing to install: this file belongs to AlexeyPerov/Unity-Open-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.

Copy the file
curl -O https://raw.githubusercontent.com/AlexeyPerov/Unity-Open-MCP/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/AlexeyPerov/Unity-Open-MCP

Made for: Codex, OpenCode.

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-Open-MCP AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/alexeyperov/unity-open-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/alexeyperov/unity-open-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,376 This file is loaded in full into every session.
When invoked 1,376 The same file — it is already loaded in full.
Security scan A 0 findings. 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.01376 $0.01376
Opus 5.5 $0.00550 $0.00550
Sonnet 5.5 $0.00275 $0.00275
Haiku 4.5 $0.00138 $0.00138

Measured 14d ago against content hash 35a11351dc22, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Unity-Open-MCP 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 14d 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 · 52 lines

How it starts

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

Agent rules

Rule scope and precedence

  • Ancestor AGENTS.md rules always apply. A deeper file may add requirements or narrow an allowed choice for its subtree. It may contradict an ancestor only when that ancestor explicitly grants an exception.
  • For a cross-package change, satisfy the union of the rules governing every touched file; sibling rule files are not inherited automatically.
  • Example: root permits tracked-doc updates and a package may narrow that to one owning API page. A package may not allow persisted-data migrations because root forbids them unless explicitly requested.
  • Current local layers:
    • Root (AGENTS.md) — repository-wide safety, documentation, and maintainer process.
    • packages/bridge/AGENTS.md — bridge transport, shipped embedded domains, registration, gates, and Editor UI.
    • packages/verify/AGENTS.md — verify rules, fixes, issue codes, and capability catalog sync.
    • packages/extensions/AGENTS.md — community/third-party extension packs and their template.
    • mcp-server/AGENTS.md — MCP tools, routing, capabilities, and offline reads.
    • hub/AGENTS.md — SvelteKit/Tauri UI, state, data, and platform neutrality.
    • scripts/AGENTS.md — version sync, token-estimate codegen, and MCP test suites.
    • skills/AGENTS.md — agent playbooks and client install-path manifest.
    • demo/AGENTS.md — Unity integration fixture, manifest/testables sync.

Universal contributor rules

  • Specs (specs/). This optional maintainer working tree is gitignored. Never git add, commit, or push anything under specs/. Its absence in a public clone is not a blocker.
  • Migrations. Do not implement data migrations, compatibility shims, or upgrade paths for persisted data unless explicitly requested. Prefer simplifying storage and codecs over backward compatibility.
  • No internal references in public surfaces. README files, docs/, UI strings, and shipped skills must not expose specs/ paths, milestone/spec identifiers, execution-plan task numbers, or internal question citations. AGENTS.md files and source comments may use an internal identifier only when it materially helps maintainers; prefer stable contract names even there.
  • No reference-project attribution outside specs/. Names, repository paths, handles, and attribution to projects under /references must not appear in source comments, checked-in docs, README files, skills, or UI strings. State contracts on their own merits. The only tracked exceptions are the deliberate comparison page docs/mcp-tools-comparison.md and provenance log packages/verify/EXTRACTION.md.
  • Docs are part of done. If a change affects public behavior, API contracts, architecture boundaries, or developer workflows, update tracked docs in README.md and/or docs/ in the same task.
  • Agent skill sync. skills/unity-open-mcp/SKILL.md is agent-facing guidance. The MCP package owns its synchronization with tool/capability/routing changes and the owning page indexed by docs/api/mcp-tools.md; follow MCP server rules — Agent skill sync. Skill install paths come from skills/client-paths.json, not per-package constants.
  • Docs layout and ownership.
    • Root README.md stays short: intro, current feature set, quick links, and a Documentation section that is the docs index (no separate docs/README.md).
    • README.md's Documentation section is the docs index and must link every top-level doc, without duplicating links already provided by other README sections (Key features, Quick setup, Contributing). When a new top-level doc is added, link it from this section in the same task.
    • docs/architecture.md covers repo structure and cross-package boundaries.
    • docs/api.md is the index for externally relevant API interfaces and contracts.
  • Doc update scope rule. Edit only docs that match the changed area; avoid unrelated rewrites. If a new docs domain is introduced, add it to README.md's Documentation section in the same task.
  • When docs updates can be skipped. Typos, formatting-only edits, comments-only changes, and internal refactors that do not alter behavior or contracts.
  • Agent reporting requirement. If code changes but tracked docs are not updated, explicitly state why docs were not needed in the final handoff message.

Read the full file on GitHub · 52 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. 14d ago Changed · -4 tokens per session 35a11351dc22
  2. 27d ago Changed · -1 lines · -35 tokens per session 7cd9c47d045a
  3. 1mo ago First seen · 53 lines · 1,415 tokens per session scan A 985e9073a40b

Subscribe to this mod's changes

Unity-Open-MCP AGENTS.md is an instructions file published in the GitHub repository AlexeyPerov/Unity-Open-MCP (17 stars, last pushed 14d ago), licensed MIT. It adds 1,376 tokens to every session, about $0.0055 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-31.

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,581 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