rewind

GitHub

用于将工作区和对话状态回滚至指定历史步骤,自动备份以防误操作,适用于从错误中恢复或探索替代路径。

.claude/skills/rewind/SKILL.md regent-vcs/re_gent

Trigger Scenarios

需要撤销最近的操作以恢复状态 尝试不同的开发路径并保留当前进度

Install

npx skills add regent-vcs/re_gent --skill rewind -g -y
More Options

Non-standard path

npx skills add https://github.com/regent-vcs/re_gent/tree/main/.claude/skills/rewind -g -y

Use without installing

npx skills use regent-vcs/re_gent@rewind

指定 Agent (Claude Code)

npx skills add regent-vcs/re_gent --skill rewind -a claude-code -g -y

安装 repo 全部 skill

npx skills add regent-vcs/re_gent --all -g -y

预览 repo 内 skill

npx skills add regent-vcs/re_gent --list

SKILL.md

Frontmatter
{
    "name": "rewind",
    "description": "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 History

  • 359b264 Current 2026-07-24 11:31

Same Skill Collection

.agents/skills/log/SKILL.md
.claude/skills/log/SKILL.md
demo/.claude/skills/log/SKILL.md
.agents/skills/blame/SKILL.md
.agents/skills/show/SKILL.md
.claude/skills/blame/SKILL.md
.claude/skills/show/SKILL.md
demo/.claude/skills/blame/SKILL.md
demo/.claude/skills/show/SKILL.md

Metadata

Files
0
Version
359b264
Hash
b68f15c5
Indexed
2026-07-24 11:31

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-16 20:09
浙ICP备14020137号-1 $mapa de visitantes$