← 返回
开发者工具 中文

Clawkeep

Provides git-powered versioned backups and safe snapshot recovery for workspace files, with automated and manual snapshot options.
提供Git驱动的版本化备份和安全快照恢复,支持自动和手动快照选项。
taco-devs
开发者工具 clawhub v0.2.9 1 版本 100000 Key: 无需
★ 0
Stars
📥 744
下载
💾 6
安装
1
版本
#latest

概述

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 <hash> -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:

TargetSkillDescription
---------
Local pathskills/local/SKILL.mdNAS, USB drive, external disk, network share
S3 / R2skills/s3/SKILL.mdCloudflare R2, AWS S3, Backblaze B2, MinIO, Wasabi
ClawKeep Cloudskills/clawkeep-cloud/SKILL.mdManaged 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

ActionCommand
------
Initializeclawkeep init -d
Auto-backup daemonclawkeep watch --daemon -d
Stop daemonclawkeep watch --stop -d
Manual backupclawkeep snap -d -m "message"
View historyclawkeep log -d
Restoreclawkeep restore -d
See changesclawkeep diff -d
Launch dashboardclawkeep ui --daemon -d --port 3333
Stop dashboardclawkeep ui --stop -d
Export encryptedclawkeep export -d -p "password"

版本历史

共 1 个版本

  • v0.2.9 当前
    2026-03-29 12:46 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,188
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,801
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 324,172