unity-editor

Control Unity Editor play mode, pause, selection, and menu commands.

6|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/dyCuong03/unity-agent-team --skill unity-editor-dycuong03
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-editor
Source: https://github.com/dyCuong03/unity-agent-team/tree/main/.claude/skills/unity-skills/skills/editor
Command: npx skills add https://github.com/dyCuong03/unity-agent-team --skill unity-editor-dycuong03

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill resolves the challenge of programmatically controlling the Unity Editor—entering or exiting Play mode, pausing, selecting objects, running editor menu commands, and reading editor context and state—without manual clicking.

Core Features & Use Cases

  • Play Mode Control: Enter play mode, stop play mode, and toggle pause to align editor behavior with the agent’s workflow.
  • Selection & Context Retrieval: Fetch selection, full editor context (including focused window, active scene state, and optionally components/children), and editor state for decision-making.
  • Editor Actions & Metadata: Select GameObjects, undo/redo, execute precise menu commands, and list tags and layers for configuration-aware operations.

Quick Start

Tell the AI to get the current editor context and selected GameObjects so it can plan the next editor operation.

Frequently Asked Questions about unity-editor

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

FAQPage Schema
How do I automate Unity Editor actions like entering play mode or selecting GameObjects?

You can automate Unity Editor actions by retrieving the current editor context and selected GameObjects to plan operations. This Skill programmatically transitions between play mode, pause state, and object selection while executing menu commands like File/Save.

Can I execute Unity menu commands and perform undo/redo operations programmatically?

Executing Unity menu commands programmatically requires passing the correct menuPath parameter to trigger specific editor actions. The Skill supports running precise menu commands, performing undo/redo operations, and validating compilation state before executing actions.

What is the best way to retrieve Unity Editor context and state for decision-making?

Retrieving Unity Editor context fetches the focused window, active scene state, and optionally components and children of selected GameObjects. This state and context data enables automated agents to make informed decisions before executing subsequent editor operations.

Does Unity Editor automation work in Approval mode for high-risk play-mode transitions?

Unity Editor automation respects restrictions on high-risk play-mode skills when operating in Approval mode. This ensures safe transitions into and out of play mode by validating editor and compilation state before performing potentially disruptive automated actions.

How do I list tags and layers in Unity for configuration-aware editor automation?

Listing tags and layers in Unity provides the metadata required for configuration-aware editor automation operations. The Skill retrieves these configuration details alongside editor context to ensure automated actions align with the project's existing structural setup.