/history
Manage undo/redo history over the native undo stack. 管理原生撤销栈上的撤销/重做历史。
$ npx -y skills add Besty0728/Unity-Skills --skill history --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/history
Context preview
The summary Claude sees to decide when to auto-load this skill.
Manage undo/redo history over the native undo stack. 管理原生撤销栈上的撤销/重做历史。
SKILL.md
history.SKILL.mdname: unity-history
description: Manage undo/redo history over the native undo stack. 管理原生撤销栈上的撤销/重做历史。
Triggers
- Reviewing or navigating undo history
- Stepping undo/redo
- Auditing what changed
- 查看或浏览撤销历史、逐步撤销/重做、审查改动
History Skills
Manage Unity Editor undo/redo history.
Operating Mode
本模块 `history_get_current`(纯读)标 `SkillMode.SemiAuto`,三档下均可直接执行;`history_undo` / `history_redo` 会改变场景状态,为默认 `SkillMode.FullAuto`(Operation=Execute),Approval 模式下需 grant。**不含 NeverInSemi 高危 skill**。
**DO NOT** (common hallucinations):
- `history_list` / `history_get` do not exist → use `history_get_current` for current undo group
- `history_clear` does not exist → Unity undo history cannot be cleared via API
- `history_save` does not exist → undo history is managed by Unity automatically
**Routing**:
- For simple undo/redo → `history_undo` / `history_redo` (this module) or `editor_undo` / `editor_redo`
- For persistent task-level undo → use `workflow` module
- For conversation-level undo → use `workflow` module's `workflow_session_undo`
Skills
`history_undo`
Undo the last operation. **Parameters:**
- `steps` (int, optional, default 1): Number of operations to undo.
`history_redo`
Redo the last undone operation. **Parameters:**
- `steps` (int, optional, default 1): Number of operations to redo.
`history_get_current`
Get current undo history state. **Parameters:** None.
Exact Signatures
Exact names, parameters, defaults, and returns are defined by `GET /skills/schema` or `unity_skills.get_skill_schema()`, not by this file.
Read more
name: unity-history description: Manage undo/redo history over the native undo stack. 管理原生撤销栈上的撤销/重做历史。
Triggers
- Reviewing or navigating undo history
- Stepping undo/redo
- Auditing what changed
- 查看或浏览撤销历史、逐步撤销/重做、审查改动
History Skills
Manage Unity Editor undo/redo history.
Operating Mode
本模块 `history_get_current`(纯读)标 `SkillMode.SemiAuto`,三档下均可直接执行;`history_undo` / `history_redo` 会改变场景状态,为默认 `SkillMode.FullAuto`(Operation=Execute),Approval 模式下需 grant。**不含 NeverInSemi 高危 skill**。
**DO NOT** (common hallucinations):
- `history_list` / `history_get` do not exist → use `history_get_current` for current undo group
- `history_clear` does not exist → Unity undo history cannot be cleared via API
- `history_save` does not exist → undo history is managed by Unity automatically
**Routing**:
- For simple undo/redo → `history_undo` / `history_redo` (this module) or `editor_undo` / `editor_redo`
- For persistent task-level undo → use `workflow` module
- For conversation-level undo → use `workflow` module's `workflow_session_undo`
Skills
`history_undo`
Undo the last operation. **Parameters:**
- `steps` (int, optional, default 1): Number of operations to undo.
`history_redo`
Redo the last undone operation. **Parameters:**
- `steps` (int, optional, default 1): Number of operations to redo.
`history_get_current`
Get current undo history state. **Parameters:** None.
Exact Signatures
Exact names, parameters, defaults, and returns are defined by `GET /skills/schema` or `unity_skills.get_skill_schema()`, not by this file.
REST API-based AI-driven Unity Editor Automation Engine Let AI control Unity scenes directly through Skills 🎉 We are now indexed by DeepWiki! Got questions? Check out the AI-generated docs → The current official maintenance baseline is Unity 2022.3+.
Other skills on unity-skills.
- /addressables-design
Source-anchored design rules for Unity Addressables 1.22.3/2.9.1. 为 Unity Addressables 1.22.3/2.9.1 提供源码锚定的设计规则。
Open skill - /adr
Record Unity architecture decisions (ADR) with rationale. 记录 Unity 架构决策(ADR)与理由。
Open skill - /animator
Edit Unity Animator Controllers and drive runtime parameters. 编辑 Unity Animator Controller 并驱动运行时参数。
Open skill - /architecture
Advise on Unity gameplay and system architecture. 为 Unity 游戏与系统架构提供建议。
Open skill - /asmdef
Advise on Unity assembly definitions (asmdef). 为 Unity 程序集定义(asmdef)提供建议。
Open skill - /asset
Manage Unity AssetDatabase operations. 管理 Unity AssetDatabase 操作。
Open skill

