跳到正文
TakoAPI
返回技能列表

clawdbot-skill-update

由 pasogott 提供

Clawdbot Tools
3.0k下载量由 clawskills.sh 提供
6星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Comprehensive backup, update, and restore.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

User asks: update Clawdbot to the latest version

智能体
  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

输出

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

前置要求

  • Clawdbot installed at ~/code/clawdbot

安装

clawhub install pasogott/clawdbot-skill-update

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接