memoryprofiler

memoryprofiler is a skill for Claude Code, Codex from AlexeyPerov/Unity-Open-MCP. It costs 0 tokens per session (1,443 once invoked), scanned A, original, MIT.

A Unity Editor skill for taking Memory Profiler snapshots through the unity-open-mcp connection. Unity Memory Profiler is a tool for inspecting how a game uses memory.

In plain words
What is it for?
Use it to capture Unity memory snapshots for diagnosing memory usage and related issues in a project.
Why use it?
It lets an AI agent capture snapshots from a connected Unity project when investigating memory use. It only works when the Memory Profiler package is installed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to capture Unity memory snapshots for diagnosing memory usage and related issues in a project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alexeyperov/unity-open-mcp/memoryprofiler
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add AlexeyPerov/Unity-Open-MCP --skill memoryprofiler
Clone the repo
git clone --depth 1 https://github.com/AlexeyPerov/Unity-Open-MCP

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for memoryprofiler

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexeyperov/unity-open-mcp/memoryprofiler/github.svg)](https://agentmods.dev/skills/alexeyperov/unity-open-mcp/memoryprofiler)
Your own site
<a href="https://agentmods.dev/skills/alexeyperov/unity-open-mcp/memoryprofiler"><img src="https://agentmods.dev/badge/skills/alexeyperov/unity-open-mcp/memoryprofiler/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.

agentmods 80×15 button for memoryprofiler

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexeyperov/unity-open-mcp/memoryprofiler"><img src="https://agentmods.dev/badge/skills/alexeyperov/unity-open-mcp/memoryprofiler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,443 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01443
Opus 5.5 $0.00000 $0.00577
Sonnet 5.5 $0.00000 $0.00289
Haiku 4.5 $0.00000 $0.00144

Measured 1mo ago against content hash 3f98a273451f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

memoryprofiler 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.

skills/extensions/memoryprofiler/SKILL.md · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Unity Open MCP — Memory Profiler Extension

Skill for AI agents capturing Unity Memory Profiler snapshots (com.unity.memoryprofiler) in a Unity project through the unity-open-mcp MCP server.

This domain is embedded in the bridge, compile-gated on com.unity.memoryprofiler, and auto-activating. Its tool compiles in only when the project has com.unity.memoryprofiler installed (the bridge sets the UNITY_OPEN_MCP_EXT_MEMORYPROFILER define automatically). When the package is present, the memoryprofiler group activates automatically for the session — the tool appears in ListTools with no manual manage_tools call.

Preconditions

  • Unity Editor is open with the target project.
  • unity_open_mcp_ping returns connected: true.
  • The project has com.unity.memoryprofiler installed. If capabilities reports the memoryprofiler group as available: false, install the package (Package Manager → Unity Registry → Memory Profiler) and let the bridge recompile.
  • The memoryprofiler group is auto-activated when the package is present — check unity_open_mcp_manage_tools(action="list_groups"); the group should show activationSource: "auto". If you deactivated it manually, re-activate with manage_tools(action="activate", group="memoryprofiler").

Tool

unity_senses_memory_snapshot_capture — capture a Memory Profiler snapshot to a .snap file. (Sense-prefixed because it pairs with the existing senses profiler family rather than the typed-editor surface.)

Vocabulary

A Memory Profiler snapshot (.snap file) is an offline capture of the entire managed + native heap at a moment in time — far deeper than the live unity_senses_profiler_memory allocator-bytes read. It can be opened in the Memory Profiler window (Window > Analysis > Memory Profiler) for root-cause analysis of leaks, large allocations, and asset footprint.

Version-stability note

The Memory Profiler capture surface moved namespaces across Unity versions:

Read the full file on GitHub · 133 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 1mo ago First seen · 133 lines · 0 tokens per session scan A 3f98a273451f

Subscribe to this mod's changes

memoryprofiler is a skill published in the GitHub repository AlexeyPerov/Unity-Open-MCP (17 stars, last pushed 14d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,443 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-31.