/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.
Claude Code
$ npx -y skills add regent-vcs/re_gent --skill rewind --agent claude-code
Codex
$ npx skills add regent-vcs/re_gent --skill rewind -a codex -y
Cursor
$ npx skills add regent-vcs/re_gent --skill rewind -a cursor -y
Gemini CLI
$ npx skills add regent-vcs/re_gent --skill rewind -a gemini-cli -y
GitHub Copilot
$ npx skills add regent-vcs/re_gent --skill rewind -a github-copilot -y
OpenCode
$ npx skills add regent-vcs/re_gent --skill rewind -a opencode -y
Windsurf
$ npx skills add regent-vcs/re_gent --skill rewind -a windsurf -y
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.
More skills from other plugins.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
ask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Questions about rewind.
- Which coding agents can use rewind?
- rewind installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

