Agent skill

Profiler Get Script Stats

by IvanMurzak in IvanMurzak/Unity-MCP

Return script execution timing (frame time, fixed dt, time scale, frame count, runtime) plus Mono / GC memory usage in MB.

Apache-2.0Auto-check passedDevelopment

Install Profiler Get Script Stats

skills CLI
$ npx skills add IvanMurzak/Unity-MCP --skill profiler-get-script-stats -a claude-code

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

GitHub CLI
$ gh skill install IvanMurzak/Unity-MCP profiler-get-script-stats --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/IvanMurzak/Unity-MCP.git skills-src && mkdir -p .claude/skills && cp -r skills-src/Unity-MCP-Plugin/.claude/skills/profiler-get-script-stats .claude/skills/profiler-get-script-stats && 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
profiler-get-script-stats
GitHub stars
4.4k
Token cost
~872 tokens
SKILL.md length
117 words
Files
1
Skills in repo
80
Repo updated
First seen
Licence
Apache-2.0

At a glance

Return script execution timing (frame time, fixed dt, time scale, frame count, runtime) plus Mono / GC memory usage in MB.

  • Tasks that involve Performance optimization
  • SKILL.md covers Fields, How to Call, Input and Output
  • Calls npm and npx

What it does

Profiler Get Script Stats is an agent skill from IvanMurzak/Unity-MCP. Return script execution timing (frame time, fixed dt, time scale, frame count, runtime) plus Mono / GC memory usage in MB.

Its SKILL.md is about 870 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 Development, covering Performance optimization. It works with Model Context Protocol. The repository describes itself as: AI Skills, MCP Tools, and CLI for Unity Engine. Full AI develop and test loop. Use cli for quick setup. Efficient token usage, advanced tools. Any C method may be turned into a… The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Performance optimization

Example prompts

  • “/profiler-get-script-stats”

Requirements

  • Node.js

What it can do on your machine

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

    Shell commands in SKILL.md call:

    • npm
    • npx

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

  • Network

    No URLs in SKILL.md. Its commands use npm and npx, which can reach the network depending on how they are called.

    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

Profiler Get Script Stats loads about 872 tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 117 words of instructions outside code blocks.

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

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 IvanMurzak/Unity-MCP at commit 4c8056f, republished under its Apache-2.0 licence (© IvanMurzak). 117 words, ~872 tokens.

Download SKILL.mdSave it as .claude/skills/profiler-get-script-stats/SKILL.md (or your agent's skills folder).
name
profiler-get-script-stats
description
Return script execution timing (frame time, fixed dt, time scale, frame count, runtime) plus Mono / GC memory usage in MB.

Profiler / Get Script Stats

Snapshots fields from UnityEngine.Time, UnityEngine.Profiling.Profiler.GetMonoUsedSizeLong() and System.GC.GetTotalMemory(false). All values are produced by built-in Unity APIs.

Fields

  • FrameTimeMs — Time.deltaTime * 1000f.
  • FixedDeltaTimeMs — Time.fixedDeltaTime * 1000f.
  • TimeScale — Time.timeScale.
  • TotalFrameCount — Time.frameCount.
  • RealtimeSinceStartup — Time.realtimeSinceStartup.
  • MonoMemoryUsageMB — Profiler.GetMonoUsedSizeLong() / 1048576f.
  • GCMemoryUsageMB — GC.GetTotalMemory(false) / 1048576f.

How to Call

bash
unity-mcp-cli run-tool profiler-get-script-stats --input '{
  "nothing": "string_value"
}'

For complex input (multi-line strings, code), save the JSON to a file and use:

bash
unity-mcp-cli run-tool profiler-get-script-stats --input-file args.json

Or pipe via stdin (recommended):

bash
unity-mcp-cli run-tool profiler-get-script-stats --input-file - <<'EOF'
{"param": "value"}
EOF
Troubleshooting

If unity-mcp-cli is not found, either install it globally (npm install -g unity-mcp-cli) or use npx unity-mcp-cli instead. Read the /unity-initial-setup skill for detailed installation instructions.

Input

NameTypeRequiredDescription
nothingstringNo
Input JSON Schema
json
{
  "type": "object",
  "properties": {
    "nothing": {
      "type": "string"
    }
  }
}

Output

