Borrowing it
Nothing to install: this file belongs to bigdra50/unity-cli. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/bigdra50/unity-cli/main/CLAUDE.mdgit clone --depth 1 https://github.com/bigdra50/unity-cliWrote 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.
[](https://agentmods.dev/instructions/bigdra50/unity-cli/claude-md)<a href="https://agentmods.dev/instructions/bigdra50/unity-cli/claude-md"><img src="https://agentmods.dev/badge/instructions/bigdra50/unity-cli/claude-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.
<a href="https://agentmods.dev/instructions/bigdra50/unity-cli/claude-md"><img src="https://agentmods.dev/badge/instructions/bigdra50/unity-cli/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00985 | $0.00985 |
| Opus 5.5 | $0.00394 | $0.00394 |
| Sonnet 5.5 | $0.00197 | $0.00197 |
| Haiku 4.5 | $0.00098 | $0.00098 |
Grade A, and why
unity-cli CLAUDE.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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
Unity CLI + Relay Server for controlling Unity Editor via TCP. Supports multiple Unity instances with domain reload resilience.
CLI ←──TCP:6500──→ Relay Server (Python) ←──TCP:6500──→ Unity Editor(s)
Commands
# Install globally (provides: unity-cli, u, unity commands)
uv tool install .
# Run Relay Server standalone
unity-relay --port 6500
All subcommands are self-documenting: u --help, u <command> --help.
Frequently used:
u state # Get editor state
u play / u stop / u pause # Playmode control
u refresh # Refresh AssetDatabase
u screenshot -s game -p ./out.png # Capture screenshot
u screenshot --burst -n 10 # Burst capture
u console get -l E # Error logs
u scene hierarchy # Scene hierarchy
u tests run edit # Run EditMode tests
u recorder start --fps 30 # Start frame recording
u recorder stop # Stop recording
u uitree dump -p "GameView" # UI Toolkit tree
Architecture
State Machine
DISCONNECTED → (REGISTER) → READY → (COMMAND) → BUSY → (COMMAND_RESULT) → READY
↓ ↑
(beforeReload) (afterReload)
↓ ↑
RELOADING ─────────────────────────────────────────┘
Key Implementation Details
Relay Server
- Port: 6500 (default)
- Heartbeat: 5s interval, 15s timeout, 3 retries
- RELOADING timeout: 30s (extended)
- Single Outstanding PING rule
- Queue: FIFO, max 10, disabled by default
- Idempotency: cache success responses for 60s
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.
- 3mo ago First seen · 132 lines · 985 tokens per session scan A 74ac50d13378
unity-cli CLAUDE.md is an instructions file published in the GitHub repository bigdra50/unity-cli (39 stars, last pushed 5mo ago), licensed MIT. It adds 985 tokens to every session, about $0.0039 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-30.
unity-cli CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| unity-cli CLAUDE.mdbigdra50/unity-cli | Instructions file | 39 | 5mo ago | MIT | A | 985 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 3,303 | GitHub Copilot |
| deno copilot-instructions.mddenoland/deno | Instructions file | 109k | yesterday | MIT | A | 3,077 | GitHub Copilot |