unity-workflow

Tracks Unity Editor operations with persistent snapshots for task and session-level undo.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Unity Editor changes made by AI assistants are hard to reverse once applied, especially across Editor restarts or multi-step conversations. This Skill records persistent operation history with content-addressed snapshots so entire tasks or sessions can be rolled back safely. ## Core Features & Use Cases - Task and Session Undo: Group changes into tasks or conversation-level sessions, then undo or redo them by ID even after the Editor restarts. - Automatic Snapshots: Objects are snapshotted before modification and created assets are tracked, with tiered snapshot types covering created, moved, deleted, modified, and settings changes. - Batch Planning and Bookmarks: Generate combined execution plans with risk totals, retry failed batch items, and save scene-view bookmarks for quick navigation. - Use Case: Before letting an AI refactor a scene, start a session, let it create and modify objects, then undo the entire session with one call if the result is wrong. ## Quick Start Start a workflow session, make your scene changes, and if anything goes wrong ask the assistant to undo the whole session by its session ID.

Frequently Asked Questions about unity-workflow

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

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

Use history_undo with a steps parameter for multi-step undo, or wrap changes in a task with workflow_task_start and workflow_task_end, then call workflow_undo_task with the task ID to revert everything that task changed.

How to roll back all AI changes from one conversation in Unity?

Call workflow_session_start at the beginning of the conversation and workflow_session_end at the end. Later, call workflow_session_undo with the session ID to revert every tracked change from that conversation, even after an Editor restart.

Does Unity workflow undo survive Editor restarts?

Yes, history is persisted to workflow_history.json and asset backups are stored content-addressed under Library/UnitySkills/workflow_files. Tasks and sessions remain undoable across restarts, though objects created in never-saved scenes may fail to restore.

What operations are automatically tracked for undo in Unity?

Creation operations like gameobject_create, component_add, prefab_instantiate, material_create, and ui_create_* are auto-tracked when a task or session is active. Modification operations trigger automatic snapshots of target objects before changes are applied.

Why does workflow_clear_history fail with MODE_FORBIDDEN?

workflow_clear_history is marked as a high-risk delete operation, so it is forbidden in Approval and Auto modes. It only runs in Bypass mode or when explicitly allowlisted, because it permanently erases all history and backup files.

What are the limitations of Unity scene undo after scene_save?

Undoing scene_save restores the on-disk .unity file, but if the scene is currently open you must reload it for the restore to take effect. External side effects like Package Manager operations cannot be rolled back at all.