← 返回 Skills 市场
burnlife001

openclaw-gitbak

作者 burnlife · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
168
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install openclaw-gitbak
功能描述
Backup/restore OpenClaw config and workspace via git.
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-gitbak
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-gitbak 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug openclaw-gitbak
版本 1.0.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

openclaw-gitbak 是什么?

Backup/restore OpenClaw config and workspace via git. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 168 次。

如何安装 openclaw-gitbak?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-gitbak」即可一键安装,无需额外配置。

openclaw-gitbak 是免费的吗?

是的,openclaw-gitbak 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

openclaw-gitbak 支持哪些平台?

openclaw-gitbak 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 openclaw-gitbak?

由 burnlife(@burnlife001)开发并维护,当前版本 v1.0.1。

💬 留言讨论