Agent skill

Unity Debug

by Besty0728 in Besty0728/Unity-Skills

Inspect debug, diagnostics and compile state. An agent skill from Besty0728/Unity-Skills.

MITAuto-check passedGame Development

Install Unity Debug

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

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

GitHub CLI
$ gh skill install Besty0728/Unity-Skills unity-debug --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/debug' .claude/skills/unity-debug && 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-debug
GitHub stars
1.8k
Token cost
~1.3k tokens
SKILL.md length
515 words
Files
1
Skills in repo
82
Repo updated
First seen
Licence
MIT

At a glance

Inspect debug, diagnostics and compile state. An agent skill from Besty0728/Unity-Skills.

  • Tasks that involve Debugging
  • SKILL.md covers Triggers, Operating Mode, Skills and Exact Signatures
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Unity Debug is an agent skill from Besty0728/Unity-Skills. Inspect debug, diagnostics and compile state

Its SKILL.md is about 1.3k 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, covering Debugging. The repository describes itself as: AI automation skills specifically designed for Unity. The licence is MIT.

When your agent uses it

  • Tasks that involve Debugging

Example prompts

  • “/unity-debug”

What it can do on your machine

Read from SKILL.md and the folder at commit 12a40e4. 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.

    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 Debug loads about 1.3k tokens when it runs. Until then it costs about 14 tokens; SKILL.md has 515 words of instructions outside code blocks.

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

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 12a40e4, republished under its MIT licence (© Besty0728). 515 words, ~1,276 tokens.

