---
name: Rewind
slug: rewind
category: DevOps
description: Rewind restores the workspace and conversation to a previous re_gent step, with an automatic backup created first. Use it when recovering from mistakes or exploring an alternate path.
github: "https://github.com/regent-vcs/re_gent/tree/main/.claude/skills/rewind"
language: Go
stars: 785
forks: 57
install: "npx degit https://github.com/regent-vcs/re_gent/tree/main/.claude/skills/rewind ~/.claude/skills/rewind"
installs_to: ~/.claude/skills/rewind
source_path: .claude/skills/rewind/SKILL.md
collection_size: 7
category_size: 798
collection_url: "https://dirskills.com/collections/regent-vcs/re_gent"
added: 2026-08-23T05:19:05.351Z
last_synced: 2026-08-23T05:19:05.351Z
canonical_url: "https://dirskills.com/skills/rewind"
---

# Rewind

Rewind restores the workspace and conversation to a previous re_gent step, with an automatic backup created first. Use it when recovering from mistakes or exploring an alternate path.

**Install:**

```bash
npx degit https://github.com/regent-vcs/re_gent/tree/main/.claude/skills/rewind ~/.claude/skills/rewind
```

## README

⚠️ **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.
