← 返回 Skills 市场
blacktor-tor

OpenClaw Git Backup

作者 BlackTor-tor · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
150
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-git-backup
功能描述
Create, update, validate, or troubleshoot automated git backup workflows for OpenClaw repositories. Use when a user wants a scheduled commit-and-push backup...
安全使用建议
This skill appears coherent and reasonably safe for its purpose, but review and test before deploying: 1) Confirm the target remote and branch (the script will fall back to 'main' if detached — verify this to avoid pushing to the wrong branch). 2) Prefer scoped deploy keys or the host credential manager over storing long-lived personal tokens; if you must use an HTTPS token, follow the guidance to store it in a repo-local credential file and restrict token scope, and ensure file permissions are correct. 3) Add BACKUP_EXCLUDES to prevent scheduler self-noise or sensitive runtime files being committed. 4) Run the bundled script manually and force-run the cron job once as recommended to validate commits and pushes. 5) Be aware the script runs with the cron user's filesystem permissions — do not use it to back up repositories that contain secrets you do not want accessible to that user. If you want stronger guarantees, consider using an SSH deploy key or a CI-backed backup with separated credentials.
功能分析
Type: OpenClaw Skill Name: openclaw-git-backup Version: 0.1.0 The skill provides a legitimate utility for automating git backups within OpenClaw repositories. The core logic in `scripts/nightly_git_backup.sh` performs standard git operations (add, commit, push) with configurable excludes and detailed commit messages, while the documentation in `SKILL.md` and `references/` correctly guides the agent on setup and credential management, including explicit warnings against insecure practices like embedding tokens in URLs.
能力评估
Purpose & Capability
Name/description, SKILL.md instructions, and the bundled script all focus on creating a nightly commit-and-push backup for a repository. Required config and behavior (excludes, branch, remote, author info, push) match the stated purpose; there are no unrelated environment variables or external services requested.
Instruction Scope
Runtime instructions direct the agent to inspect git state, copy the provided script into a runtime path, configure repo-local HTTPS credential storage only if explicitly provided, create a cron job, and force-run the script. All referenced commands and files are within the backup workflow scope; instructions do not ask the agent to read unrelated system files or send data to unexpected remote endpoints.
Install Mechanism
No install spec is present (instruction-only plus a bundled script). The recommended install step is a simple file copy and a bash -n check. Nothing in the package downloads or extracts arbitrary code from third parties.
Credentials
The skill declares no required secrets and the bundled script uses optional BACKUP_* environment variables to control behavior. The SKILL.md documents credential handling and explicitly advises not to embed tokens in remote URLs and not to store tokens in the skill. The only network activity is git push/pull to the repository's configured remote, which is expected for this purpose.
Persistence & Privilege
always is false and the skill does not request permanent platform-wide privileges or attempt to modify other skills' configs. It simply writes/installs a runtime script into a specified path and configures per-repo credential storage only when the user explicitly supplies a token.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-git-backup
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-git-backup 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial public release
元数据
Slug openclaw-git-backup
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

OpenClaw Git Backup 是什么?

Create, update, validate, or troubleshoot automated git backup workflows for OpenClaw repositories. Use when a user wants a scheduled commit-and-push backup... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 150 次。

如何安装 OpenClaw Git Backup?

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

OpenClaw Git Backup 是免费的吗?

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

OpenClaw Git Backup 支持哪些平台?

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

谁开发了 OpenClaw Git Backup?

由 BlackTor-tor(@blacktor-tor)开发并维护,当前版本 v0.1.0。

💬 留言讨论