Tooluck logoTooluck
SKILL.md

unity-history

Agent skill fromBesty0728/Unity-Skills

Manage undo/redo history over the native undo stack

How to install unity-history

install unity-history
# install the Unity-Skills pack with the skills CLI
npx skills add Besty0728/Unity-Skills

# or add only this skill to Claude Code: copy the folder

SkillsForUnity/unity-skills~/skills/history/

# into

~/.claude/skills/history/ (all projects)

.claude/skills/history/ (one project)

SkillsForUnity/unity-skills~/skills/history/SKILL.md

MITFull file
1> **Before calling any skill in this module:** if you are about to call a skill with parameters guessed from its name or description, STOP — read this file (or fetch its schema via `GET /skills/recommend?includeSchema=true`) first. If you already have the parameter definitions from recommend/schema, you may proceed straight to dryRun.
2
3## Triggers
4- Reviewing or navigating undo history
5- Stepping undo/redo
6- Auditing what changed
7- 查看或浏览撤销历史、逐步撤销/重做、审查改动
8
9# History Skills
10
11Manage Unity Editor undo/redo history.
12
13## Operating Mode
14
15本模块 `history_get_current`(纯读)标 `SkillMode.SemiAuto`,三档下均可直接执行;`history_undo` / `history_redo` 会改变场景状态,为默认 `SkillMode.FullAuto`(Operation=Execute),Approval 模式下需 grant。**不含 NeverInSemi 高危 skill**。
16
17`history_undo` / `history_redo` replay Unity's own native Undo/Redo stack, whose contents cannot be classified by write category the way `workflow` module's task snapshots can, so unlike `workflow_undo_task` / `workflow_session_undo` they carry no payload-level `SURFACE_EXCLUDED` check.
18
19**DO NOT** (common hallucinations):
20- `history_list` / `history_get` do not exist → use `history_get_current` for current undo group
21- `history_clear` does not exist → Unity undo history cannot be cleared via API
22- `history_save` does not exist → undo history is managed by Unity automatically
23
24**Routing**:
25- For simple undo/redo → `history_undo` / `history_redo` (this module) or `editor_undo` / `editor_redo`
26- For persistent task-level undo → use `workflow` module
27…

Excerpt shown under the repository's MIT license.

More skills in Unity-Skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates