unity-run

unity-run is a skill for Claude Code, Codex from DmitriyYukhanov/claude-plugins. It costs 47 tokens per session (642 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 CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

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

Install

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.

agentmods
npx agentmods add skills/dmitriyyukhanov/claude-plugins/unity-run
Any agent
npx skills add DmitriyYukhanov/claude-plugins --skill unity-run
Clone the repo
git clone --depth 1 https://github.com/DmitriyYukhanov/claude-plugins

Made for: Claude Code, Codex.

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.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.svg" alt="Measured on agentmods" 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 642 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00642
Opus 5 $0.00023 $0.00321
Sonnet 5 $0.00009 $0.00128
Haiku 4.5 $0.00005 $0.00064

Measured 5d ago against content hash e04bb477de2d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 5d 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

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. 5d 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 (7 stars, last pushed today), licensed MIT. It adds 47 tokens to every session and 642 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-31.

Related

Other skills, from other repositories

top-design

Create award-winning, immersive web experiences at the level of Awwwards-featured agencies. Use when the user mentions "Awwwards quality", "make my site stunning", "scroll animations", "parallax storytelling", "cinematic web design", "portfolio site", or "brand experience". Also trigger when elevating a standard…

wondelai/skills · 113 tokens

design-everyday-things

Apply foundational design principles: affordances, signifiers, constraints, feedback, and conceptual models. Use when the user mentions "why is this confusing", "affordance", "error prevention", "discoverability", "human-centered design", "mental model", "mapping", "seven stages of action", "users keep making…

wondelai/skills · 132 tokens

traction-eos

Implement the Entrepreneurial Operating System (EOS) to align vision and execution across a company. Use when the user mentions "EOS", "Entrepreneurial Operating System", "V/TO", "quarterly rocks", "Level 10 meetings", "accountability chart", "IDS process", "my company feels chaotic", "we keep having the same…

wondelai/skills · 147 tokens

create-app

Guided journey from a raw app idea to a validated, cleanly architected first version that ships on a sustainable cadence. Orchestrates ten skills phase by phase - lean-startup, design-sprint, clean-architecture, domain-driven-design, clean-code, pragmatic-programmer, system-design, ios-hig-design, 37signals-way…

wondelai/skills · 217 tokens

create-business

Guided journey from raw idea to a validated, positioned, priced business with a chosen beachhead. Orchestrates ten skills phase by phase - jobs-to-be-done, mom-test, design-sprint, lean-startup, good-strategy-bad-strategy, blue-ocean-strategy, obviously-awesome, hundred-million-offers, monetizing-innovation…

wondelai/skills · 211 tokens

cold-start-problem

Start and scale networked products using Andrew Chen's "The Cold Start Problem" framework for network effects. Use when the user mentions "network effects", "chicken and egg", "cold start", "two-sided marketplace", "atomic network", "hard side", "liquidity", "critical mass", "invite-only launch", "how do I get my…

wondelai/skills · 168 tokens