unity-run

unity-run is a skill for Claude Code from DmitriyYukhanov/claude-plugins. It costs 47 tokens per session (673 once invoked), scanned A, original, MIT.

A command-line helper for running Unity without opening its graphical editor. Batch mode lets Unity build projects, run tests, execute methods, or import assets from a terminal.

In plain words
What is it for?
Use it to locate a Unity project and matching editor version, then run command-line builds, tests, method calls, or asset imports.
Why use it?
It removes the manual work of finding the correct Unity installation and assembling commands while capturing the Unity log for inspection.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

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 locate a Unity project and matching editor version, then run command-line builds, tests, method calls, or asset imports.

Compare 6 skills 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-run

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dmitriyyukhanov/claude-plugins/unity-run"><img src="https://agentmods.dev/badge/skills/dmitriyyukhanov/claude-plugins/unity-run.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 673 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.00047 $0.00673
Opus 5.5 $0.00019 $0.00269
Sonnet 5.5 $0.00009 $0.00135
Haiku 4.5 $0.00005 $0.00067

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

Security

Grade A, and why

unity-run 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 2mo 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/skills/unity-run/SKILL.md · 68 lines

How it starts

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

Run Unity CLI

Execute Unity in batchmode from the command line. This skill handles finding the Unity installation and constructing the CLI command. Calling skills (tests, builds) provide the specific flags.

Step 1: Find the Unity project

Starting from the current working directory, locate ProjectSettings/ProjectVersion.txt by walking up or using Glob. The directory containing ProjectSettings/ is the project root.

If the user provides a project path explicitly, use that instead.

Step 2: Detect Unity installation

Use the plugin's detection script:

UNITY_PATH=$("${CLAUDE_PLUGIN_ROOT}/scripts/find-unity.sh" "<project-root>")

The script auto-detects Unity via Hub config, default paths, and Hub CLI fallback. It reads the project's ProjectVersion.txt to find the matching editor version.

If detection fails, ask the user to set UNITY_EDITOR_PATH environment variable.

Step 3: Build and run the command

Construct the Unity CLI command with batchmode defaults:

"$UNITY_PATH" -batchmode -projectPath "<project-root>" <caller-flags> -logFile - [-quit]

Defaults (always include unless caller overrides):

  • -batchmode — no GUI
  • -projectPath — the detected project root
  • -logFile - — stream log to stdout (use a file path if caller needs to parse logs separately)
  • -quit — exit after execution. Omit it with -runTests: the test runner exits on its own, and with -quit Unity can exit before the tests run

Caller provides: the purpose-specific flags (e.g., -runTests, -buildTarget, -executeMethod).

Timeout: Set to 600000ms (10 minutes) by default. Builds may need longer — caller can override.

Step 4: Report results

After execution:

  • Report Unity exit code (0 = success, non-zero = failure)
  • If -logFile - was used, relevant log output is already in stdout
  • If a log file was used, read the last 50 lines on failure for diagnostics

Common flags reference

Purpose Flags
Run tests -runTests -testPlatform EditMode -testResults <path>
Android build -buildTarget Android -executeMethod <method>
iOS build -buildTarget iOS -executeMethod <method>
Execute method -executeMethod <ClassName.MethodName>
Import assets -importPackage <path>
No graphics -nographics (add for headless servers)

Read the full file on GitHub · 68 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. 2mo ago Changed c3a3aa858eed
  2. 3mo ago First seen · 68 lines · 47 tokens per session scan A e04bb477de2d

Subscribe to this mod's changes

unity-run is a skill published in the GitHub repository DmitriyYukhanov/claude-plugins (8 stars, last pushed 1mo ago), licensed MIT. It adds 47 tokens to every session and 673 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-run compared with skills from other repositories

unity-run next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
unity-runDmitriyYukhanov/claude-pluginsSkill81mo agoMITA47Claude Code
godot-game-devIvanMurzak/ai-game-dev-pluginSkill817d agoApache-2.0A79Claude Code, Codex
unity-game-devIvanMurzak/ai-game-dev-pluginSkill817d agoApache-2.0A76Claude Code, Codex
unreal-game-devIvanMurzak/ai-game-dev-pluginSkill817d agoApache-2.0A78Claude Code, Codex
branch-recapMalo-T/claude-toolbeltSkill25d agoMITA338Claude Code
audit-contextMalo-T/claude-toolbeltSkill25d agoMITA249Claude Code
slack-changelogMalo-T/claude-toolbeltSkill25d agoMITA332Claude Code