UnitySkills is a REST API-based automation engine that lets AI coding agents control Unity Editor projects, including scenes and other editor operations. It is for developers using Unity with supported coding agents and IDEs. The catalogue skills and commands provide the agent workflows used to operate Unity projects through the engine.
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 skills/besty0728/unity-skills/testnpx skills add Besty0728/Unity-Skills --skill testgit clone --depth 1 https://github.com/Besty0728/Unity-SkillsWrote 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/skills/besty0728/unity-skills/test)<a href="https://agentmods.dev/skills/besty0728/unity-skills/test"><img src="https://agentmods.dev/badge/skills/besty0728/unity-skills/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.00009 | $0.02565 |
| Opus 5 | $0.00005 | $0.01282 |
| Sonnet 5 | $0.00002 | $0.00513 |
| Haiku 4.5 | $0.00001 | $0.00257 |
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 yesterday.
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 — 185 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Before calling any skill in this module: if you are about to call a skill with parameters guessed from its name or description, STOP — read this file (or fetch its schema via
GET /skills/recommend?includeSchema=true) first. If you already have the parameter definitions from recommend/schema, you may proceed straight to dryRun.
Triggers
- Running EditMode/PlayMode tests
- Discovering or listing tests
- Polling async test results
- Scaffolding test files
- 运行 EditMode/PlayMode 测试、发现或列出测试、轮询异步测试结果、生成测试文件
Test Skills
Run and manage Unity tests.
Operating Mode
-
Approval: 只读 skill(
test_get_result/test_list/test_discover_get_result/test_get_last_result/test_list_categories/test_smoke_skills/test_get_summary,标SkillMode.SemiAuto)直接执行;执行/发现/创建型 skill(test_run/test_run_by_name/test_discover_start/test_cancel/test_create_editmode/test_create_playmode,默认SkillMode.FullAuto)需用户 grant,grant 后服务端一步执行返结果(job 立即排进队列)。 -
Auto / Bypass: 直接执行。
-
本模块有 4 个 NeverInSemi skill(按
IsForbiddenInSemi自动判定):MayEnterPlayMode = true:test_run、test_run_by_nameMayTriggerReload = true:test_create_editmode、test_create_playmode(同时标MutatesAssets = true)
Approval 模式下这 4 个返
MODE_FORBIDDEN,仅 Bypass 或 Allowlist 命中可绕过。注意:test_run(testMode="PlayMode")/test_run_by_name会让 Unity TestRunner 切入 PlayMode;test_create_editmode/test_create_playmode落盘新的 .cs 文件后会触发 Domain Reload。 -
异步约定:
test_run/test_run_by_name/test_discover_start/test_create_*立即返回jobId;用test_get_result(jobId)/test_discover_get_result(jobId)轮询;Unity TestRunner 串行化,正在跑测试时不要再起第二个test_run。
DO NOT (common hallucinations):
test_run_alldoes not exist → usetest_runortest_run_by_nametest_create_templatedoes not exist → usetest_create_editmodeortest_create_playmodetest_get_statusdoes not exist → usetest_get_resultwithjobIdfrom test run- Test skills are async — they return a
jobId, poll withtest_get_result(jobId) - Unity Test Runner is serialized here: do not start a second
test_runwhile another test job is still active - Prefer
unity_skills.get_skills(category="Test")orGET /skills/schemafor exact signatures instead of guessing from memory
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.
- yesterday First seen · 185 lines · 9 tokens per session scan A b33aa20d979a
unity-test is a skill published in the GitHub repository Besty0728/Unity-Skills (1,707 stars, last pushed yesterday), licensed MIT. It adds 9 tokens to every session and 2,565 once invoked, about $0.0000 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-09-03.
Other skills, from other repositories
tests-run
Execute Unity tests (EditMode or PlayMode) and return per-test results. Supports filtering by test assembly, namespace, class, and method. Refreshes the AssetDatabase first; defers execution across domain reloads if scripts changed. Precondition: every open scene must be saved — dirty scenes abort the run.
convex-test
Generate convex-test tests for the app's Convex functions.
review-ugc-render
Mandatory pre-publish review gate for a UGC video render. Transcribes the finished render's AUDIO with Whisper and word-diffs it against the approved spoken script, then gates setfinalrender — blocking a render whose generated audio mis-voices a word (e.g. the approved "human-vetted" spoken as "human witted"), drops…
uloop-run-tests
Run Unity Test Runner and report detailed results. Use for EditMode/PlayMode tests, change verification, or failure diagnosis.
gdunit-driver
Run gdUnit4 unit tests and parse results into structured output. Use this skill after writing or modifying code to verify correctness via unit tests, when diagnosing test failures, or when writing new test files. Triggers: "run tests", "test fails", "write a test", any gdUnit4/unit test mention. Supports both GDScript…
backend/testing-guide
后端测试编写指南,包括单元测试、集成测试和E2E测试的编写方法和最佳实践.