Agent Skills
› regent-vcs/re_gent
› rewind
rewind
GitHub将工作区和对话状态回滚至之前的特定步骤。执行前自动创建备份,确保操作非破坏性。适用于从错误中恢复或探索替代方案,支持使用步骤哈希值指定目标版本。
Trigger Scenarios
需要撤销最近的操作或错误
想要查看或恢复到之前的对话/文件状态
尝试不同的处理路径并需重置环境
Install
npx skills add regent-vcs/re_gent --skill rewind -g -y
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


