تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

claw-sync

بواسطة arakichanxd

Self-Hosted & Automation
2.6kالتنزيلات وفق ما يذكره clawskills.sh
5النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Secure sync for OpenClaw memory and workspace.

الوصف

ما الذي تفعله هذه المهارة

Syncs OpenClaw memory files and custom skills to a remote Git repository. Each sync creates a versioned backup that can be restored by name or as the latest version. Sensitive files like API keys and .env are excluded automatically.

Unlike manual file copies or generic backup tools, it handles OpenClaw-specific files automatically while excluding secrets from the repository.

متى تستخدمها

  • Backing up agent memory before a major project change
  • Restoring a previous workspace state after accidental file loss
  • Syncing custom skills across multiple machines
  • Previewing what would be pushed before committing a sync
  • Listing all backup versions to find a specific restore point

مثال على سير العمل

الإدخال

User runs: /sync

الوكيل
  1. 1

    Reads memory and skill files from the OpenClaw workspace

  2. 2

    Excludes files containing secrets (openclaw.json, .env)

  3. 3

    Pushes eligible files to the configured GitHub repository

  4. 4

    Tags the push with a versioned timestamp for future restore

الإخراج

Files pushed to remote repo with a new versioned backup created

المتطلبات

  • GitHub account and a repository to store backups
  • GitHub personal access token with repo write access
  • ~/.openclaw/.backup.env file with BACKUP_REPO and BACKUP_TOKEN set

التثبيت

clawhub install arakichanxd/claw-sync

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط