addressables-design
Source-anchored design rules for Unity Addressables 1.22.3/2.9.1
Capture and query the Unity Editor console
$ npx -y skills add Besty0728/Unity-Skills --skill console --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/consoleContext preview
The summary Claude sees to decide when to auto-load this skill.
Capture and query the Unity Editor console
name: unity-console description: Capture and query the Unity Editor console
> **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.
Work with the Unity console - capture logs, write messages, and debug your project.
**DO NOT** (common hallucinations):
**Routing**:
| Skill | Description | |-------|-------------| | `console_start_capture` | Start capturing logs | | `console_stop_capture` | Stop capturing logs | | `console_get_logs` | Get captured logs | | `console_clear` | Clear console | | `console_log` | Write log message | | `console_set_pause_on_error` | Enable or disable Error Pause in Play mode | | `console_export` | Export console logs to a file | | `console_get_stats` | Get log statistics (count by type) | | `console_set_collapse` | Set console log collapse mode | | `console_set_clear_on_play` | Set clear on play mode |
---
Start capturing Unity console logs.
No parameters.
Stop capturing logs.
No parameters.
Get Unity Console logs (reads existing console history directly; if `console_start_capture` is active, returns captured buffer with timestamps instead).
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | `type` | string | No | "All" | All / Error / Warning / Log | | `filter` | string | No | null | Substring content filter | | `limit` | int | No | 100 | Max results |
**Returns** (two shapes depending on mode):
Clear the Unity console.
No parameters.
Write a custom log message.
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | `message` | string | Yes | - | Log message | | `type` | string | No | "Log" | Log/Warning/Error |
Enable or disable Error Pause in Play mode.
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | `enabled` | bool | No | true | Enable or disable error pause |
**Returns:** `{ success, enabled }`
Export console logs to a file. Uses captured buffer when console_start_capture is active; otherwise reads directly from Unity Console history (no setup needed).
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | `savePath` | string | No | "Assets/console_log.txt" | File path to save logs |
**Returns:** `{ success, path, count, source }`
Get log statistics (count by type). Uses captured buffer when console_start_capture is active; otherwise reads directly from Unity Console history.
No parameters.
**Returns** (two shapes depending on mode):
Set console log collapse mode.
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | `enabled` | bool | Yes | - | Enable or disable collapse mode |
**Returns:** `{ success, setting, enabled }`
Set clear on play mode.
| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | `enabled` | bool | Yes | - | Enable or disable clear on play |
**Returns:** `{ success, setting, enabled }`
---
import unity_skills
# Start capturing logs before play mode
unity_skills.call_skill("console_start_capture")
# Enter play mode
unity_skills.call_skill("editor_play")
# ... gameplay generates logs ...
unity_skills.call_skill("editor_stop")
# Get all captured logs
logs = unity_skills.call_skill("console_get_logs")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)