unity-editor

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

2|Updated May 18, 2026
One-click install
npx skills add https://github.com/pcone-mm/NewFPG --skill unity-editor-pcone-mm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-editor
Source: https://github.com/pcone-mm/NewFPG/tree/main/.agents/skills/unity-skills/skills/editor
Command: npx skills add https://github.com/pcone-mm/NewFPG --skill unity-editor-pcone-mm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When an AI assistant works with Unity, it loses track of what changed while the user edited scenes manually, and it cannot safely drive play mode or inspect live runtime state without parsing fragile scene YAML files. This Skill provides structured observation and control of the Unity Editor so the AI always works from accurate editor state. ## Core Features & Use Cases - Change Tracking: Read a persistent journal of scene, file, undo, and lifecycle changes via editor_get_changes, using a cursor to resume exactly where the AI left off after the user edited Unity. - Play Mode Control: Enter, exit, pause, and step play mode frame-by-frame with editor_play, editor_stop, editor_pause, and editor_playmode_step, including async job polling for frame-accurate stepping. - Runtime Inspection & Editor Actions: Inspect live GameObject transform and component fields with editor_playmode_inspect, manage selection, undo/redo, and execute exact menu paths like File/Save. - Use Case: After returning to a Unity session, call editor_get_changes to see what the user modified, then enter play mode, step three frames, and assert that the Player object's position actually changed. ## Quick Start Ask the AI to check the current Unity editor state and list any scene changes made since the last session before entering play mode.

Frequently Asked Questions about unity-editor

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

FAQPage Schema
How do I detect what changed in a Unity scene while the AI was away?

Call editor_get_changes with the cursor saved from your previous call 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. If dropped is true, rebuild context with scene_context or scene_diff.

How to step Unity play mode forward frame by frame?

Use editor_playmode_step with a frames parameter between 1 and 100 after entering play mode with editor_play or editor_play_capture. It returns an async jobId; poll job_status until completed rather than using job_wait, which cannot observe Editor tick progress.

Can I inspect a GameObject's live component values during Unity play mode?

Yes, editor_playmode_inspect returns transform, active state, and public fields and properties of a specified component during play mode, including while paused. It also works in edit mode; check isPlaying and isPaused in the response to know which state the values reflect.

Why does editor_playmode_step fail with a structured error?

It fails when play mode is not active, returning an error with suggestedSkills pointing to editor_play or editor_play_capture. It also fails if another step job is still running, if play mode exits mid-step, or if Unity does not advance a frame within 10 seconds.

Does this skill support saving scenes or checking compilation?

Scene saving is handled by scene_save in the scene module or by editor_execute_menu with menuPath File/Save. Compilation checks route to the debug module's debug_check_compilation; there is no editor_compile or editor_save skill.