Skill686 repo starsupdated 4d ago
rewind
The rewind skill restores your workspace and conversation history to a previous step in your re_gent version control system, automatically creating a backup before changes take effect. Use this when you need to recover from errors, explore alternative development paths, or return to a known stable state without permanently losing current work.
Install in Claude Code
Copygit clone --depth 1 https://github.com/regent-vcs/re_gent /tmp/rewind && cp -r /tmp/rewind/.claude/skills/rewind ~/.claude/skills/rewindThen start a new Claude Code session; the skill loads automatically.
Definition
SKILL.md
⚠️ **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: ```bash 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.
More from this repository
blameSkill
Show which re_gent step last modified each line of a file. Use when investigating file provenance or debugging.
logSkill
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.
showSkill
Show detailed context for a re_gent step, including tool calls, tool results, and conversation.