Unity-Open-MCP
AGENTS.md15 starsChanged 5 months agoMITView on GitHub
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository26 other files it gives its agents.
- demo/AGENTS.mdAGENTS.md
- hub/AGENTS.mdAGENTS.md
- mcp-server/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- skills/AGENTS.mdAGENTS.md
- animationSkill
- audioSkill
- cinemachineSkill
- constraintsSkill
- input-simulationSkill
- inputsystemSkill
- lightingSkill
- memoryprofilerSkill
- navigationSkill
- particlesystemSkill
- probuilderSkill
- shadergraphSkill
- splinesSkill
- spriteatlasSkill
- terrainSkill
- textureSkill
- tilemapSkill
- timelineSkill
- uiSkill
- vfxSkill
- unity-open-mcpSkill
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Migrations: Do not implement data migrations, compatibility shims, or upgrade paths for persisted data unless explicitly requested.
- Very specific: line 25
Docs are part of done: If a change affects public behavior, API contracts, architecture boundaries, or developer workflows, update tracked …
- Distinctive: line 34
Agent reporting requirement: If code changes but tracked docs are not updated, explicitly state why docs were not needed in the final …
- Very specific: line 41
Do not duplicate: before adding an entry, check whether specs/feedback.md already has an entry for the same tool/issue.
- Distinctive: line 51
Only log genuine issues. Do not log expected/working behavior, successful calls, or personal preference rants.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent rules
Rule scope and precedence
- Ancestor
AGENTS.mdrules 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/testablessync.
- Root (
Universal contributor rules
- Specs (
specs/). This optional maintainer working tree is gitignored. Nevergit add, commit, or push anything underspecs/. 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 exposespecs/paths, milestone/spec identifiers, execution-plan task numbers, or internal question citations.AGENTS.mdfiles 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/referencesmust 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 pagedocs/mcp-tools-comparison.mdand provenance logpackages/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.mdand/ordocs/in the same task. - Agent skill sync.
skills/unity-open-mcp/SKILL.mdis agent-facing guidance. The MCP package owns its synchronization with tool/capability/routing changes and the owning page indexed bydocs/api/mcp-tools.md; follow MCP server rules — Agent skill sync. Skill install paths come fromskills/client-paths.json, not per-package constants. - Docs layout and ownership.
- Root
README.mdstays short: intro, current feature set, quick links, and a Documentation section that is the docs index (no separatedocs/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 (Quick setup, Key features, Unity Hub Pro, Contributing). When a new top-level doc is added, link it from this section in the same task.docs/architecture.mdcovers repo structure and cross-package boundaries.docs/api.mdis the index for externally relevant API interfaces and contracts.
- Root
- 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.
Maintainer process when specs/ is available
- You may read and edit gitignored working docs under
specs/, but keep them out of version control. - Milestone validation checklists. Apply this only while executing a milestone plan under
specs/execution/. During the final validation pass, create or update its manual checklist followingspecs/execution/manual-checklist-convention.md. Cover every human-driven Done criterion, link it from the milestone plan/spec, and do not mark the milestone DONE until a representative walkthrough passes. - MCP-experience feedback. This is a maintainer process obligation, not a CI-enforced check. If this task used
unity_open_mcp_*orunity_senses_*andspecs/is available, review the calls before handoff. Record each genuine error, unexpected result, retry, friction point, or improvement idea inspecs/feedback.md(create it if needed); write nothing for a clean session.- Do not duplicate: before adding an entry, check whether
specs/feedback.mdalready has an entry for the same tool/issue; if so, append a+1 / reproduces on <date>note to that entry instead of creating a new one. - Entry format:
- **Date:** YYYY-MM-DD - **Tool/sense:** unity_open_mcp_<name> (or unity_senses_<name>) - **What happened:** <observed behavior, with the error code / message if any> - **Expected:** <correct behavior> - **Severity:** bug | friction | suggestion - **Suggested fix:** <idea or existing internal-plan pointer> - Only log genuine issues. Do not log expected/working behavior, successful calls, or personal preference rants. Keep entries concrete and reproducible (include the error code, the args that triggered it, the route taken).
- Do not duplicate: before adding an entry, check whether
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

