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


