Agent skill

Unity Profiler

by Besty0728 in Besty0728/Unity-Skills

Capture read-only Unity runtime performance snapshots. An agent skill from Besty0728/Unity-Skills.

MITAuto-check passedGame Development

Install Unity Profiler

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

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

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

At a glance

Capture read-only Unity runtime performance snapshots. An agent skill from Besty0728/Unity-Skills.

  • Tasks that involve Performance optimization
  • 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 Profiler is an agent skill from Besty0728/Unity-Skills. Capture read-only Unity runtime performance snapshots

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

When your agent uses it

  • Tasks that involve Performance optimization

Example prompts

  • “/unity-profiler”

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 (its code samples are json).

    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 Profiler loads about 1.2k tokens when it runs. Until then it costs about 17 tokens; SKILL.md has 447 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~17
When it runs · the whole SKILL.md, loaded when a task matches
~1.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 12a40e4, republished under its MIT licence (© Besty0728). 447 words, ~1,193 tokens.

Download SKILL.mdSave it as .claude/skills/unity-profiler/SKILL.md (or your agent's skills folder).
name
unity-profiler
description
Capture read-only Unity runtime performance snapshots

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

  • Checking runtime performance
  • Taking a profiler snapshot
  • Inspecting memory/frame stats
  • 查看运行时性能、抓取 profiler 快照、检查内存/帧率统计

Profiler Skills

Get performance statistics.

Operating Mode

  • Approval / Auto / Bypass: 所有 skill 直接执行。本模块全部标 ReadOnly = true, Mode = SkillMode.SemiAuto,三档模式下都不需要 grant。
  • 本模块不含 Delete / PlayMode / Reload / RiskLevel=high 类 skill —— 没有 IsForbiddenInSemi 拦截。
  • 注:本组 skill 仅做"瞬时快照"读取,不是 Profiler 录制控制;持续采样请用 Unity Profiler 窗口。

DO NOT (common hallucinations):

  • profiler_start / profiler_stop do not exist → profiler skills are read-only snapshots, not recording controls
  • profiler_record does not exist → use Unity Profiler window for recording
  • profiler_analyze / profiler_get_fps do not exist → use profiler_get_stats (FPS, batches, draw calls) or profiler_get_memory (heap sizes)

Routing:

  • For scene performance hints → use perception module's scene_performance_hints
  • For memory info → debug_get_memory_info (debug module) or profiler_get_memory (this module)
  • For optimization suggestions → use optimization module

Skills

profiler_get_stats

Get performance statistics (FPS, Memory, Batches). Parameters: None.

Returns:

json
{
  "fps": 60.0,
  "triangles": 1500,
  "batches": 12,
  "memory": { "totalAllocatedMB": 256.5, ... }
}
profiler_get_memory

Get memory usage overview (total allocated, reserved, mono heap). Parameters: None.

Returns: { success, totalAllocatedMB, totalReservedMB, unusedReservedMB, monoHeapMB, monoUsedMB }

profiler_get_runtime_memory

Get top N objects by runtime memory usage in the scene.

ParameterTypeRequiredDefaultDescription
limitintNo20Maximum number of objects to return

Returns: { success, totalTrackedMB, showing, objects: [{ name, type, sizeKB }] }

profiler_get_texture_memory

Get memory usage of all loaded textures.

ParameterTypeRequiredDefaultDescription
limitintNo50Maximum number of textures to return

Returns: { success, totalCount, totalMB, topTextures: [{ name, type, sizeKB, width, height }] }

Show full SKILL.md (182 more words)Show less
profiler_get_mesh_memory

Get memory usage of all loaded meshes.

ParameterTypeRequiredDefaultDescription
limitintNo50Maximum number of meshes to return

Returns: { success, totalCount, totalMB, topMeshes: [{ name, sizeKB, vertices, triangles }] }

profiler_get_material_memory

Get memory usage of all loaded materials.

ParameterTypeRequiredDefaultDescription
limitintNo50Maximum number of materials to return

Returns: { success, totalCount, totalMB, topMaterials: [{ name, shader, sizeKB }] }

profiler_get_audio_memory

Get memory usage of all loaded AudioClips.

ParameterTypeRequiredDefaultDescription
limitintNo50Maximum number of clips to return

Returns: { success, totalCount, totalMB, topClips: [{ name, sizeKB, length, channels, frequency }] }

profiler_get_object_count

Count all loaded objects grouped by type.

ParameterTypeRequiredDefaultDescription
topNintNo20Number of top types to return

Returns: { success, totalObjects, topTypes: [{ type, count }] }

profiler_get_rendering_stats

Get rendering statistics (batches, triangles, vertices, etc.). Parameters: None.

Returns: { success, frameTime, renderTime, triangles, vertices, batches, setPassCalls, drawCalls, dynamicBatchedDrawCalls, staticBatchedDrawCalls, instancedBatchedDrawCalls, shadowCasters }

profiler_get_asset_bundle_stats

Get information about all loaded AssetBundles. Parameters: None.

Returns: { success, count, bundles: [{ name, isStreamedSceneAssetBundle }] }

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

Open the folder on GitHubat commit 12a40e4

Compare with similar skills

Unity Profiler 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 Profiler compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Unity Profiler this skillBesty0728/Unity-Skills1.8k—~1.2kAutomated safety check: PassMIT
Threejs Debug Profilervalkor-ai/loom1.2k1 repos~602Automated safety check: PassApache-2.0
Profiler Capture FrameIvanMurzak/Unity-MCP4.4k—~839Automated safety check: PassApache-2.0
Profiler Get Rendering StatsIvanMurzak/Unity-MCP4.4k—~833Automated safety check: PassApache-2.0
Profiler Get StatusIvanMurzak/Unity-MCP4.4k—~769Automated safety check: PassApache-2.0
Profiler Save DataIvanMurzak/Unity-MCP4.4k—~501Automated safety check: PassApache-2.0

Similar skills

  • Debug and profile Three.js browser games: blank canvases, render and runtime bugs, asset and audio loading, animation, resize, mobile input, plus performance profiling of draw calls, triangles…

    1.2k GitHub starsUsed in 1 repo~602 tokens
    Game DevelopmentAuto-check passed
  • Profiler Capture Frame

    IvanMurzak/Unity-MCP

    Capture the current frame's timing info (delta time, FPS, frame counts, runtime).

    4.4k GitHub stars~839 tokensUpdated 3 days ago
    Game DevelopmentAuto-check passed
  • Profiler Get Rendering Stats

    IvanMurzak/Unity-MCP

    Return current frame timing, FPS, vsync, target frame rate, threading mode, and graphics device type from Unity Time / QualitySettings / SystemInfo.

    4.4k GitHub stars~833 tokensUpdated 3 days ago
    Game DevelopmentAuto-check passed
  • Profiler Get Status

    IvanMurzak/Unity-MCP

    Return the Unity profiler's current enabled state, active modules, max-used memory, and platform support flag.

    4.4k GitHub stars~769 tokensUpdated 3 days ago
    Game DevelopmentAuto-check passed
  • Profiler Save Data

    IvanMurzak/Unity-MCP

    Save a snapshot of profiler-derived stats (status + memory + rendering + script + frame capture) to a JSON file.

    4.4k GitHub stars~501 tokensUpdated 3 days ago
    Game DevelopmentAuto-check passed
  • Profiler Start

    IvanMurzak/Unity-MCP

    Enable Unity's runtime profiler and open the Profiler window.

    4.4k GitHub stars~432 tokensUpdated 3 days ago
    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 Profiler

What does Unity Profiler do?

Capture read-only Unity runtime performance snapshots. An agent skill from Besty0728/Unity-Skills. Unity Profiler is an agent skill from Besty0728/Unity-Skills.

When should I use Unity Profiler?

Unity Profiler fits situations like: tasks that involve Performance optimization.

How do I install Unity Profiler in Claude Code?

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

How do I install Unity Profiler in Codex?

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

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

What does Unity Profiler need to run?

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

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

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

About 1.2k tokens (SKILL.md is roughly 4.8k 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 Profiler?

Skills that share tags, products or a category with Unity Profiler: Threejs Debug Profiler (valkor-ai/loom, 1.2k stars), Profiler Capture Frame (IvanMurzak/Unity-MCP, 4.4k stars), Profiler Get Rendering Stats (IvanMurzak/Unity-MCP, 4.4k stars) and Profiler Get Status (IvanMurzak/Unity-MCP, 4.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Unity Profiler?

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.