← Back to Skills Marketplace
aiwithabidi

Workspace Backup

by aiwithabidi · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
336
Downloads
0
Stars
4
Active Installs
1
Versions
Install in OpenClaw
/install workspace-backup
Description
Automated workspace backup to GitHub — git-based with auto-generated commit messages, proper .gitignore, and restore procedures. Cron-friendly for hands-free...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install workspace-backup
  3. After installation, invoke the skill by name or use /workspace-backup
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug workspace-backup
Version 1.0.0
License
All-time Installs 4
Active Installs 4
Total Versions 1
Frequently Asked Questions

What is Workspace Backup?

Automated workspace backup to GitHub — git-based with auto-generated commit messages, proper .gitignore, and restore procedures. Cron-friendly for hands-free... It is an AI Agent Skill for Claude Code / OpenClaw, with 336 downloads so far.

How do I install Workspace Backup?

Run "/install workspace-backup" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Workspace Backup free?

Yes, Workspace Backup is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Workspace Backup support?

Workspace Backup is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Workspace Backup?

It is built and maintained by aiwithabidi (@aiwithabidi); the current version is v1.0.0.

💬 Comments