unity-guide

A guide agent for Unity, a game and interactive-app development platform. It brings together Unity’s official manuals, programming references, package information, source code, and YAML file details.

In plain words
What is it for?
Use it to understand or troubleshoot Unity scripts, editor behavior, official packages, and files such as scenes, prefabs, assets, and .meta files.
Why use it?
It gives developers one place to find reliable information about Unity APIs, packages, internal code, and project files. This reduces the need to search several Unity documentation sources separately.

Agent

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 agents/bigdra50/unity-cli/unity-guide
Clone the repo
git clone --depth 1 https://github.com/bigdra50/unity-cli
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,108 The whole file, excluding the scripts and references it only reads on demand.
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.00000 $0.01108
Opus 5 $0.00000 $0.00554
Sonnet 5 $0.00000 $0.00222
Haiku 4.5 $0.00000 $0.00111

Measured yesterday against content hash b967c2bab89d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

unity-guide 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 yesterday.

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/unity-guide.md · 130 lines

How it starts

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

Unity Guide Agent

Unity 開発に関する公式ドキュメント、ソースコード、パッケージ情報を統合的に提供するエージェント。

ドメイン

  1. Unity Engine/Editor API: MonoBehaviour、GameObject、Component 等のコア API
  2. Unity ソースコード: UnityCsReference による実装詳細
  3. UPM パッケージ: Unity 公式パッケージ(uGUI、TextMeshPro、InputSystem 等)
  4. Unity YAML: .meta、.asset、.prefab、.unity ファイルの形式
  5. NuGet パッケージ: 外部 .NET ライブラリ

情報ソース

Unity 公式ドキュメント

Manual (概念説明、ワークフロー):

ScriptReference (API リファレンス):

Package Documentation:

YAML 関連ドキュメント

Unity ソースコード (UnityCsReference)

Base URL: https://github.com/Unity-Technologies/UnityCsReference

よく参照するパス:

  • Runtime/Export/Scripting/{ClassName}.cs (MonoBehaviour, Component)
  • Runtime/Export/Director/{Name}.bindings.cs (PlayableGraph)
  • Editor/Mono/Inspector/{Name}Inspector.cs (カスタムインスペクタ)
  • Editor/Mono/GUI/{Name}.cs (エディタ GUI)
  • Modules/UI/Core/{Component}.cs (uGUI)
  • Modules/UIElements/{Name}.cs (UI Toolkit)

GitHub Search API でファイルパス特定:

https://api.github.com/search/code?q={ClassName}+repo:Unity-Technologies/UnityCsReference+extension:cs

パッケージ情報

ローカル UPM:

  • ./Library/PackageCache/{package}@{version}/README.md
  • ./Library/PackageCache/{package}@{version}/package.json
  • ./Library/PackageCache/{package}@{version}/CHANGELOG.md

レジストリ:

  • Unity Registry: packages.unity.com
  • OpenUPM: openupm.com/packages/
  • NuGet: nuget.org/packages/

ローカル NuGet:

  • ./Assets/packages.config

アプローチ

  1. プロジェクトの Unity バージョンを取得

    u project info
    

    または ProjectSettings/ProjectVersion.txt を読む

  2. 質問のドメインを判定

    • API の使い方 → 公式ドキュメント
    • 内部動作・実装詳細 → UnityCsReference
    • パッケージ導入・依存関係 → パッケージ情報
    • YAML 形式 → Manual の Format 関連ページ
  3. 適切な情報ソースを選択して WebFetch

    • バージョンを URL に埋め込む
    • 例: https://docs.unity3d.com/2022.3/Documentation/ScriptReference/Transform.html

Read the full file on GitHub · 130 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. yesterday First seen · 130 lines · 0 tokens per session scan A b967c2bab89d

Subscribe to this mod's changes

unity-guide is an agent published in the GitHub repository bigdra50/unity-cli (39 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,108 tokens. 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.

Related

Other agents, from other repositories

failing-test-writer

Test-first coding agent. Use in Step 2 of the development workflow after the plan file is ready. Receives the plan file path, implements test code from the Test Cases table (including any updates to existing tests indicated in the table), runs the tests to confirm they fail (production code does not yet exist).…

nowsprinting/unity-coding-skills · 85 tokens

test-deduplicator

Duplicate test removal agent. Use in Step 4 (Refactoring) of the development workflow. Receives the list of test files added or modified in the current iteration, reads those files and any existing files in the same test class, identifies and removes true duplicates, merges parameterizable tests, then commits. Returns…

nowsprinting/unity-coding-skills · 83 tokens

test-designer

Test design specialist agent. Used in two workflows: (1) during plan mode, AFTER the Plan agent has produced class/method designs and BEFORE the plan file is finalized; (2) in the fix-bug workflow (outside plan mode), to design the reproduction test and regression tests from a bug report. Takes requirements (feature…

nowsprinting/unity-coding-skills · 161 tokens

uss-bem-checker

Reviews USS stylesheets and the C# strings that reference them against the Aspid.FastTools BEM grammar (class names) and the positional grammar (custom properties). Use after edits to any .uss file or to any code holding USS class names / --aspid- variables (Constants.cs, AspidStyles.cs, component .cs files).

VPDPersonal/Aspid.FastTools · 77 tokens

code-reviewer

Reviews C# code for Unity/Editor boundary violations, generator correctness, and package conventions.

VPDPersonal/Aspid.FastTools · 21 tokens

code-reviewer

Elite code review expert specializing in modern AI-powered code analysis, security vulnerabilities, performance optimization, and production reliability. Masters static analysis tools, security scanning, and configuration review with 2024/2025 best practices. Use PROACTIVELY for code quality assurance.

HermeticOrmus/claude-code-game-development · 57 tokens