← Back to Skills Marketplace
168
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install openclaw-gitbak
Description
Backup/restore OpenClaw config and workspace via git.
Usage Guidance
Don't run these scripts without review. Before using: (1) Ensure git is installed and you understand your local SSH/git auth — the scripts use git@... SSH remotes. (2) Edit scripts/config.sh to set GIT_HOST, GIT_ORG, and GIT_BRANCH to your own hosting/account (do not rely on the default gitee.com:burnlife). (3) Inspect the BACKUP_ITEMS mapping to confirm only intended paths will be uploaded. (4) Be aware restore.sh will delete all non-.git files in an existing directory if no origin remote is present — consider removing or changing the 'find ... -delete' line or test on disposable data first. (5) Because required binaries/credentials were not declared in the skill metadata, treat those as missing and ensure you have git and appropriate keys configured. If you are not comfortable editing the script, do not install or run it.
Capability Analysis
Type: OpenClaw Skill
Name: openclaw-gitbak
Version: 1.0.1
The skill provides scripts to backup and restore OpenClaw configurations and workspaces to a Git repository. However, `scripts/config.sh` contains a hardcoded remote organization (`burnlife` on `gitee.com`) as the default destination. If a user executes `backup.sh` without manually changing the configuration, their sensitive data—including API keys, credentials, and session history stored in `~/.openclaw`—would be pushed to a repository controlled by the skill author. While functional as a backup tool, the default configuration facilitates the exfiltration of sensitive user secrets.
Capability Assessment
Purpose & Capability
The skill's stated purpose (git backup/restore) matches the included scripts, but metadata did not declare required binaries or credentials. The scripts require git and an SSH identity (git@... remotes) although required binaries/env were listed as none. Also the default GIT_HOST/GIT_ORG (gitee.com / burnlife) means backups will push to an external third‑party account unless the user edits config.sh.
Instruction Scope
SKILL.md only shows how to run the scripts and edit config.sh, but the scripts themselves perform actions not highlighted in the README: restore.sh, when a directory already exists and lacks an origin remote, will delete all files except .git (find . -type f -not -path './.git/*' -delete) before adding the remote to avoid merge — this can destroy user data. The scripts will also init/commit/push, which will transmit local files to the configured remote.
Install Mechanism
There is no network install step and no external downloads (low install risk). However, this is not purely instruction-only: the skill bundle includes executable shell scripts that will be placed on disk as part of the skill; those scripts invoke git and other OS tools at runtime.
Credentials
No environment variables or credentials were declared, yet the scripts implicitly require SSH access to a git host (i.e., private SSH keys or other git auth). The default remote is a third‑party (gitee.com:burnlife), which would cause potentially sensitive OpenClaw configs and workspace files to be uploaded to that account unless the user configures their own host/org. This is disproportionate to a generic backup helper unless the user explicitly sets their own remotes.
Persistence & Privilege
always is false and the skill does not request system-level privileges or modify other skills. The agent can invoke the skill autonomously (platform default); combined with the default remote behavior this could result in accidental uploads if an agent calls the scripts without the user editing config.sh first.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install openclaw-gitbak - After installation, invoke the skill by name or use
/openclaw-gitbak - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Fixes typo in script filename (bakup.sh → backup.sh).
- Adds usage examples for backup and restore commands in the documentation.
- Updates documentation to reflect the correct backup script and usage instructions.
v1.0.0
Initial release of openclaw-gitbak skill.
- Adds backup and restore functionality for OpenClaw config and workspace via git.
- Supports flexible options: backup/restore for config, workspace, workspace-coder, or all.
- Includes customizable scripts and config in the ~/.openclaw/skills/openclaw-gitbak/ directory.
- Backup items and paths can be edited in config.sh for tailored use.
Metadata
Frequently Asked Questions
What is openclaw-gitbak?
Backup/restore OpenClaw config and workspace via git. It is an AI Agent Skill for Claude Code / OpenClaw, with 168 downloads so far.
How do I install openclaw-gitbak?
Run "/install openclaw-gitbak" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is openclaw-gitbak free?
Yes, openclaw-gitbak is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does openclaw-gitbak support?
openclaw-gitbak is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created openclaw-gitbak?
It is built and maintained by burnlife (@burnlife001); the current version is v1.0.1.
More Skills