unity-history

Inspect and control undo and redo operations on the Unity Editor native undo stack.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When working in the Unity Editor, it is easy to lose track of what changed or to need to step back through recent operations. This Skill exposes the Unity native undo stack so you can inspect the current undo state and step backward or forward through recorded operations without manual clicking. ## Core Features & Use Cases - Undo Operations: Revert one or more recorded operations with history_undo, specifying how many steps to roll back. - Redo Operations: Re-apply previously undone operations with history_redo, again with a configurable step count. - Inspect Current State: Query the current undo history state with history_get_current to audit what changed before deciding to undo. - Use Case: After a batch of scene edits, ask the assistant to show the current undo state, then undo the last three operations and redo one if the result was not what you expected. ## Quick Start Ask the assistant to show the current Unity undo history state, then undo the last two operations in the scene.

Frequently Asked Questions about unity-history

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

FAQPage Schema
How do I undo multiple operations in Unity Editor at once?

Use history_undo with the steps parameter set to the number of operations you want to revert, for example steps set to 3 undoes the last three recorded operations. The default is one step if you omit the parameter.

How can I check the current Unity undo history state?

Call history_get_current, which is a read-only operation that returns the current undo history state. It works in all operating modes since it does not modify the scene.

Can I clear the Unity undo history via an API?

No, the Unity undo history cannot be cleared through an API, and there is no history_clear operation. Unity manages the undo stack automatically, so you can only step through it with undo and redo.

What is the difference between history_undo and editor_undo in Unity skills?

Both perform simple undo and redo of editor operations, so either can be used for basic cases. For persistent task-level or conversation-level undo, use the workflow module instead, such as workflow_session_undo.

Why does undo require approval in some Unity skill modes?

history_undo and history_redo change scene state, so they run as Execute operations under FullAuto mode by default. In Approval mode they require an explicit grant, while the read-only history_get_current runs directly in all modes.