gitbackup
Create a local Git bundle backup of the OpenClaw workspace repository.
Setup & Installation
Install command
clawhub install trumppo/gitbackupIf the CLI is not installed:
Install command
npx clawhub@latest install trumppo/gitbackupOr install with OpenClaw CLI:
Install command
openclaw skills install trumppo/gitbackupor paste the repo link into your assistant's chat
Install command
https://github.com/openclaw/skills/tree/main/skills/trumppo/gitbackupWhat This Skill Does
Creates a self-contained Git bundle of the OpenClaw workspace repository and saves it to `/root/.openclaw/backups`. The bundle filename includes a UTC timestamp. Older backups are not deleted.
A Git bundle is fully self-contained and portable, so the backup works without network access or a remote host.
When to Use It
- Backing up Git history before a risky rebase
- Preserving workspace state before a major refactor
- Creating a point-in-time snapshot before deploying changes
- Archiving project history for offline access
- Safeguarding all refs and commits before a destructive branch operation
View original SKILL.md file
# Git Backup (local bundle) ## Overview Create a self-contained Git bundle of the workspace repo and store it in `/root/.openclaw/backups`. ## Quick start Run the bundled script: ```bash bash /root/.openclaw/workspace/skills/gitbackup/scripts/git-backup.sh ``` ## Output Print the bundle path and size. The bundle filename includes UTC timestamp. ## Notes - If the workspace is not a Git repo, exit with a clear error. - Do not delete older bundles.
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Backing up Git history before a risky rebase
- 1Backing up Git history before a risky rebase
- 2Preserving workspace state before a major refactor
- 3Creating a point-in-time snapshot before deploying changes
- 4Archiving project history for offline access
- 5Safeguarding all refs and commits before a destructive branch operation
Create a local Git bundle backup of the OpenClaw workspace repository.
Security Audits
These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.