claw-sync
arakichanxd 제작
Self-Hosted & Automation요약
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
Reads memory and skill files from the OpenClaw workspace
- 2
Excludes files containing secrets (openclaw.json, .env)
- 3
Pushes eligible files to the configured GitHub repository
- 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-syncCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.