Agent skill

Unity Perception

by Besty0728 in Besty0728/Unity-Skills

Read-only scene, project and script analysis for AI context. An agent skill from Besty0728/Unity-Skills.

MITAuto-check passedGame Development

Install Unity Perception

skills CLI
$ npx skills add Besty0728/Unity-Skills --skill unity-perception -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Besty0728/Unity-Skills unity-perception --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Besty0728/Unity-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'SkillsForUnity/unity-skills~/skills/perception' .claude/skills/unity-perception && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
unity-perception
GitHub stars
1.8k
Token cost
~2.2k tokens
SKILL.md length
769 words
Files
1
Skills in repo
82
Repo updated
First seen
Licence
MIT

At a glance

Read-only scene, project and script analysis for AI context. An agent skill from Besty0728/Unity-Skills.

  • Game Development work in your project
  • SKILL.md covers Triggers, Operating Mode, Skills and High-Frequency Skill Differences, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Unity Perception is an agent skill from Besty0728/Unity-Skills. Read-only scene, project and script analysis for AI context

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Game Development. The repository describes itself as: AI automation skills specifically designed for Unity. The licence is MIT.

When your agent uses it

  • Game Development work in your project

Example prompts

  • “/unity-perception”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit ec8aa7c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Unity Perception loads about 2.2k tokens when it runs. Until then it costs about 19 tokens; SKILL.md has 769 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~19
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Besty0728/Unity-Skills at commit ec8aa7c, republished under its MIT licence (© Besty0728). 769 words, ~2,159 tokens.

Download SKILL.mdSave it as .claude/skills/unity-perception/SKILL.md (or your agent's skills folder).
name
unity-perception
description
Read-only scene, project and script analysis for AI context

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

  • Gathering context before editing
  • Understanding unfamiliar scene/project
  • Auditing structure without changes
  • 编辑前收集上下文、理解陌生场景或项目、在不改动的前提下审查结构

Unity Perception Skills

Use this module for read-only scene and project analysis.

Operating Mode

  • Approval / Auto / Bypass: 本模块 18 个 skill 里有 17 个标 Mode = SkillMode.SemiAuto,三档模式下直接执行无需 grant。其中 16 个是纯读(ReadOnly = true):scene_analyze / scene_summarize / scene_health_check / scene_component_stats / scene_find_hotspots / scene_tag_layer_stats / scene_performance_hints / scene_diff / hierarchy_describe / scene_context / scene_spatial_query / scene_materials / scene_contract_validate / project_stack_detect / script_analyze / script_dependency_graph。
  • scene_dependency_analyze 是第 17 个 SemiAuto,但它不是纯读:传 savePath 会 Directory.CreateDirectory + File.WriteAllText + ImportAsset 落一个新工程资产,所以它标 MutatesAssets = true 而不再标 ReadOnly。仍然无需 grant,但它会进 router 的 diff 捕获,schema/flags 里也会带 mutatesAssets —— 不传 savePath 时才真的什么都不写。
  • 特别说明:scene_export_report 写 markdown 文件到磁盘(Operation = Analyze | Execute,标 MutatesAssets = true),因此不是 SemiAuto——它走默认 SkillMode.FullAuto,Approval 模式下需要 grant 才能执行。
  • 本模块不含 Delete / PlayMode / Reload / RiskLevel=high 类 skill —— 没有 IsForbiddenInSemi 拦截。

DO NOT (common hallucinations):

  • perception_analyze, perception_scan, and perception_describe do not exist
  • scene_context is not editor_get_context: it exports hierarchy/components/references, while editor context focuses on current editor state
  • scene_analyze, scene_health_check, scene_contract_validate, scene_component_stats, scene_find_hotspots, and project_stack_detect belong to this module even if the prefix looks like scene_* or project_*

Routing:

  • Current selection/play-mode/editor state -> editor_get_context
  • Object search by name/path -> scene_find_objects or gameobject_find
  • Script dependency closure -> script_dependency_graph

Skills

Scene Health and Summary
SkillUseKey parameters
scene_analyzeCombined scene + project analysistopComponentsLimit?, issueLimit?, deepHierarchyThreshold?, largeChildCountThreshold?
scene_health_checkRead-only health reportissueLimit?, deepHierarchyThreshold?, largeChildCountThreshold?
scene_summarizeStructured scene summaryincludeComponentStats?, topComponentsLimit?
scene_component_statsComponent and facility statstopComponentsLimit?
scene_find_hotspotsDeep hierarchy / large group / empty node hotspotsthresholds + maxResults?
scene_tag_layer_statsTag/layer usagenone
scene_performance_hintsPrioritized optimization hintsnone
Scene Snapshots and Exports
SkillUseKey parameters
scene_diffCapture or compare lightweight snapshotssnapshotJson?
hierarchy_describeReturn text hierarchy treemaxDepth?, includeInactive?, maxItemsPerLevel?
scene_contextExport hierarchy, components, referencesmaxDepth?, maxObjects?, rootPath?, includeValues?, includeReferences?, includeCodeDeps?
scene_export_reportSave markdown scene reportsavePath?, maxDepth?, maxObjects?
scene_dependency_analyzeAnalyze impact / dependency graph in-scenetargetPath?, savePath? — writes

savePath on scene_dependency_analyze is a write, not an output option. Supplying it creates the directory, writes the markdown report and imports it as a project asset, which is why the skill is flagged mutatesAssets rather than ReadOnly. Omit savePath and you get the same analysis in the response (analysis, markdown) with nothing touched on disk — that is the form to use for a pure "what depends on this" question. Only pass savePath when the user actually asked for a file, and expect savedTo in the response naming it.

Project and Script Analysis
SkillUseKey parameters
project_stack_detectDetect pipeline, input, UI, packages, tests, foldersnone
script_analyzeAnalyze one MonoBehaviour / ScriptableObject / user class by class namescriptName, includePrivate?
script_dependency_graphN-hop dependency closure for one script class namescriptName, maxHops?, includeDetails?
Show full SKILL.md (315 more words)Show less
Spatial and Material Queries
SkillUseKey parameters
scene_spatial_queryFind objects near a point or objectx/y/z?, radius?, nearObject?, componentFilter?, maxResults?
scene_materialsSummarize scene materials and shadersincludeProperties?
scene_contract_validateValidate default roots/tags/layers/UI EventSystem conventionsrequiredRootsJson?, requiredTagsJson?, requiredLayersJson?, requireEventSystemForUi?

High-Frequency Skill Differences

scene_summarize vs scene_analyze vs scene_health_check
SkillBest forTypical output focus
scene_summarizeFast overviewobject counts, hierarchy depth, top components
scene_analyzeBroad diagnosissummary + findings + warnings + recommendations + next-skill hints
scene_health_checkHygiene / red flagsmissing scripts, duplicate names, deep hierarchy, empty nodes, hotspot-style findings
scene_context vs hierarchy_describe
SkillBest forOutput style
hierarchy_describeHuman-readable treetext tree, lightweight
scene_contextAI coding contextstructured hierarchy + components + references + optional code dependencies
scene_dependency_analyze vs script_dependency_graph
SkillScopeUse when
scene_dependency_analyzeScene object referencesask "who depends on this object if I delete or disable it"
script_dependency_graphScript class dependency closureask "which scripts do I have to touch to change this feature"

Key Return Shapes

scene_summarize

Returns sceneName, stats, and optional topComponents.

scene_analyze

Returns summary, stats, findings, warnings, recommendations, and suggestedNextSkills.

scene_health_check

Returns summary, findings, hotspots, and suggestedNextSkills.

scene_context

Returns a structured export with objects, references, and optional codeDependencies. Use it when another AI step needs full scene context, not just a human summary.

High-frequency options:

  • rootPath to export only one subtree
  • includeValues=true when serialized field values matter
  • includeCodeDeps=true when AI needs a rough scene-to-code dependency picture
scene_export_report

Writes a markdown artifact to disk and returns savedTo, object/script/reference counts, and success state. Prefer this when the user wants a durable report file.

Defaults:

  • savePath = "Assets/Docs/SceneReport.md"
  • maxDepth = 10
  • maxObjects = 500

When to Use Which Skill

NeedBest first skill
Quick scene overviewscene_summarize
Full diagnosisscene_analyze
Suspicious hierarchy or clutterscene_find_hotspots
Safe-to-delete / impact questionscene_dependency_analyze
AI coding context exportscene_context
Script reading orderscript_dependency_graph
Render/input/UI stack detectionproject_stack_detect

Minimal Example

python
import unity_skills

summary = unity_skills.call_skill("scene_summarize", includeComponentStats=True)
health = unity_skills.call_skill("scene_health_check", issueLimit=50)
context = unity_skills.call_skill("scene_context", maxDepth=6, maxObjects=120)
report = unity_skills.call_skill("scene_export_report", savePath="Assets/Docs/SceneReport.md")

Exact Signatures

Exact names, parameters, defaults, and returns are defined by GET /skills/schema or unity_skills.get_skill_schema(), not by this file.

© Besty0728, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in SkillsForUnity/unity-skills~/skills/perception of Besty0728/Unity-Skills.

Open the folder on GitHubat commit ec8aa7c

Compare with similar skills

Unity Perception next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Unity Perception compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Unity Perception this skillBesty0728/Unity-Skills1.8k—~2.2kAutomated safety check: PassMIT
Image to Three.js Modelimg2threejs/img2threejs18k1 repos~8.2kAutomated safety check: PassApache-2.0
Web CloneJane-xiaoer/claude-skill-web-clone1k2 repos~2.7kAutomated safety check: PassMIT
Threejs Game Directormajidmanzarpour/threejs-game-skills2.4k—~2.2kAutomated safety check: PassMIT
Game Asset Generatorhtdt/godogen7.1k—~2.8kAutomated safety check: PassMIT
Threejs Gameplay Systemsvalkor-ai/loom1.2k1 repos~1.4kAutomated safety check: PassApache-2.0

Similar skills

  • Image to Three.js Model

    img2threejs/img2threejs

    Rebuilds the object in a reference image as a procedural, animation-ready Three.js model written entirely in code, using staged sculpting with quality checks.

    18k GitHub starsUsed in 1 repo~8.2k tokens
    Game DevelopmentAuto-check passed
  • Web Clone

    Jane-xiaoer/claude-skill-web-clone

    网站复刻 / 克隆方法论。USE WHEN 用户说 复刻网站、克隆网站、clone website、抄个站、仿站、 照着这个站做一个、reproduce site、还原某个网页效果、把这个站搬下来改成我的、 复刻某个交互/WebGL/Canvas/Three.js 效果。提供「先拿真源码 → 判路径 → 逆向拆解 → 搭工程 → 替换内容」的可移植决策树,覆盖静态站 /…

    1k GitHub starsUsed in 2 repos~2.7k tokens
    Game DevelopmentAuto-check passed
  • Threejs Game Director

    majidmanzarpour/threejs-game-skills

    Entrypoint for building, upgrading, and finishing Three.js browser games.

    2.4k GitHub stars~2.2k tokensUpdated 10 days ago
    Game DevelopmentAuto-check passed
  • Generates game art from text prompts: PNG images, GLB 3D models, rigged characters, animations and sprites, with background removal.

    7.1k GitHub stars~2.8k tokensUpdated 7 days ago
    Game DevelopmentAuto-check passed
  • Build and iterate playable Three.js game systems: starter scaffold, architecture, design briefs, core loops, level and encounter design, entities, input, camera, collision and physics, scoring…

    1.2k GitHub starsUsed in 1 repo~1.4k tokens
    Game DevelopmentAuto-check passed
  • Uloop Execute Dynamic Code

    CyberAgentGameEntertainment/NovaShader

    Execute C with Unity APIs when existing uloop tools cannot inspect or edit enough.

    1.6k GitHub starsUsed in 1 repo~1.9k tokens
    Game DevelopmentAuto-check passed

More from Besty0728/Unity-Skills

All 82 skills in this repo
  • Unity Skills

    Besty0728/Unity-Skills

    Automate the Unity Editor through a local REST API — scripts, scenes, prefabs, assets, materials, lighting, tests and hundreds of other Editor operations.

    1.8k GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Unity Animator

    Besty0728/Unity-Skills

    Edit Unity Animator Controllers and drive runtime parameters

    1.8k GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed
  • Unity Architecture

    Besty0728/Unity-Skills

    Advise on Unity gameplay and system architecture. An agent skill from Besty0728/Unity-Skills.

    1.8k GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Unity Batch

    Besty0728/Unity-Skills

    Unified batch and async-job orchestration. An agent skill from Besty0728/Unity-Skills.

    1.8k GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Unity Behavior

    Besty0728/Unity-Skills

    Drive Unity Behavior behavior graphs and blackboard variables

    1.8k GitHub stars~3k tokensUpdated yesterday
    Auto-check passed
  • Unity Console

    Besty0728/Unity-Skills

    Capture and query the Unity Editor console. An agent skill from Besty0728/Unity-Skills.

    1.8k GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed

Questions about Unity Perception

What does Unity Perception do?

Read-only scene, project and script analysis for AI context. An agent skill from Besty0728/Unity-Skills. Unity Perception is an agent skill from Besty0728/Unity-Skills.

When should I use Unity Perception?

Unity Perception fits situations like: game Development work in your project.

How do I install Unity Perception in Claude Code?

Run `npx skills add Besty0728/Unity-Skills --skill unity-perception -a claude-code`. Or copy the skill folder (SkillsForUnity/unity-skills~/skills/perception in Besty0728/Unity-Skills) into .claude/skills/unity-perception in your project. Claude Code loads it when a task matches its description.

How do I install Unity Perception in Codex?

Run `npx skills add Besty0728/Unity-Skills --skill unity-perception -a codex`. Or copy the skill folder (SkillsForUnity/unity-skills~/skills/perception in Besty0728/Unity-Skills) into .agents/skills/unity-perception in your project. Codex loads it when a task matches its description.

Can I use Unity Perception in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Besty0728/Unity-Skills --skill unity-perception -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/unity-perception, .gemini/skills/unity-perception, .github/skills/unity-perception and .opencode/skills/unity-perception in your project.

What does Unity Perception need to run?

SKILL.md names no scripts, command-line tools or credentials: Unity Perception is instructions for the agent only. Our summary lists: Python 3.

Does Unity Perception access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Unity Perception safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Unity Perception use?

Unity Perception is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Unity Perception use?

About 2.2k tokens (SKILL.md is roughly 8.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Unity Perception?

Skills that share tags, products or a category with Unity Perception: Image to Three.js Model (img2threejs/img2threejs, 18k stars), Web Clone (Jane-xiaoer/claude-skill-web-clone, 1k stars), Threejs Game Director (majidmanzarpour/threejs-game-skills, 2.4k stars) and Game Asset Generator (htdt/godogen, 7.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Unity Perception?

Besty0728 (a GitHub user) maintains it in Besty0728/Unity-Skills, which has 1,815 GitHub stars. The repository holds 82 skills in this directory. The repository was last updated on October 7, 2026.

Source: Besty0728/Unity-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.