unity-editor

Control and observe the Unity Editor including play mode, selection, undo, and change tracking.

Updated Oct 13, 2025
One-click install
npx skills add https://github.com/Darth-Carrotpie/ProxyCore --skill unity-editor-darth-carrotpie
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: unity-editor
Source: https://github.com/Darth-Carrotpie/ProxyCore/tree/main/.agents/skills/unity-skills/skills/editor
Command: npx skills add https://github.com/Darth-Carrotpie/ProxyCore --skill unity-editor-darth-carrotpie

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI agents working with Unity lose track of what changed while they were away and cannot safely drive the Editor without parsing fragile scene YAML. This Skill exposes structured operations to observe and control the Unity Editor so agents can resume work with accurate context. ## Core Features & Use Cases - Change Tracking: Read a persistent journal of scene, file, undo, and lifecycle changes via editor_get_changes with cursor-based paging, instead of parsing .unity YAML. - Play Mode Control: Enter, pause, step frame-by-frame, capture runtime errors and screenshots, and exit play mode with async job monitoring. - Editor State & Selection: Inspect live GameObject runtime state, get/set selection, read editor context, undo/redo, and execute exact menu items like File/Save. - Use Case: After the user edited the scene while the AI was offline, call editor_get_changes to rebuild context, then enter play mode with editor_play_capture to verify the game runs without errors. ## Quick Start Ask the agent to check the current Unity editor state and list any scene changes since the last session.

Frequently Asked Questions about unity-editor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I control Unity play mode from an AI agent?▼

Use editor_play to enter play mode, editor_pause to toggle pause, editor_playmode_step to advance specific frames, and editor_stop to exit. For observation, editor_play_capture enters play mode, collects runtime errors for a set duration, optionally screenshots, then exits.

How to detect Unity scene changes made while the AI was away?▼

Call editor_get_changes with your last cursor to read the persistent change journal at Library/UnitySkills/editor_changes.jsonl. It returns scene, file, undo, and lifecycle entries without parsing raw .unity YAML. Save the returned cursor for the next call.

Can I inspect a GameObject's live runtime state in Unity?▼

Yes, editor_playmode_inspect returns transform, active flags, and optionally a component's public fields and properties during play mode or edit mode. Identify the object by name, instanceId, or path, and check isPlaying in the response to know which state the values reflect.

Why does editor_playmode_step not finish when using job_wait?▼

The step job depends on EditorApplication.update ticks, which run on the same main thread that job_wait blocks. Poll job_status in a loop with short sleeps instead so editor ticks can advance and the job can complete.

What are the limitations of executing Unity menu items programmatically?▼

editor_execute_menu requires the exact menu path such as File/Save; typos cause silent failure with no error. There is no editor_save or editor_run skill, so saving must go through the menu path or the scene module's scene_save.