Install
openclaw skills install github-backupAutomate OpenClaw workspace backups and skill version control to the private GitHub repo `nz365guy/openclaw-backup`. Use this when staging/committing workspace changes, rotating the PAT, or running the backup script to push updates.
openclaw skills install github-backupCentralizes the /home/node/.openclaw/workspace inside the private repo nz365guy/openclaw-backup so every configuration file, memory note, and custom skill stays versioned. Includes a scripted backup workflow, token-handling guidance, and commit conventions for both routine snapshots and skill-specific changes.
source .env.local to expose GITHUB_TOKEN (repo+workflow scopes). Never commit .env.local.git remote -v should show origin https://github.com/nz365guy/openclaw-backup.git. If missing, run git remote add origin ....git status -sb before any backup; eyeball diffs for secrets.references/repo-setup.md for repo details, token rotation steps, and safety rules.cd /home/node/.openclaw/workspace
git status -sb
git diff
skills/github-backup/scripts/backup_openclaw.sh "Backup: <short summary>"
.env.local, stages everything (respecting .gitignore), commits, and pushes via token-auth URL.git add <files>
git commit -m "<message>"
source .env.local
git push https://nz365guy:${GITHUB_TOKEN}@github.com/nz365guy/openclaw-backup.git main
gh repo view or open the repo URL to confirm the new commit landed.Skill: when touching /skills/**, Config: for workspace settings, Memory: for journal updates. The backup script accepts any custom message, so pass a descriptive summary when a change is more than a routine snapshot..env.local, re-source the shell, and test with the curl snippet in references/repo-setup.md before attempting the next push..env.local and any raw secrets out of git. Expand .gitignore here if new secret files are introduced.scripts/backup_openclaw.sh: one-command backup helper (stage → commit → push) that reads the PAT from .env.local and targets main.references/repo-setup.md: authoritative repo/token metadata, safety guardrails, and verification commands.