跳到正文
TakoAPI
返回技能列表

clawdbot-backup

由 sebastian-buitrag0 提供

Git & GitHub
3.6k下载量由 clawskills.sh 提供
17星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Backup and restore ClawdBot configuration, skills.

描述

该技能的功能

Backs up and restores ClawdBot configuration from ~/.claude, including skills, commands, settings, and MCP configs. Supports git-based version control, multi-device sync via rsync or cloud folders, and scheduled automation via cron, systemd, or launchd.

Combines timestamped archives, git version history, and sync scripts in one workflow so configuration is recoverable from corruption, accidental deletion, or hardware failure without relying on a single backup method.

何时使用

  • Backing up all skills and settings before a major ClawdBot update
  • Migrating configuration to a new laptop without manual file copying
  • Syncing custom skills between a work machine and a home machine
  • Rolling back to a previous skill state after an accidental edit
  • Automating daily backups on a schedule with cron

示例工作流

输入

User asks: Create a full backup of my ClawdBot configuration

智能体
  1. 1

    Check that ~/.claude directory exists

  2. 2

    Generate a timestamp and compose the backup filename

  3. 3

    Run tar to archive skills, commands, settings.json, mcp/, contexts/, and templates/ into ~/clawdbot-backups/

  4. 4

    Verify archive integrity with tar -tzvf

  5. 5

    Report the backup path and file size

输出

Backup created: ~/clawdbot-backups/clawdbot_full_20260318_020000.tar.gz (2.4M)

安装

clawhub install sebastian-buitrag0/clawdbot-backup

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

链接