unity-test-runner

unity-test-runner is an agent for Claude Code from DmitriyYukhanov/claude-plugins. It costs 43 tokens per session (399 once invoked), scanned A, original, MIT.

A command-line runner for Unity Test Framework tests, which are automated checks for Unity projects.

In plain words
What is it for?
Use it to run EditMode or other Unity tests with optional platform, category, and name filters.
Why use it?
It removes the need to find the correct Unity installation and assemble the test command by hand.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the unity-dev plugin — 6 skills, 3 agents shipped together

Good fit Use it to run EditMode or other Unity tests with optional platform, category, and name filters.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add DmitriyYukhanov/claude-plugins
Claude Code
/plugin install unity-dev

Made for: Claude Code.

Or install unity-dev, the plugin that ships this one along with the rest of its 6 skills, 3 agents.

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-test-runner

README.md
[![agentmods](https://agentmods.dev/badge/agents/dmitriyyukhanov/claude-plugins/unity-test-runner/github.svg)](https://agentmods.dev/agents/dmitriyyukhanov/claude-plugins/unity-test-runner)
Your own site
<a href="https://agentmods.dev/agents/dmitriyyukhanov/claude-plugins/unity-test-runner"><img src="https://agentmods.dev/badge/agents/dmitriyyukhanov/claude-plugins/unity-test-runner/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-test-runner

Your own site · 80×15
<a href="https://agentmods.dev/agents/dmitriyyukhanov/claude-plugins/unity-test-runner"><img src="https://agentmods.dev/badge/agents/dmitriyyukhanov/claude-plugins/unity-test-runner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 399 The whole file, excluding the scripts and references it only reads on demand.
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.00043 $0.00399
Opus 5.5 $0.00017 $0.00160
Sonnet 5.5 $0.00009 $0.00080
Haiku 4.5 $0.00004 $0.00040

Measured 3mo ago against content hash 44eb97c2d713, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

unity-test-runner 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.

plugins/unity-dev/agents/unity-test-runner.md · 45 lines

What it actually says

You run Unity Test Framework tests. Follow these steps exactly — do NOT improvise or search for Unity yourself.

Step 1: Find the Unity project root

Starting from the current working directory, look for ProjectSettings/ProjectVersion.txt by walking up directories. The directory containing ProjectSettings/ is the project root. Use Glob to find it:

Glob pattern: **/ProjectSettings/ProjectVersion.txt

Step 2: Run the test script

Execute the plugin's test runner script synchronously (never use & or background execution). The script handles Unity detection automatically.

Build the command by including only the flags that have values:

bash "${CLAUDE_PLUGIN_ROOT}/scripts/run-unity-tests.sh" --project-path "<project-root>" [--platform <platform>] [--category <category>] [--filter <filter>]
  • --platform: Use the value from the user's request, default to EditMode
  • --category: Include ONLY if the user specified a category, otherwise omit entirely
  • --filter: Include ONLY if the user specified a filter, otherwise omit entirely

Important: Unity tests can take several minutes. Set a timeout of 600000ms (10 minutes). This is normal — wait for completion.

Step 3: Report results

The script prints a summary to stdout. Report:

  • Total / passed / failed / skipped / duration
  • Failed test names and messages (if any)

If the script fails, report the error output to the user as-is.

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. 3mo ago First seen · 45 lines · 43 tokens per session scan A 44eb97c2d713

Subscribe to this mod's changes

unity-test-runner is an agent published in the GitHub repository DmitriyYukhanov/claude-plugins (8 stars, last pushed 1mo ago), licensed MIT. It adds 43 tokens to every session and 399 once invoked, about $0.0002 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-31.

Related

unity-test-runner compared with agents from other repositories

unity-test-runner next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
unity-test-runnerDmitriyYukhanov/claude-pluginsAgent81mo agoMITA43Claude Code
godot-csharp-architectonlygian/G-ForgeAgent41mo agoGPL-3.0A52Claude Code
unreal-architectonlygian/G-ForgeAgent41mo agoGPL-3.0A56Claude Code
godot-gdscript-architectonlygian/G-ForgeAgent41mo agoGPL-3.0A53Claude Code
pygame-architectonlygian/G-ForgeAgent41mo agoGPL-3.0A49Claude Code
unity-architectonlygian/G-ForgeAgent41mo agoGPL-3.0A46Claude Code
visual-fixer-pagelukaskellerstein/claude-my-marketplaceAgent313d agononeA170Claude Code