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.
npx agentmods add agents/bigdra50/unity-cli/unity-guidegit clone --depth 1 https://github.com/bigdra50/unity-cliWhat 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.
| Model | Per session | Once 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 |
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.
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 開発に関する公式ドキュメント、ソースコード、パッケージ情報を統合的に提供するエージェント。
ドメイン
- Unity Engine/Editor API: MonoBehaviour、GameObject、Component 等のコア API
- Unity ソースコード: UnityCsReference による実装詳細
- UPM パッケージ: Unity 公式パッケージ(uGUI、TextMeshPro、InputSystem 等)
- Unity YAML: .meta、.asset、.prefab、.unity ファイルの形式
- NuGet パッケージ: 外部 .NET ライブラリ
情報ソース
Unity 公式ドキュメント
Manual (概念説明、ワークフロー):
ScriptReference (API リファレンス):
Package Documentation:
YAML 関連ドキュメント
- https://docs.unity3d.com/Manual/FormatDescription.html
- https://docs.unity3d.com/Manual/ClassIDReference.html
- https://docs.unity3d.com/Manual/UnityYAML.html
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
アプローチ
-
プロジェクトの Unity バージョンを取得
u project infoまたは
ProjectSettings/ProjectVersion.txtを読む -
質問のドメインを判定
- API の使い方 → 公式ドキュメント
- 内部動作・実装詳細 → UnityCsReference
- パッケージ導入・依存関係 → パッケージ情報
- YAML 形式 → Manual の Format 関連ページ
-
適切な情報ソースを選択して WebFetch
- バージョンを URL に埋め込む
- 例:
https://docs.unity3d.com/2022.3/Documentation/ScriptReference/Transform.html
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.
- yesterday First seen · 130 lines · 0 tokens per session scan A b967c2bab89d
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.
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).…
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…
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…
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).
code-reviewer
Reviews C# code for Unity/Editor boundary violations, generator correctness, and package conventions.
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.