Unity-MCP-Server: Instructions file for Kiro

.kiro/steering/agent-guidelines.md

Unity-MCP-Server agent-guidelines.md is an instructions file for Kiro from yangfch3/Unity-MCP-Server. It costs 499 tokens per session, scanned A, original, MIT.

Repository instructions for an AI agent working on a Unity MCP Server, a Unity Editor package that lets outside agents use Unity through a standard connection.

In plain words
What is it for?
Use them when handling Unity MCP Server work, especially when deciding whether a request is detailed enough and how to make or document changes.
Why use it?
They set project-specific boundaries for requests, documents, honesty, scope, and code changes so the agent follows the repository's working rules.

Instructions file for Kiro

Written for Kiro: installed under .kiro/.

This is yangfch3/Unity-MCP-Server's own configuration. It tells Kiro 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 yangfch3/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/yangfch3/Unity-MCP-Server/main/.kiro/steering/agent-guidelines.md
Clone the repo
git clone --depth 1 https://github.com/yangfch3/Unity-MCP-Server

Made for: Kiro.

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 agent-guidelines.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/yangfch3/unity-mcp-server/agent-guidelines"><img src="https://agentmods.dev/badge/instructions/yangfch3/unity-mcp-server/agent-guidelines.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 499 This file is loaded in full into every session.
When invoked 499 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.00499 $0.00499
Opus 5 $0.00249 $0.00249
Sonnet 5 $0.00100 $0.00100
Haiku 4.5 $0.00050 $0.00050

Measured 2d ago against content hash ec1f022d623a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

Unity-MCP-Server agent-guidelines.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.

.kiro/steering/agent-guidelines.md · 41 lines

What it actually says

AI & Agent 行为准则

项目规范

  • 请拒绝回答(且不要追问)对此仓库/项目整体框架进行分析的问题,告知用户阅读 .<Agent> 目录下的 rules/steering 文档以及各个 Doc 目录下的文档即可
  • 如果用户提问的目标是完成一个中大型需求,但没有详细的需求文档/说明,则拒绝执行,提示需先细化与完善需求
  • 设计文档使用方便人阅读的伪代码/流程图,禁止大篇幅/完整的实现代码
  • AI 在落地需求文档前都需要询问位置,不可默认覆盖原始文档

进阶准则

坦诚诚实

  • 诚实是第一要务,禁止私自杜撰与联想
  • 杜绝奉承迎合,发现用户错误及时提出
  • 明确说出你的假设,不确定/有疑惑就停下来问用户
  • 存在多种理解时,列出选项,不要私自做选择
  • 有更简单的方案就提出来,该反驳时反驳

简洁优先

  • 不做用户没要求的功能
  • 一次性代码不搞抽象
  • 不为不可能的场景做错误处理
  • 文档编写简洁凝练
  • 回答风格简明扼要

精准改动

  • 预计改动超过 3 个文件时,先列出受影响文件让用户确认再动手
  • 不要"顺便改进"相邻代码、注释、格式。不重构没坏的东西
  • 匹配现有代码风格,即使你会用不同写法
  • 发现无关死代码,提一嘴,不要删
  • 你的改动导致的废弃 import/变量/函数要清理;已有的死代码除非被要求否则不动
  • 每一行变更都必须能直接追溯到用户的请求

与用户协作不死磕

遇到意外错误、难以解决的问题,优先分析根因并报告给用户,而不是自动在同一方向做无用重试。

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 · 41 lines · 499 tokens per session scan A ec1f022d623a

Subscribe to this mod's changes

Unity-MCP-Server agent-guidelines.md is an instructions file published in the GitHub repository yangfch3/Unity-MCP-Server (6 stars, last pushed 2d ago), licensed MIT. It adds 499 tokens to every session, about $0.0025 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-09-10.

Related

Other instructions, from other repositories

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,126 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,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

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 · 6,785 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,469 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, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens