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.
Borrowing it
Nothing to install: this file belongs to Besty0728/Unity-Skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Besty0728/Unity-Skills/main/.claude/commands/skillcheck.mdgit 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/commands/besty0728/unity-skills/skillcheck)<a href="https://agentmods.dev/commands/besty0728/unity-skills/skillcheck"><img src="https://agentmods.dev/badge/commands/besty0728/unity-skills/skillcheck/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.
<a href="https://agentmods.dev/commands/besty0728/unity-skills/skillcheck"><img src="https://agentmods.dev/badge/commands/besty0728/unity-skills/skillcheck.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00000 | $0.10961 |
| Opus 5.5 | $0.00000 | $0.04384 |
| Sonnet 5.5 | $0.00000 | $0.02192 |
| Haiku 4.5 | $0.00000 | $0.01096 |
Grade A, and why
skillcheck 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 407 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill Check — C# 代码与 SKILL.md 一致性审计 + 技能数量同步
你是 UnitySkills 项目的一致性审计助手。扫描所有 [UnitySkill] C# 定义与 skills/*/*.md + skills/*/reference/*.md 文档(模块入口 SKILL.md + 同目录兄弟文件 + reference/ 子目录一层),报告不一致问题;同时统计实际技能数量,与文档中声称的数字对比并修正(原 /skillcount 已并入本命令)。
目标
检测以下问题(这些是 v1.6.8 修复的那类 bug 的根源——文档声称支持的参数在代码中不存在):
- 幽灵 Skill:SKILL.md 中记录了但 C# 代码中不存在的 Skill
- 完全无文档的 Skill:C# 中存在
[UnitySkill]但在整个skills/文档树中完全无提及的 Skill(注意:本项目为 schema-first 设计——skill 无需逐个写### skill_name定义,故"无###定义"本身不算缺陷,详见步骤 3a) - 参数不一致:SKILL.md 文档的参数表与 C# 方法签名不匹配(多余参数、缺失参数、类型不匹配)
- 元数据缺失:
[UnitySkill]特性中缺少Category、Operation、Tags、Outputs等关键元数据 - 数量失同步:文档(AGENTS.md / README / README_CN / SKILL.md)中声称的技能总数与模块计数表和实际代码不一致
步骤 1:收集 C# Skill 定义
扫描 SkillsForUnity/Editor/Skills/*Skills.cs 中所有 [UnitySkill(...)] 标记的方法:
-
对每个 Skill 提取:
- Skill 名称(
[UnitySkill("skill_name", ...)]第一个参数) - Description 字符串(
[UnitySkill("name", "description string")]第二个参数,完整保留) - 方法签名(参数名、类型、是否可选、默认值)
- 元数据:Category、Operation、Tags、Outputs、RequiresInput、ReadOnly
- 所在文件和行号
- 条件编译宏:检查 Skill 方法是否位于
#if XXX块内(如PROBUILDER、XRI、UNITY_NETCODE、CINEMACHINE_2、CINEMACHINE_3等),记录对应的宏名称;不在任何#if块内的标记为"无条件" - 返回值字段:解析方法体中
return new { ... }匿名对象的字段名列表(正则提取即可,不需要完美覆盖所有分支)
- Skill 名称(
-
解析纪律(历史假绿源头,必须遵守):
- 括号配平切分 attribute 块:一个 skill 的元数据只能取它自己
[UnitySkill(...)]块内的标注,严禁把同文件相邻块的元数据算到本 skill 头上 - 先剥
//注释再按逗号切分:带说明注释的 flag 否则会静默读成 false,审计报"零违规"是假绿 - 按技能名去重:
#if/#else分支下的同名 stub(URP 缺包时 Decal/PostProcess/URP/Volume 四个文件以相同技能名注册NoURP()占位实现)会让裸rg -c "\[UnitySkill\("多算 33 个 attribute(如 818 attribute → 785 唯一技能)。一切后续比对和计数都以"按第一个字符串参数去重后的唯一技能名"为准 SkillRouter.cs等非*Skills.cs文件中出现的[UnitySkill(多为注释/文档文字,不计入
- 括号配平切分 attribute 块:一个 skill 的元数据只能取它自己
-
Batch Skill 额外处理:对
*_batch后缀的 Skill,其方法签名通常只有string items,真正的参数定义在同文件的BatchXxxItem内部类中。额外提取该类的所有public属性(属性名、类型、默认值),作为 batch skill 的"实际参数列表"。
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.
- 1mo ago Changed · +73 lines e7d70c9ab7f6
- 1mo ago Changed · -1 lines 61c779d3f8bc
- 1mo ago Changed · +10 lines 07216739c4fd
- 2mo ago First seen · 325 lines · 0 tokens per session scan A 0f498e55ff8c
skillcheck is a command published in the GitHub repository Besty0728/Unity-Skills (1,923 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 10,961 tokens. 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.
skillcheck compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| skillcheckBesty0728/Unity-Skills | Command | 1.9k | yesterday | MIT | A | 0 | Claude Code |
| debug-on-questmeta-quest/Meta-Spatial-SDK-Samples | Command | 281 | 3d ago | MIT | A | 0 | GitHub Copilot |
| tracerohitg00/awesome-claude-code-toolkit | Command | 2.8k | 5mo ago | Apache-2.0 | A | 0 | Claude Code |
| debug-podrohitg00/awesome-claude-code-toolkit | Command | 2.8k | 5mo ago | Apache-2.0 | A | 0 | Claude Code |
| watchfusengine/agents | Command | 34 | 25d ago | MIT | A | 23 | Claude Code |
| maprohitg00/awesome-claude-code-toolkit | Command | 2.8k | 5mo ago | Apache-2.0 | A | 0 | Claude Code |
| bug-triageMRCalderon3D/everything-game-dev-code | Command | 104 | 28d ago | MIT | A | 14 | Claude Code |