unity-history

Manage Unity Editor undo and redo operations over the native undo stack.

Updated Aug 31, 2026
One-click install
npx skills add https://github.com/pikachu0310/codex-agent-ops-public --skill unity-history-pikachu0310
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-history
Source: https://github.com/pikachu0310/codex-agent-ops-public/tree/main/.agents/skills/unity-skills/skills/history
Command: npx skills add https://github.com/pikachu0310/codex-agent-ops-public --skill unity-history-pikachu0310

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When automating Unity Editor workflows, agents and users need a safe way to step backward or forward through scene changes without manually tracking every edit. This Skill exposes Unity's native undo/redo stack so operations can be reverted or replayed programmatically. ## Core Features & Use Cases - Undo Operations: Revert one or multiple steps of recent scene edits with history_undo. - Redo Operations: Replay previously undone steps with history_redo. - History Inspection: Query the current undo group name and index with history_get_current to audit what changed. - Use Case: After an automated batch edit modifies a Unity scene incorrectly, call history_undo with the appropriate step count to restore the prior state, then verify with history_get_current before continuing. ## Quick Start Ask the agent to undo the last two Unity Editor operations and then report the current undo group name.

Frequently Asked Questions about unity-history

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

FAQPage Schema
How do I undo changes in Unity Editor programmatically?

Use the history_undo skill with an optional steps parameter to revert one or more operations on Unity's native undo stack. It returns the number of steps actually undone, and history_redo replays them if needed.

How can I check the current Unity undo group?

Call history_get_current, which takes no parameters and returns the current undo group name and group index. This is a read-only operation safe to run in any approval mode.

Can I clear the Unity undo history via API?

No, Unity's undo history cannot be cleared through the API, so no history_clear skill exists. The undo stack is managed automatically by the Unity Editor itself.

What is the difference between history_undo and workflow_undo_task?

history_undo replays Unity's native Undo/Redo stack for simple scene edits, while workflow module skills handle persistent task-level or conversation-level undo with snapshot payloads. Use the workflow module for structured task rollback.

Why does calling history_list or history_save fail?

Those skills do not exist; they are common hallucinations. Use history_get_current for the current undo group, and rely on Unity to manage history persistence automatically.