← 返回 Skills 市场
trumppo

gitbackup

作者 Trumppo · GitHub ↗ · v0.1.0
cross-platform ✓ 安全检测通过
1115
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install gitbackup
功能描述
Create a local Git bundle backup of the OpenClaw workspace repository. Use when running /gitbackup in Telegram or when the user asks to back up Git history/refs to a local file.
使用说明 (SKILL.md)

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 /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.
安全使用建议
What to check before installing/running: 1) Confirm the git CLI is available to the agent (metadata did not list it). 2) Inspect the script (it's short; it only runs git bundle create --all) and confirm you're comfortable letting the agent read the entire workspace repo — the bundle will include all history and refs and may contain secrets. 3) Ensure you want backups written to /root/.openclaw/backups and that there is sufficient disk space and secure storage for the bundles; consider changing the path if you don't want root storage. 4) The skill makes no network calls, so it won't exfiltrate data over the network by itself, but the generated bundle is local and must be protected. 5) If you want retention or offsite copies, implement additional tooling; the script explicitly says not to delete older bundles. 6) Run first in a safe environment (or inspect/modify the path) if you have any doubts.
功能分析
Type: OpenClaw Skill Name: gitbackup Version: 0.1.0 The skill is designed to create a local Git bundle backup of the OpenClaw workspace repository. The `SKILL.md` clearly defines this purpose and instructs the agent to run the `scripts/git-backup.sh` script. The script uses standard `git bundle create` commands to archive the workspace repository into a local file within the `/root/.openclaw/backups` directory. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, prompt injection attempts against the agent, or obfuscation. All actions are aligned with the stated purpose of creating a local Git backup.
能力评估
Purpose & Capability
The skill's name, description, SKILL.md, and provided script all consistently implement creating a local git bundle of the workspace. Minor mismatch: the skill metadata lists no required binaries, but the script requires git to be present (git is invoked via the git CLI).
Instruction Scope
SKILL.md simply instructs running the bundled script. The script only checks that the workspace is a Git repo, creates a backup directory, runs `git bundle create --all`, and prints path/size. It does not call external endpoints, read unrelated system config, or delete other data. Note: the bundle includes all refs/history and therefore may contain sensitive secrets present in the repo.
Install Mechanism
Instruction-only skill (no install spec). There is a small included script but no downloads or package installs, so nothing is fetched from external URLs and nothing is written to disk aside from the created backup bundle when run.
Credentials
The skill requests no environment variables or credentials (appropriate). It will read the entire workspace repository; that access is necessary for the stated purpose but could expose sensitive repo contents in the resulting bundle. Also the metadata omits declaring the dependency on the git binary.
Persistence & Privilege
The script writes persistent files to /root/.openclaw/backups. That is expected for a backup tool, but requires that the agent process has filesystem write access to that path (which often implies elevated or container root permissions). The skill does not modify other skills or system configs and is not set to always:true.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gitbackup
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gitbackup 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial publish
元数据
Slug gitbackup
版本 0.1.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

gitbackup 是什么?

Create a local Git bundle backup of the OpenClaw workspace repository. Use when running /gitbackup in Telegram or when the user asks to back up Git history/refs to a local file. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1115 次。

如何安装 gitbackup?

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

gitbackup 是免费的吗?

是的,gitbackup 完全免费(开源免费),可自由下载、安装和使用。

gitbackup 支持哪些平台?

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

谁开发了 gitbackup?

由 Trumppo(@trumppo)开发并维护,当前版本 v0.1.0。

💬 留言讨论