← 返回 Skills 市场
cooperun

Workspace Git Backup

作者 Cooperun · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
303
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install workspace-git-backup
功能描述
Set up automatic scheduled backups to GitHub or GitLab. Use when users want to backup their OpenClaw workspace or other directories. Supports GitHub CLI for...
安全使用建议
This package appears to do what it claims, but review and consider these before installing: - Inspect the included scripts (they are bundled) before copying/executing them. The scripts will add/commit and push any changes in the configured backup path to the configured remote — do not include directories containing secrets or credentials unless you intentionally want them backed up to that repo. - Ensure git is installed and that your authentication (SSH key or credential helper, or gh login) is configured; the skill does not declare these binaries but uses them. If you use gh for repo creation, be logged in and understand which account the repo will be created under. - The skill will create cron entries or a launchd plist and write files to ~/.openclaw and ~/Library/LaunchAgents; confirm you are comfortable with persistent scheduled tasks. Use manage.sh uninstall to remove the scheduled task (scripts and config are left in place by design). - Prefer a private repository or a repository with proper access controls. If you need stronger isolation, create a dedicated repository or use a deploy key/account with limited access. - If you want higher assurance, run the backup script manually first and monitor its behavior (what files it commits/pushes), and validate logs at ~/.openclaw/logs/github-backup.log.
功能分析
Type: OpenClaw Skill Name: workspace-git-backup Version: 1.0.0 The workspace-git-backup skill is a legitimate utility designed to automate directory backups to GitHub or GitLab. It uses standard system tools such as git, the GitHub CLI (gh), cron (Linux), and launchd (macOS) to perform its stated functions. The scripts (backup.sh, install-cron.sh, install-launchd.sh) follow the logic described in SKILL.md, and there is no evidence of data exfiltration, obfuscation, or unauthorized persistence beyond the scheduled backup task requested by the user.
能力评估
Purpose & Capability
Name/description match the actual behavior: scripts configure a Git-backed scheduled backup, optionally use gh for repo creation, and install cron/launchd entries. Minor mismatch: the skill declares no required binaries, but the scripts call git (required), optionally gh (for repo creation), python3 (for json pretty-printing), sed, crontab, and launchctl. Those binaries are reasonable for the stated purpose but should have been declared.
Instruction Scope
SKILL.md instructs the agent to ask for a backup path, create a config under ~/.openclaw/workspace, copy included scripts into ~/.openclaw/scripts, and install scheduled tasks. The runtime steps and file paths are limited to the user's home (~/.openclaw, ~/Library/LaunchAgents, crontab) and to interacting with git remotes; the instructions do not attempt to read unrelated system files or external data.
Install Mechanism
No remote downloads or package installs — the skill is instruction-only but ships script files which the instructions copy into the user's home directory. This is lower risk than fetching code from arbitrary URLs, but it does write and execute bundled scripts on disk and install persistent tasks.
Credentials
The skill declares no environment variables or credentials. That is consistent: git pushes will use the user's existing Git authentication (credential helper, SSH key, or gh login). There is no evidence the skill requests unrelated credentials or attempts to exfiltrate secrets beyond pushing whatever is in the configured backup path to the chosen remote repo.
Persistence & Privilege
The skill installs persistent scheduled tasks (cron on Linux, launchd plist on macOS) and creates files under ~/.openclaw and ~/Library/LaunchAgents. It does not request always:true or modify other skills' configs, but users should note the persistent nature: scheduled runs will continue until the user uninstalls the task.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install workspace-git-backup
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /workspace-git-backup 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug workspace-git-backup
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Workspace Git Backup 是什么?

Set up automatic scheduled backups to GitHub or GitLab. Use when users want to backup their OpenClaw workspace or other directories. Supports GitHub CLI for... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 303 次。

如何安装 Workspace Git Backup?

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

Workspace Git Backup 是免费的吗?

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

Workspace Git Backup 支持哪些平台?

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

谁开发了 Workspace Git Backup?

由 Cooperun(@cooperun)开发并维护,当前版本 v1.0.0。

💬 留言讨论