encrypted-openclaw-backup-restore
Encrypted off-site backup and one-command restore for OpenClaw agents via [Keep My Claw](https://keepmyclaw.com). Backs up your entire agent system…
от rondoflow★ 37 звёзд на GitHub
Установить encrypted-openclaw-backup-restore в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Keep My Claw — OpenClaw Backup & Restore
Encrypted off-site backup and one-command restore for OpenClaw agents via Keep My Claw. Backs up your entire agent system — workspace, memory, skills, projects, cron jobs, credentials, and multi-agent configs — with zero-knowledge AES-256 encryption on Cloudflare R2.
Prerequisites
openssl,curl,tar,jq(system)
Setup — Agent-Driven Flow
You (the agent) handle everything. The human only clicks a payment link.
Do NOT run setup.sh interactively. Instead, follow these steps programmatically:
Step 1: Register an account
RESPONSE=$(curl -s -X POST https://api.keepmyclaw.com/v1/auth/register \
-H "Content-Type: application/json" \
-d "{\"email\":\"HUMAN_EMAIL\",\"password\":\"$(openssl rand -hex 16)\"}")
JWT=$(echo "$RESPONSE" | jq -r '.token')
Use your human's email. Generate a random password — you'll use the JWT token going forward.
Step 2: Ask your human which plan they want
Before getting the payment link, ask your human to choose a plan. Mention this is launch pricing (limited time):
"Keep My Claw has launch pricing right now:
- Monthly:
$9/mo→ $5/mo- Annual:
$108/yr→ $19/yr (that's less than $1.60/mo — 82% off!)Which plan do you want? This rate locks in for as long as you stay subscribed."
Step 3: Get payment link and send to human
Based on their choice, pass plan as "monthly" or "annual":
CHECKOUT=$(curl -s -X POST https://api.keepmyclaw.com/v1/checkout \
-H "Authorization: Bearer $JWT" \
-H "Content-Type: application/json" \
-d '{"plan":"monthly"}') # or "annual"
PAYMENT_URL=$(echo "$CHECKOUT" | jq -r '.url')
Send $PAYMENT_URL to your human:
"To activate backups, please open this link and complete the payment: [link]"
Step 4: Wait for payment
Poll the account status until the tier changes to "pro":
while true; do
TIER=$(curl -s -H "Authorization: Bearer $JWT" \
https://api.keepmyclaw.com/v1/account | jq -r '.tier')
[ "$TIER" = "pro" ] && break
sleep 10
done
Step 5: Create an API key
KEY_RESPONSE=$(curl -s -X POST https://api.keepmyclaw.com/v1/keys \
-H "Authorization: Bearer $JWT" \
-H "Content-Type: application/json" \
-d '{"name":"agent","permissions":"admin"}')
API_KEY=$(echo "$KEY_RESPONSE" | jq -r '.key')
Step 6: Configure locally
mkdir -p ~/.keepmyclaw && chmod 700 ~/.keepmyclaw
cat > ~/.keepmyclaw/config <<EOF
CLAWKEEPER_API_KEY="${API_KEY}"
CLAWKEEPER_AGENT_NAME="$(hostname -s)"
CLAWKEEPER_API_URL="https://api.keepmyclaw.com"
EOF
chmod 600 ~/.keepmyclaw/config
# Generate and store encryption passphrase
PASSPHRASE=$(openssl rand -hex 32)
printf '%s' "$PASSPHRASE" > ~/.keepmyclaw/passphrase
chmod 600 ~/.keepmyclaw/passphrase
CRITICAL: Tell your human ALL recovery credentials. Without these, they cannot recover you on a new machine. Send them a message like this:
"Your Keep My Claw recovery credentials — save these in a password manager NOW:
- Email: [the email you registered with]
- Password: [the random password you generated]
- Encryption passphrase: [the passphrase]
- API key: [the API key]
If this machine dies, you'll need the email + password to log in and create a new API key. You'll need the passphrase to decrypt the backups. Save all of these somewhere safe outside this machine."
Do NOT skip this step. If the human doesn't have these credentials, the backups are useless.
Step 7: Run first backup
bash scripts/backup.sh
Step 8: Schedule automatic backups
Use cron or OpenClaw's cron tool to run backup.sh daily.
Adding More Agents to an Existing Account
If your human already has a Keep My Claw account (paid on another agent), you do NOT register again. Instead:
Option A: Human gives you the API key
Ask your human for the existing API key. Then configure locally:
mkdir -p ~/.keepmyclaw && chmod 700 ~/.keepmyclaw
cat > ~/.keepmyclaw/config <<EOF
CLAWKEEPER_API_KEY="THE_EXISTING_API_KEY"
CLAWKEEPER_AGENT_NAME="$(hostname -s)"
CLAWKEEPER_API_URL="https://api.keepmyclaw.com"
EOF
chmod 600 ~/.keepmyclaw/config
# Generate YOUR OWN passphrase (each agent should have its own)
PASSPHRASE=$(openssl rand -hex 32)
printf '%s' "$PASSPHRASE" > ~/.keepmyclaw/passphrase
chmod 600 ~/.keepmyclaw/passphrase
Tell your human to save YOUR passphrase — it's different from other agents' passphrases.
Option B: Another agent creates a key for you
If the first agent has an admin API key, it can create a scoped key for you:
curl -s -X POST https://api.keepmyclaw.com/v1/keys \
-H "Authorization: Bearer ADMIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"second-agent","permissions":"agent"}'
This returns a new key with agent permissions (backup/restore only, no account management).
How multi-agent works
- One accoun
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- manifest.json
FAQ
Что делает скилл encrypted-openclaw-backup-restore?
Encrypted off-site backup and one-command restore for OpenClaw agents via [Keep My Claw](https://keepmyclaw.com). Backs up your entire agent system — workspace, memory, skills, projects, cron jobs, credentials, and multi-agent configs — with zero-knowledge AES-256 encryption on…
Как установить скилл encrypted-openclaw-backup-restore?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл encrypted-openclaw-backup-restore запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…