/install clawkeep
ClawKeep — Agent Skill
Git-powered versioned backups for your workspace. Every change tracked, every state recoverable.
Overview
ClawKeep gives you version-controlled backups of your workspace files. You can go back to any point in time if something goes wrong — a bad memory update, corrupted config, accidental deletion.
Prerequisites
ClawKeep must be installed globally:
npm install -g clawkeep
Verify: clawkeep --version
Setup (One Time)
Initialize ClawKeep on your workspace:
cd /path/to/your/workspace
clawkeep init
This creates:
.clawkeep/config.json— minimal config.clawkeepignore— patterns for files to skip (node_modules, .env, logs, etc.).gitignore— auto-synced from .clawkeepignore- An initial snapshot of all tracked files
Taking Snapshots
Watch Daemon (Recommended)
Start a background daemon that auto-snapshots on every file change:
clawkeep watch --daemon -d /path/to/workspace --interval 10000
- Runs in background, survives terminal close
- Debounces writes (default 10s) to avoid spam commits
- Stop with:
clawkeep watch --stop -d /path/to/workspace
Manual Snapshots
# Quick snapshot (only commits if files changed)
clawkeep snap -d /path/to/workspace -q
# Named snapshot
clawkeep snap -d /path/to/workspace -m "before risky changes"
Recovery
# See available snapshots
clawkeep log -d /path/to/workspace
# Restore to a specific snapshot (non-destructive — creates new commit)
clawkeep restore \x3Chash> -d /path/to/workspace
# Restore to N snapshots ago
clawkeep restore HEAD~3 -d /path/to/workspace
Restores are safe — they check out the old state and commit it as a new snapshot. Your full history is preserved.
Checking Status
# Quick status
clawkeep status -d /path/to/workspace
# See what changed since last snapshot
clawkeep diff -d /path/to/workspace
# View timeline
clawkeep log -d /path/to/workspace -n 10
Ignore Patterns
Edit .clawkeepignore in your workspace root to exclude files from tracking. Patterns are auto-synced to .gitignore.
Web Dashboard
clawkeep ui --daemon -d /path/to/workspace --port 3333
Visual timeline, file browser with time-travel, side-by-side diffs, one-click restore. Token-based auth is auto-generated.
Encrypted Backup Targets
For off-site encrypted backups, choose a target and follow its dedicated skill:
| Target | Skill | Description |
|---|---|---|
| Local path | skills/local/SKILL.md | NAS, USB drive, external disk, network share |
| S3 / R2 | skills/s3/SKILL.md | Cloudflare R2, AWS S3, Backblaze B2, MinIO, Wasabi |
| ClawKeep Cloud | skills/clawkeep-cloud/SKILL.md | Managed zero-knowledge backup with browser-based setup |
All targets use AES-256-GCM encryption. Your backup destination only sees opaque .enc chunk files — no file names, no metadata, no structure.
Quick Reference
| Action | Command |
|---|---|
| Initialize | clawkeep init -d \x3Cdir> |
| Auto-backup daemon | clawkeep watch --daemon -d \x3Cdir> |
| Stop daemon | clawkeep watch --stop -d \x3Cdir> |
| Manual backup | clawkeep snap -d \x3Cdir> -m "message" |
| View history | clawkeep log -d \x3Cdir> |
| Restore | clawkeep restore \x3Chash> -d \x3Cdir> |
| See changes | clawkeep diff -d \x3Cdir> |
| Launch dashboard | clawkeep ui --daemon -d \x3Cdir> --port 3333 |
| Stop dashboard | clawkeep ui --stop -d \x3Cdir> |
| Export encrypted | clawkeep export -d \x3Cdir> -p "password" |
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install clawkeep - 安装完成后,直接呼叫该 Skill 的名称或使用
/clawkeep触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Clawkeep 是什么?
Provides git-powered versioned backups and safe snapshot recovery for workspace files, with automated and manual snapshot options. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 464 次。
如何安装 Clawkeep?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawkeep」即可一键安装,无需额外配置。
Clawkeep 是免费的吗?
是的,Clawkeep 完全免费(开源免费),可自由下载、安装和使用。
Clawkeep 支持哪些平台?
Clawkeep 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Clawkeep?
由 TacoDevs(@taco-devs)开发并维护,当前版本 v0.2.9。