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

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-07 08:50
浙ICP备14020137号-1 $Carte des visiteurs$