/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.
Other skills on re-gent.
- /blame
../../../.agents/skills/blame/SKILL.md
Open skill - /log
../../../.agents/skills/log/SKILL.md
Open skill - /show
../../../.agents/skills/show/SKILL.md
Open skill - /blame
Show which re_gent step last modified each line of a file. Use when investigating file provenance or debugging.
Open skill - /log
View the re_gent activity log for the default or selected session. The default view shows the conversation timeline and tool calls; file summaries are available with file flags.
Open skill - /show
Show detailed context for a re_gent step, including tool calls, tool results, and conversation.
Open skill

