# 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.

- Skill: `regent-vcs/rewind` (Agent Skill)
- Install (CLI): `npx skillmds@latest add regent-vcs/rewind`
- Raw SKILL.md: https://api.skillmd.com/api/skills/regent-vcs/rewind/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: regent-vcs (https://skillmd.com/u/regent-vcs)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/regent-vcs/rewind

---


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