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 commands/xeldaralz/everything-claude-unity/unity-testgit clone --depth 1 https://github.com/XeldarAlz/everything-claude-unityWrote 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/commands/xeldaralz/everything-claude-unity/unity-test)<a href="https://agentmods.dev/commands/xeldaralz/everything-claude-unity/unity-test"><img src="https://agentmods.dev/badge/commands/xeldaralz/everything-claude-unity/unity-test.svg" alt="Measured on agentmods" 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 | $0.00034 | $0.00443 |
| Opus 5 | $0.00017 | $0.00221 |
| Sonnet 5 | $0.00007 | $0.00089 |
| Haiku 4.5 | $0.00003 | $0.00044 |
Grade A, and why
unity-test 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 4d 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.
What it actually says
/unity-test — Write and Run Tests
Write tests for the project and execute them via MCP.
Scope
If the user specified a scope: test $ARGUMENTS If no scope: identify the most critical untested code paths.
Workflow
Use the unity-test-runner agent to:
Step 1: Assess Test Coverage
- Find existing test assemblies (
.asmdeffiles with test references) - If no test assemblies exist, create them:
ProjectName.Tests.Editor— EditMode tests (fast, no scene)ProjectName.Tests.Runtime— PlayMode tests (full lifecycle)
- Identify scripts with public APIs that lack tests
- Prioritize: gameplay logic > systems > utilities
Step 2: Write Tests
For each untested class/method:
- EditMode test if it's pure logic (no MonoBehaviour lifecycle needed)
- PlayMode test if it involves MonoBehaviour, physics, or scene state
- Naming:
MethodName_Condition_ExpectedResult - Arrange-Act-Assert pattern
- Clean up GameObjects in TearDown
Step 3: Run Tests
run_tests → execute all tests (or specific fixture if scoped)
read_console → get test results
Step 4: Report
Present results:
- Total: X passed, Y failed, Z skipped
- For failures: test name, expected vs actual, stack trace, suggested fix
- New tests created: list with file paths
- Coverage gaps: what still needs testing
Test Priority
- Game state logic — health, damage, scoring, inventory
- Input processing — movement calculation, ability activation
- Data systems — save/load, serialization, configuration
- Edge cases — zero health, empty inventory, null references
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.
- 4d ago First seen · 60 lines · 34 tokens per session scan A e0506c465988
unity-test is a command published in the GitHub repository XeldarAlz/everything-claude-unity (21 stars, last pushed 4mo ago), licensed MIT. It adds 34 tokens to every session and 443 once invoked, about $0.0002 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-08-30.
Other commands, from other repositories
sim
Run the EmbodiedGen simulation rendering workflow with sim-cli.
speckit.taskstoissues
Command "speckit.taskstoissues" from akiojin/unity-mcp-server, covering ユーザー入力 and 実行手順.
combat-design
Design or revise combat rules, variables, readability, and tuning direction.
ui-flow-review
Review menus, HUD, navigation, and player flow from a UX perspective.
discuss
5-phase requirements-elicitation interview that produces an EARS-validated context/ .md.
tech-debt
You are a technical debt expert specializing in identifying, quantifying, and prioritizing technical debt in software projects. Analyze the codebase to uncover debt, assess its impact, and create actionable remediation plans.