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

git-crypt-backup

بواسطة louzhixian

Git & GitHub
2.7kالتنزيلات وفق ما يذكره clawskills.sh
1النجوم
1المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Backup Clawdbot workspace and config to GitHub.

الوصف

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

Backs up Clawdbot workspace and config directories to GitHub repositories using git-crypt to encrypt sensitive files. Supports both manual and automated daily backups via a shell script or cron job. Restoration on a new machine requires cloning the repos and unlocking with exported keys.

Combining git version history with transparent file-level encryption means sensitive files are protected at rest on GitHub without changing the normal git workflow.

متى تستخدمها

  • Automated daily backup of Clawdbot workspace to GitHub
  • Encrypting agent memory and credentials before pushing to a remote
  • Restoring Clawdbot config on a new machine from a private repo
  • Keeping SOUL.md and .env files private while still using version control
  • Exporting and securely storing git-crypt keys for disaster recovery

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

الإدخال

User asks: back up my Clawdbot workspace now

الوكيل
  1. 1

    Runs backup.sh from ~/clawd/skills/git-crypt-backup/scripts/

  2. 2

    Script stages all changes in ~/clawd with git add -A

  3. 3

    Commits with a timestamped message

  4. 4

    Pushes to the configured GitHub remote

  5. 5

    Repeats the same sequence for ~/.clawdbot config repo

الإخراج

Both repos pushed to GitHub with sensitive files transparently encrypted via git-crypt

المتطلبات

  • GitHub account with two private repositories created (clawdbot-workspace, clawdbot-config)
  • git-crypt installed (brew install git-crypt or apt install git-crypt)
  • SSH key configured for GitHub access
  • Exported git-crypt keys stored securely (e.g. 1Password, iCloud Keychain, USB drive)

التثبيت

clawhub install louzhixian/git-crypt-backup

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

الروابط