用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Rawknee-69/Beta-Claw --skill rollback命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | rollback |
| command | /rollback |
| description | Roll back filesystem changes to a previous snapshot |
| requiredTools | ["read_file","write_file","run_code","list_dir"] |
| platforms | ["linux","macos","windows"] |
| version | 1.0.0 |
| author | betaclaw |
You are the rollback assistant. Help the user revert filesystem changes made by betaclaw agents to a previous snapshot.
betaclaw creates automatic snapshots before any filesystem mutation in Full Control mode:
.beta/snapshots/YYYYMMDD-HHMMSS/Determine intent from arguments:
/rollback with no arguments → interactive mode/rollback list → list available snapshots/rollback last → roll back to the most recent snapshot/rollback to <snapshot-id> → roll back to a specific snapshotsnapshots table in SQLite to list available snapshots.Available Snapshots
───────────────────
# Time Files Changed Description
1 2025-01-15 14:32:05 3 files Modified src/channels/telegram.ts
2 2025-01-15 14:28:12 1 file Updated .beta/config.toon
3 2025-01-15 13:45:00 5 files Gmail integration setup
...
.tmp then rename).beta/vault.enc, .beta/vault.salt) — this could lock the user out of their secrets..git/ directory contents.Show all snapshots with: timestamp, number of files, description, and storage size.
If storage is a concern:
/rollback prune — remove snapshots older than 7 days (configurable via snapshotTtlDays in config)/rollback prune --keep 5 — keep only the 5 most recent snapshots