addressables-design
Source-anchored design rules for Unity Addressables 1.22.3/2.9.1
Capture read-only Unity runtime performance snapshots
$ npx -y skills add Besty0728/Unity-Skills --skill profiler --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/profilerContext preview
The summary Claude sees to decide when to auto-load this skill.
Capture read-only Unity runtime performance snapshots
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.
Get performance statistics.
**DO NOT** (common hallucinations):
**Routing**:
Get performance statistics (FPS, Memory, Batches). **Parameters:** None.
**Returns:**
{
"fps": 60.0,
"triangles": 1500,
"batches": 12,
"memory": { "totalAllocatedMB": 256.5, ... }
}Get memory usage overview (total allocated, reserved, mono heap). **Parameters:** None.
**Returns:** `{ success, totalAllocatedMB, totalReservedMB, unusedReservedMB, monoHeapMB, monoUsedMB }`
Get top N objects by runtime memory usage in the scene.
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | limit | int | No | 20 | Maximum number of objects to return |
**Returns:** `{ success, totalTrackedMB, showing, objects: [{ name, type, sizeKB }] }`
Get memory usage of all loaded textures.
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | limit | int | No | 50 | Maximum number of textures to return |
**Returns:** `{ success, totalCount, totalMB, topTextures: [{ name, type, sizeKB, width, height }] }`
Get memory usage of all loaded meshes.
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | limit | int | No | 50 | Maximum number of meshes to return |
**Returns:** `{ success, totalCount, totalMB, topMeshes: [{ name, sizeKB, vertices, triangles }] }`
Get memory usage of all loaded materials.
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | limit | int | No | 50 | Maximum number of materials to return |
**Returns:** `{ success, totalCount, totalMB, topMaterials: [{ name, shader, sizeKB }] }`
Get memory usage of all loaded AudioClips.
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | limit | int | No | 50 | Maximum number of clips to return |
**Returns:** `{ success, totalCount, totalMB, topClips: [{ name, sizeKB, length, channels, frequency }] }`
Count all loaded objects grouped by type.
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | topN | int | No | 20 | Number of top types to return |
**Returns:** `{ success, totalObjects, topTypes: [{ type, count }] }`
Get rendering statistics (batches, triangles, vertices, etc.). **Parameters:** None.
**Returns:** `{ success, frameTime, renderTime, triangles, vertices, batches, setPassCalls, drawCalls, dynamicBatchedDrawCalls, staticBatchedDrawCalls, instancedBatchedDrawCalls, shadowCasters }`
Get information about all loaded AssetBundles. **Parameters:** None.
**Returns:** `{ success, count, bundles: [{ name, isStreamedSceneAssetBundle }] }`
Exact names, parameters, defaults, and returns are defined by `GET /skills/schema` or `unity_skills.get_skill_schema()`, not by this file.
REST API-based AI-driven Unity Editor Automation Engine Let AI control Unity scenes directly through Skills 🎉 We are now indexed by DeepWiki! Got questions? Check out the AI-generated docs → The current official maintenance baseline is Unity 2022.3+.
Source-anchored design rules for Unity Addressables 1.22.3/2.9.1
Manage Addressables groups, entries, profiles and content builds (com.unity.addressables, reflection-based)