Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Automates the backup of the OpenClaw workspace to a remote Git repository. Handles large file exclusions, validates git configuration, and performs intelligent sync with conflict resolution.
Automates the backup of the OpenClaw workspace to a remote Git repository. Handles large file exclusions, validates git configuration, and performs intelligent sync with conflict resolution.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Automates Git synchronization and backup of workspace memory to a remote repository.
bash ./scripts/sync.sh [COMMIT_MESSAGE] Default message: chore: memory backup YYYY-MM-DD HH:MM
Validates Git repository, user config, and remote access Detects & excludes large files (>95MB) to prevent push failures Stages all changes automatically Pulls latest remote changes to avoid conflicts Commits changes with timestamped or custom message Pushes to remote, setting upstream if needed
โ Git repository initialized with origin remote โ git config user.name and git config user.email set โ Network access to remote repository โ Write permissions on repository directory
StepActionSuccess OutputFailure OutputExit1Validate Git repo[SUCCESS] Git repository found[ERROR] Not inside a git repository12Check Git config[SUCCESS] Git user configuration is valid[ERROR] Git user.name not configured13Check remote[SUCCESS] Remote 'origin' configured: [URL][ERROR] No 'origin' remote14Setup .gitignore[SUCCESS] Gitignore file is ready--5Scan large files[SUCCESS] No large files detected[WARNING] Large files detected-6Detect changes[SUCCESS] All changes staged[INFO] No uncommitted changes07Fetch remote[SUCCESS] Successfully fetched[WARNING] Fetch failed (continues)-8Check sync[INFO] Local and remote synchronized[WARNING] Branches diverged (auto-pull)1*9Commit[SUCCESS] Changes committed[ERROR] Commit failed110Push[SUCCESS] Successfully pushed[WARNING] No upstream (tries to set)1**DoneComplete[SUCCESS] Sync completed-0 *Auto-resolves with git pull --no-edit **Auto-sets upstream with git push --set-upstream origin [branch]
All messages use structured prefixes for LLM parsing: [INFO] - Informational messages [SUCCESS] - Actions completed successfully [WARNING] - Non-fatal issues (script recovers) [ERROR] - Fatal errors (requires intervention)
IssueOutputResolutionNot in a Git repo[ERROR] Not inside a git repositoryNavigate to repo: cd /path/to/repoMissing user.name[ERROR] Git user.name not configuredgit config user.name "Name"Missing user.email[ERROR] Git user.email not configuredgit config user.email "email@example.com"No origin remote[ERROR] No 'origin' remote configuredgit remote add origin <URL>Large files detected[WARNING] Large files detectedAutomatically added to .gitignorePull conflicts[ERROR] Pull encountered conflictsResolve manually, then run sync againNetwork failures[WARNING] Fetch/Push failedCheck connectivity, script continues locally
Auto Large-File Handling: Prevents Git failures by ignoring files >95MB Conflict Resolution: Auto-pulls remote before pushing Upstream Setup: Auto-configures tracking on first push Validation: Pre-flight checks prevent common errors LLM-Compatible Output: Structured logs for easy parsing
Don't commit credentials to the repository Use SSH keys or credential helpers: git config credential.helper osxkeychain Review changes before syncing: git status Large files already pushed can't be auto-removed by this script
Workflow acceleration for inboxes, docs, calendars, planning, and execution loops.
Largest current source with strong distribution and engagement signals.