/rewind
Rewind workspace and conversation to a previous re_gent step. Non-destructive with automatic backup. Use when recovering from mistakes or exploring alternative paths.
$ npx -y skills add regent-vcs/re_gent --skill rewind --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
/rewind
Context preview
The summary Claude sees to decide when to auto-load this skill.
Rewind workspace and conversation to a previous re_gent step. Non-destructive with automatic backup. Use when recovering from mistakes or exploring alternative paths.
SKILL.md
rewind.SKILL.mddescription: Rewind workspace and conversation to a previous re_gent step. Non-destructive with automatic backup. Use when recovering from mistakes or exploring alternative paths. allowed-tools: Bash(rgt rewind *) argument-hint: "<step-hash>" disable-model-invocation: true
⚠️ **Warning**: This will restore files and conversation state to the specified step.
Automatic backup is created at `.regent/backups/` before rewinding.
Rewind to a step:
rgt rewind $ARGUMENTS
The step hash can be shortened (first 7+ characters).
After rewinding, the current conversation transcript will be saved and the workspace files will match the target step's state.
Version control for AI agents — track what your agent did, blame any line to a prompt, inspect any step.

