← 返回 Skills 市场
aiwithabidi

Workspace Backup

作者 aiwithabidi · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
336
总下载
0
收藏
4
当前安装
1
版本数
在 OpenClaw 中安装
/install workspace-backup
功能描述
Automated workspace backup to GitHub — git-based with auto-generated commit messages, proper .gitignore, and restore procedures. Cron-friendly for hands-free...
安全使用建议
Before installing or scheduling this skill: (1) run the script manually once in a disposable/test repo to confirm behavior; (2) ensure your .gitignore excludes any secrets or sensitive files you do not want pushed (the script will git add -A and commit everything not ignored); (3) use a scoped deploy key or a dedicated GitHub repo (avoid pushing to personal repos you rely on); (4) fix the example cron paths/placeholders ({baseDir}) to actual paths in your environment; (5) verify which SSH key will be used by the cron job (cron may run with a different HOME/ssh-agent context) and test pushes from that context; (6) consider encrypting secrets before storing them in the backup repo. Overall the skill appears to do what it claims, but double-check .gitignore and SSH/cron environment details to avoid accidental secret commits or failed pushes.
功能分析
Type: OpenClaw Skill Name: workspace-backup Version: 1.0.0 The workspace-backup skill is a standard utility for automating git-based backups of an OpenClaw workspace to a user-defined GitHub repository. The core logic in scripts/backup.sh follows best practices, including error handling and the automated creation of a .gitignore file that explicitly excludes sensitive data such as .env files and virtual environments to prevent accidental secret leakage.
能力评估
Purpose & Capability
Name and description match the included behavior: a git-based backup that adds/commits/pushes the OpenClaw workspace. The only required binary is git and the script uses SSH pushes (as documented). Nothing requested or installed is disproportionate to a backup tool.
Instruction Scope
Instructions are mostly scoped to the workspace and git operations. The script will honor optional environment variables OPENCLAW_WORKSPACE, BACKUP_BRANCH, and BACKUP_REMOTE (not declared in requires.env) and will git add -A (so it will stage any file not ignored). The SKILL.md examples contain templated placeholders like {baseDir} in cron lines that are inconsistent and may break if copied as-is. There are no network endpoints or exfiltration instructions beyond pushing to the configured git remote (expected).
Install Mechanism
No install step or external downloads; this is instruction-only plus an included shell script. The script is small, not obfuscated, and does not fetch code from external URLs.
Credentials
The skill does not require credentials in metadata. It implicitly depends on SSH keys configured for git push (documented). It also reads optional env vars (OPENCLAW_WORKSPACE, BACKUP_BRANCH, BACKUP_REMOTE) that are reasonable for configurability but were not listed in requires.env. There is a risk of accidentally committing secrets if they exist in the workspace and aren't covered by .gitignore.
Persistence & Privilege
always is false and the skill does not request system-wide changes or modify other skills' configs. Autonomous invocation is permitted by default but is appropriate for a cron-friendly backup tool.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install workspace-backup
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /workspace-backup 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of workspace-backup skill. - Automates backups of OpenClaw workspaces to GitHub with git-based versioning. - Features auto-generated commit messages, smart .gitignore handling, and timestamped change tracking. - Supports full or partial workspace restore from any backup point. - Designed to run hands-free as a cron job or on-demand. - Requires Git and GitHub SSH access for operation.
元数据
Slug workspace-backup
版本 1.0.0
许可证
累计安装 4
当前安装数 4
历史版本数 1
常见问题

Workspace Backup 是什么?

Automated workspace backup to GitHub — git-based with auto-generated commit messages, proper .gitignore, and restore procedures. Cron-friendly for hands-free... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 336 次。

如何安装 Workspace Backup?

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

Workspace Backup 是免费的吗?

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

Workspace Backup 支持哪些平台?

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

谁开发了 Workspace Backup?

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

💬 留言讨论