Undo/Redo (LLM Tool)
SkillFiles & storageUse the undo_redo tool to rewind or reapply buffered file changes or inspect diffs without UI navigation. Use when you need to adjust or verify changes in the current session history.
Use Undo/Redo (LLM Tool) in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add Undo/Redo (LLM Tool) and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the Undo/Redo (LLM Tool) skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
What this skill tells your AI
The instructions your AI receives, as published by dwsy/agent in extensions.disabled/undo-redo/skills/undo-redo/SKILL.md and read by Ahel’s review.
When to use
- You need to roll back or reapply buffered filesystem changes without asking the user to navigate the session tree.
- You need a diff for a specific file across conversation leaves.
- You need a list of all buffered diffs.
Tool actions
undo_redo supports the following actions:
undo: move to the previous leaf and restore files.redo: move to the next leaf and restore files.list_diffs: list all buffered diffs across leaves.diff: show a diff for a specific file.pathis required.leafIdis optional (defaults to the current leaf).
Examples
{"action":"undo"}
{"action":"redo"}
{"action":"list_diffs"}
{"action":"diff","path":"src/index.ts"}
{"action":"diff","leafId":"abcd1234","path":"README.md"}
Important behavior difference vs commands
The tool does not trigger UI navigation and does not rebuild the current turn context. This keeps the current KV cache intact and avoids editor/tree updates. The new leaf and restored files will be applied for the next user prompt when pi rebuilds context. If the user wants immediate UI navigation and context replay, instruct them to use /undo or /redo instead.
Signals
- GitHub stars
- 23
- Forks
- 3
- Last commit
- Sep 2026
Ahel review
K3info
injection
Automated review, not a security audit. Ruleset v1+k2.
Advanced
- Item type
- skill
- Key
undo-redo- Source
- github.com/dwsy/agent
Related picks
Skill · mattpocock
The pick for TypeScripttypescript-pro
Skill · jeffallan
The pick for TypeScriptpptx
Skill · anthropics
More in Files & storagedocx
Skill · anthropics
More in Files & storageresearch
Skill · mattpocock
More in Files & storagecavecrew
Skill · juliusbrussee
More in Files & storage