Output JSON Schema
json
{
  "type": "object",
  "properties": {
    "result": {
      "$ref": "#/$defs/com.IvanMurzak.Unity.MCP.Editor.API.Tool_Profiler-ScriptStatsData",
      "description": "Script statistics derived from UnityEngine.Time + UnityEngine.Profiling.Profiler."
    }
  },
  "$defs": {
    "com.IvanMurzak.Unity.MCP.Editor.API.Tool_Profiler-ScriptStatsData": {
      "type": "object",
      "properties": {
        "FrameTimeMs": {
          "type": "number",
          "description": "Time.deltaTime in milliseconds."
        },
        "FixedDeltaTimeMs": {
          "type": "number",
          "description": "Time.fixedDeltaTime in milliseconds."
        },
        "TimeScale": {
          "type": "number",
          "description": "Time.timeScale."
        },
        "TotalFrameCount": {
          "type": "integer",
          "description": "Total frame count since application start (Time.frameCount)."
        },
        "RealtimeSinceStartup": {
          "type": "number",
          "description": "Time.realtimeSinceStartup, in seconds."
        },
        "MonoMemoryUsageMB": {
          "type": "number",
          "description": "Mono used size (Profiler.GetMonoUsedSizeLong / 1048576), in megabytes."
        },
        "GCMemoryUsageMB": {
          "type": "number",
          "description": "System.GC.GetTotalMemory(false) / 1048576, in megabytes."
        }
      },
      "required": [
        "FrameTimeMs",
        "FixedDeltaTimeMs",
        "TimeScale",
        "TotalFrameCount",
        "RealtimeSinceStartup",
        "MonoMemoryUsageMB",
        "GCMemoryUsageMB"
      ],
      "description": "Script statistics derived from UnityEngine.Time + UnityEngine.Profiling.Profiler."
    }
  },
  "required": [
    "result"
  ]
}

© IvanMurzak, Apache-2.0. 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 Unity-MCP-Plugin/.claude/skills/profiler-get-script-stats of IvanMurzak/Unity-MCP.

Open the folder on GitHubat commit 4c8056f

Compare with similar skills

Profiler Get Script Stats 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.

Profiler Get Script Stats compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Profiler Get Script Stats this skillIvanMurzak/Unity-MCP4.4k—~872Automated safety check: PassApache-2.0
Harmony Nextlinhay/harmony-next.skills360—~7.4kAutomated safety check: PassNone
Dotnet Debuggingnovotnyllc/dotnet-artisan233—~2.1kAutomated safety check: PassMIT
AgentburnSocialpranker/agentburn113—~982Automated safety check: PassMIT
Mecatl Perf MCP Interpretationstacklok/mecatl218—~2.3kAutomated safety check: PassApache-2.0
Performance Profilingconorluddy/xclaude-plugin183—~7.3kAutomated safety check: PassMIT

Similar skills

  • Harmony Next

    linhay/harmony-next.skills

    A skill your agent uses for HarmonyOS NEXT development help and local DevEco automation.

    360 GitHub stars~7.4k tokensUpdated 17 days ago
    DevelopmentAuto-check passed
  • Dotnet Debugging

    novotnyllc/dotnet-artisan

    Debugs Windows and Linux/macOS applications (native, .NET/CLR, mixed-mode) with WinDbg MCP (crash dumps, !analyze, !syncblk, !dlk, !runaway, !dumpheap, !gcroot, BSOD), dotnet-dump, lldb with SOS…

    233 GitHub stars~2.1k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Agentburn

    Socialpranker/agentburn

    Answer questions about this agent's own token spend, usage limits and burn.

    113 GitHub stars~982 tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Guides reading mecatl's perf MCP data to find why a running harness is slow, leaking goroutines or growing in memory, using cheap reads before any CPU capture.

    218 GitHub stars~2.3k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Performance Profiling

    conorluddy/xclaude-plugin

    Instruments integration and performance analysis workflows for iOS apps.

    183 GitHub stars~7.3k tokensUpdated 25 days ago
    DevelopmentAuto-check passed
  • Connects an agent to a real Chrome instance through the Chrome DevTools MCP server, so it can inspect the DOM, read console errors and profile performance directly.

    102k GitHub starsUsed in 4 repos~3.5k tokens
    Testing & QAAuto-check: warnings

More from IvanMurzak/Unity-MCP

All 80 skills in this repo
  • Assets Shader List All

    IvanMurzak/Unity-MCP

    List all shaders available in the project assets and packages, sorted by name.

    4.4k GitHub stars~435 tokensUpdated 3 days ago
    Auto-check passed
  • Gameobject Component List All

    IvanMurzak/Unity-MCP

    List the fully-qualified C type names of every concrete UnityEngine.Component subclass available in the project.

    4.4k GitHub stars~846 tokensUpdated 3 days ago
    Auto-check passed
  • Package Add

    IvanMurzak/Unity-MCP

    Install a Unity package from the registry, a Git URL, or a local path.

    4.4k GitHub stars~665 tokensUpdated 3 days ago
    Auto-check passed
  • Package Remove

    IvanMurzak/Unity-MCP

    Uninstall a UPM package from the Unity project. An agent skill from IvanMurzak/Unity-MCP.

    4.4k GitHub stars~602 tokensUpdated 3 days ago
    Auto-check passed
  • Unity Version Split

    IvanMurzak/Unity-MCP

    Split a C file into Unity 6.5+ and pre-Unity 6.5 variants. An agent skill from IvanMurzak/Unity-MCP.

    4.4k GitHub stars~1.1k tokensUpdated 3 days ago
    Auto-check passed
  • Assets Copy

    IvanMurzak/Unity-MCP

    Copy assets at given paths and store them at new paths. An agent skill from IvanMurzak/Unity-MCP.

    4.4k GitHub stars~1k tokensUpdated 3 days ago
    Auto-check passed

Questions about Profiler Get Script Stats

What does Profiler Get Script Stats do?

Return script execution timing (frame time, fixed dt, time scale, frame count, runtime) plus Mono / GC memory usage in MB. Profiler Get Script Stats is an agent skill from IvanMurzak/Unity-MCP. Return script execution timing (frame time, fixed dt, time scale, frame count, runtime) plus Mono / GC memory usage in MB.

When should I use Profiler Get Script Stats?

Profiler Get Script Stats fits situations like: tasks that involve Performance optimization.

How do I install Profiler Get Script Stats in Claude Code?

Run `npx skills add IvanMurzak/Unity-MCP --skill profiler-get-script-stats -a claude-code`. Or copy the skill folder (Unity-MCP-Plugin/.claude/skills/profiler-get-script-stats in IvanMurzak/Unity-MCP) into .claude/skills/profiler-get-script-stats in your project. Claude Code loads it when a task matches its description.

How do I install Profiler Get Script Stats in Codex?

Run `npx skills add IvanMurzak/Unity-MCP --skill profiler-get-script-stats -a codex`. Or copy the skill folder (Unity-MCP-Plugin/.claude/skills/profiler-get-script-stats in IvanMurzak/Unity-MCP) into .agents/skills/profiler-get-script-stats in your project. Codex loads it when a task matches its description.

Can I use Profiler Get Script Stats 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 IvanMurzak/Unity-MCP --skill profiler-get-script-stats -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/profiler-get-script-stats, .gemini/skills/profiler-get-script-stats, .github/skills/profiler-get-script-stats and .opencode/skills/profiler-get-script-stats in your project.

What does Profiler Get Script Stats need to run?

Going by SKILL.md and its folder, Profiler Get Script Stats needs the command-line tools its instructions call (npm and npx). Our summary lists: Node.js.

Does Profiler Get Script Stats access the network?

SKILL.md contains no URLs. Its commands use npm and npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Profiler Get Script Stats 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 Profiler Get Script Stats use?

Profiler Get Script Stats is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Profiler Get Script Stats use?

About 872 tokens (SKILL.md is roughly 3.5k 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 Profiler Get Script Stats?

Skills that share tags, products or a category with Profiler Get Script Stats: Harmony Next (linhay/harmony-next.skills, 360 stars), Dotnet Debugging (novotnyllc/dotnet-artisan, 233 stars), Agentburn (Socialpranker/agentburn, 113 stars) and Mecatl Perf MCP Interpretation (stacklok/mecatl, 218 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Profiler Get Script Stats?

IvanMurzak (a GitHub user) maintains it in IvanMurzak/Unity-MCP, which has 4,392 GitHub stars. The repository holds 80 skills in this directory. The repository was last updated on October 4, 2026.

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