← Back to Skills Marketplace
4368
Downloads
1
Stars
39
Active Installs
5
Versions
Install in OpenClaw
/install cron-backup
Description
Set up scheduled automated backups with version tracking and cleanup. Use when users need to (1) Schedule periodic backups of directories or files, (2) Monit...
Usage Guidance
Install only if you deliberately want local cron-based backup automation. Use trusted absolute paths, avoid command-string version sources, inspect the exact crontab entry after setup, and test cleanup only on a dedicated backup directory because old backup files may be permanently deleted.
Capability Analysis
Type: OpenClaw Skill
Name: cron-backup
Version: 0.3.2
The skill bundle is classified as suspicious due to critical shell injection vulnerabilities. The `scripts/backup-versioned.sh` file uses `eval` on user-controlled input (`VERSION_SOURCE`), allowing arbitrary command execution. Furthermore, `scripts/setup-cron.sh` constructs cron job commands and entries using unsanitized user input, which are then passed to `crontab -`. This allows for arbitrary command execution and persistence via cron, especially when setting up 'versioned' backups, as it directly exposes the `eval` vulnerability. There is no evidence of intentional malicious behavior such as data exfiltration or backdoors, but these vulnerabilities pose a significant security risk.
Capability Assessment
Purpose & Capability
The artifacts implement the advertised backup, version-aware backup, listing, cleanup, and cron scheduling functions, with no evidence of hidden network access, credential theft, exfiltration, or backdoor behavior.
Instruction Scope
The versioned backup script falls back to eval on the user-supplied version source, and cron setup composes shell commands from user inputs without safe quoting or validation, expanding the skill from backup automation into possible arbitrary command execution.
Install Mechanism
The package contains local documentation and shell scripts only; no remote installer, dependency fetch, or external code download was found.
Credentials
Reading user-selected source directories and writing archives is proportionate for backups, but scheduled backups may repeatedly copy sensitive data and cleanup permanently deletes matching .tar.gz files with limited warning and no dry-run safeguard.
Persistence & Privilege
setup-cron.sh writes directly to the user's crontab without an explicit confirmation or review step, so unsafe or mistaken command construction can persist and run repeatedly under the user's account.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install cron-backup - After installation, invoke the skill by name or use
/cron-backup - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.3.2
Version 0.3.2 of cron-backup
- No code or documentation changes detected in this release.
- Functionality and documentation remain the same as the previous version.
v0.3.1
cron-backup 0.3.1
- No user-facing changes or file updates in this release.
- Documentation and core functionality remain the same as in the previous version.
v0.3.0
- Major documentation overhaul with a new SKILL.md describing all core features and usage.
- Added detailed quick start guides for one-time, scheduled, and version-aware backups.
- Explained directory backup, version checking, automatic cleanup, and scheduling with cron.
- Provided full examples, common patterns, and troubleshooting steps.
- Listed all key scripts and clarified backup naming conventions and retention policies.
v0.1.1
No changes detected in this version.
- Version bumped to 0.1.1 with no file or documentation changes.
- All features, scripts, and workflows remain the same.
v0.1.0
Initial release with automated scheduled backups, version tracking, and cleanup:
- Schedule periodic backups of directories or files using cron jobs.
- Perform backups only when a version file or command detects changes.
- Automatically clean up old backups based on time or count policies.
- Easy-to-use shell scripts for setup, backup, version-aware operations, and listing/restoring backups.
- Suitable for configuration files, code repositories, and user data protection.
Metadata
Frequently Asked Questions
What is Cron Backup?
Set up scheduled automated backups with version tracking and cleanup. Use when users need to (1) Schedule periodic backups of directories or files, (2) Monit... It is an AI Agent Skill for Claude Code / OpenClaw, with 4368 downloads so far.
How do I install Cron Backup?
Run "/install cron-backup" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Cron Backup free?
Yes, Cron Backup is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Cron Backup support?
Cron Backup is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Cron Backup?
It is built and maintained by zfanmy (@zfanmy); the current version is v0.3.2.
More Skills