/mini:undo

Slash command that reverts the last state change from inside Claude Code.

↔ See the non-interactive form (mini …)

Usage

/mini:undo

Description

The native slash command, run inside your Claude Code session. It first runs `mini undo --dry-run` to show you what would be reverted, asks you to confirm in the chat, and only then reverts with `mini undo --yes`. Because mini remembers just one step back, the revert is irreversible — so it always confirms first and changes nothing if you decline. This is the in-session counterpart of the `mini undo` terminal command.

Examples

/mini:undo