Download SKILL.mdSave it as .claude/skills/unity-debug/SKILL.md (or your agent's skills folder).
name
unity-debug
description
Inspect debug, diagnostics and compile state

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

  • Diagnosing compile failures
  • Checking errors after a change
  • Forcing recompilation
  • Gathering system diagnostics
  • 诊断编译失败、改动后检查报错、强制重编、收集系统诊断

Debug Skills

Debug utilities for error checking and diagnostics.

Operating Mode

  • Approval: 只读类 skill(unity_diagnose / debug_get_errors / debug_get_logs / debug_check_compilation / debug_get_system_info / debug_get_stack_trace / debug_get_assembly_info / debug_get_defines / debug_get_memory_info,全部标 SkillMode.SemiAuto)直接执行;debug_force_recompile / debug_set_defines 默认 SkillMode.FullAuto,需用户 grant,grant 后一步执行返结果。
  • Auto / Bypass: 直接执行。
  • 本模块含 Reload 类高危 skill:debug_force_recompile(标 MayTriggerReload=true)必然触发 Domain Reload;debug_set_defines 修改 PlayerSettings 的 scripting defines 也会触发重编译 —— 这些 skill 在 Approval / Auto 下会被 IsForbiddenInSemi 自动拦截,仅 Bypass 或 Allowlist 命中可执行,调用后服务端会短暂不可用。

DO NOT (common hallucinations):

  • debug_compile / debug_recompile do not exist → use debug_force_recompile
  • debug_run does not exist → use editor_play (editor module)
  • debug_clear does not exist → use console_clear (console module)
  • debug_set_defines triggers Domain Reload — server will be temporarily unavailable

Routing:

  • For runtime console logs → use console module's console_get_logs / console_start_capture
  • For play mode control → use editor module
  • For script compile feedback → use script module's script_get_compile_feedback

Skills

unity_diagnose

Aggregated Editor health snapshot — call this FIRST when triaging problems. Combines console errors, compile state, recent workflow tasks, recent jobs, and server stats in a single response. Avoids chaining 4-5 individual skills.

Parameters:

  • errorLimit (int, optional, default 20, range 1-200): Max console entries to return.
  • includeWarnings (bool, optional, default true): Include warnings (false = errors only).
  • includeRecentJobs (bool, optional, default true): Include the 10 most recent async jobs.

Returns: { summary: { healthy, consoleErrorCount, consoleWarningCount, isCompiling, serverRunning, hint }, compile, console, workflow, server, recentJobs }

debug_get_logs

Get console logs filtered by type and content. Parameters:

  • type (string, optional): Filter by type (Error/Warning/Log/All, case-insensitive; a value naming none of them is rejected with SEMANTIC_INVALID). Default: Error.
  • filter (string, optional): Filter by content.
  • limit (int, optional): Max entries. Default: 50.
Show full SKILL.md (208 more words)Show less
debug_get_errors

Get only active errors and exceptions from console. Parameters:

  • limit (int, optional): Max entries. Default: 50.
debug_check_compilation

Whether Unity is compiling right now, and whether the last finished compilation succeeded. Parameters: None. Returns: {isCompiling, isUpdating, lastCompilation: {succeeded, errorCount, finishedAtUtc, errors: [{file, line, message}]}} — lastCompilation is null until a compilation finishes in this editor session. isCompiling: false alone never means the last compile succeeded: after a failed compile Unity keeps running the old assemblies.

debug_force_recompile

Force Unity to recompile all scripts. Parameters: None.

debug_get_system_info

Get system and Unity environment information. Parameters: None.

debug_get_stack_trace

Get stack trace for a log entry by index.

ParameterTypeRequiredDefaultDescription
entryIndexintYes-Index of the log entry to retrieve stack trace for

Returns: { index, message, stackTrace }

debug_get_assembly_info

Get project assembly information.

Parameters: None.

Returns: { success, count, assemblies }

debug_get_defines

Get scripting define symbols for current platform.

Parameters: None.

Returns: { success, buildTargetGroup, defines }

debug_set_defines

Set scripting define symbols for current platform.

ParameterTypeRequiredDefaultDescription
definesstringYes-Scripting define symbols to set

Returns: { success, buildTargetGroup, defines, serverAvailability }

debug_get_memory_info

Get memory usage information.

Parameters: None.

Returns: { success, totalAllocatedMB, totalReservedMB, totalUnusedReservedMB, monoUsedSizeMB, monoHeapSizeMB }


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/debug of Besty0728/Unity-Skills.

Open the folder on GitHubat commit 12a40e4

Compare with similar skills

Unity Debug 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 Debug compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Unity Debug this skillBesty0728/Unity-Skills1.8k—~1.3kAutomated safety check: PassMIT
Sokol Netelix22/Sokol.NET154—~2.8kAutomated safety check: PassMIT
Godot Debuggingjame581/GodotPrompter792—~3kAutomated safety check: PassMIT
Uloop Get Logskurotu/VRCQuestTools3731 repos~534Automated safety check: PassMIT
Ue Testing Debuggingquodsoler/unreal-engine-skills359—~8.1kAutomated safety check: PassMIT
Debugging CodeJetBrains/skills3631 repos~3.8kAutomated safety check: PassNone

Similar skills

  • Sokol Net

    elix22/Sokol.NET

    Sokol.NET framework development — use for ANY work in this repo: creating or debugging examples, building/running for desktop/Android/iOS/Web, writing or compiling shaders, adding a new C/C++…

    154 GitHub stars~2.8k tokensUpdated yesterday
    Game DevelopmentAuto-check passed
  • Godot Debugging

    jame581/GodotPrompter

    A skill your agent uses when debugging Godot projects — remote debugger, print techniques, signal tracing, common error patterns and fixes

    792 GitHub stars~3k tokensUpdated yesterday
    Game DevelopmentAuto-check passed
  • Uloop Get Logs

    kurotu/VRCQuestTools

    Read current Unity Console entries from a running Editor. An agent skill from kurotu/VRCQuestTools.

    373 GitHub starsUsed in 1 repo~534 tokens
    Game DevelopmentAuto-check passed
  • Ue Testing Debugging

    quodsoler/unreal-engine-skills

    A skill your agent uses when writing or running Unreal Engine tests, adding logging, or profiling a build.

    359 GitHub stars~8.1k tokensUpdated 9 days ago
    Game DevelopmentAuto-check passed
  • Debugging Code

    JetBrains/skills

    Official

    A skill your agent uses for debugger-driven runtime root-cause analysis in Rider-supported solutions and projects, including .NET/C, F, VB, C++, Unity, Unreal Engine, and other GameDev or…

    363 GitHub starsUsed in 1 repo~3.8k tokens
    Game DevelopmentAuto-check passed
  • Game Art Pipeline

    PersonalJarvis/PersonalJarvis

    Develop or redesign Personal Jarvis world art, buildings, characters and 3D assets through an authored Blender reference scene, runtime review and controlled asset rollout.

    116 GitHub stars~566 tokensUpdated today
    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 Debug

What does Unity Debug do?

Inspect debug, diagnostics and compile state. An agent skill from Besty0728/Unity-Skills. Unity Debug is an agent skill from Besty0728/Unity-Skills.

When should I use Unity Debug?

Unity Debug fits situations like: tasks that involve Debugging.

How do I install Unity Debug in Claude Code?

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

How do I install Unity Debug in Codex?

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

Can I use Unity Debug 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-debug -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-debug, .gemini/skills/unity-debug, .github/skills/unity-debug and .opencode/skills/unity-debug in your project.

What does Unity Debug need to run?

SKILL.md names no scripts, command-line tools or credentials: Unity Debug is instructions for the agent only.

Does Unity Debug 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 Debug 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 Debug use?

Unity Debug 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 Debug use?

About 1.3k tokens (SKILL.md is roughly 5.1k 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 Debug?

Skills that share tags, products or a category with Unity Debug: Sokol Net (elix22/Sokol.NET, 154 stars), Godot Debugging (jame581/GodotPrompter, 792 stars), Uloop Get Logs (kurotu/VRCQuestTools, 373 stars) and Ue Testing Debugging (quodsoler/unreal-engine-skills, 359 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Unity Debug?

Besty0728 (a GitHub user) maintains it in Besty0728/Unity-Skills, which has 1,814 GitHub stars. The repository holds 82 skills in this directory. The repository was last updated on October 6, 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.