Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

clawdbot-skill-update

bởi pasogott

Clawdbot Tools
3.0kLượt tải do clawskills.sh công bố
6Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Comprehensive backup, update, and restore.

Mô tả

Kỹ năng này làm gì

Backup, update, and restore workflow for Clawdbot installations. Reads workspace paths from config at runtime to detect all agent workspaces automatically. Supports dry-run previews, full backups, and rollback to any timestamped backup.

Workspace paths are read from config at runtime, so backup and restore work across any number of agents without manual path configuration.

Khi nào nên dùng

  • Backing up Clawdbot state before upgrading to a new version
  • Rolling back a failed update using a timestamped backup
  • Previewing which files would be backed up without making changes
  • Checking if upstream has new commits before starting an update
  • Restoring credentials and agent workspaces after a failed migration

Quy trình ví dụ

ĐẦU VÀO

User asks: update Clawdbot to the latest version

AGENT
  1. 1

    Run check-upstream.sh to confirm new commits are available

  2. 2

    Run backup-clawdbot-dryrun.sh to preview what will be backed up

  3. 3

    Run backup-clawdbot-full.sh to create a timestamped backup in ~/.clawdbot-backups/

  4. 4

    Pull latest code with git pull --rebase and rebuild with pnpm install && pnpm build

  5. 5

    Run pnpm clawdbot doctor --yes, then restart the gateway as a daemon

ĐẦU RA

Clawdbot updated to latest version with a full backup stored for rollback if needed

Yêu cầu

  • Clawdbot installed at ~/code/clawdbot

Cài đặt

clawhub install pasogott/clawdbot-skill-update

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết