← Back to Skills Marketplace
vincsta

dev-backup

by vincsta · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
128
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install dev-backup
Description
Create versioned snapshots of a workspace project during development to enable safe rollback before risky changes or upon user request.
README (SKILL.md)

dev-backup

Snapshot the current state of a named project for safe rollback.

Usage

Each project gets its own snapshot numbering. The project name is always the first argument.

# Backup any project
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
bash "$SCRIPT_DIR/dev-backup.sh" \x3Cproject-name> --project-dir /path/to/your/project

# Example: backup a "my-app" project
bash "$SCRIPT_DIR/dev-backup.sh" my-app --project-dir /home/user/projects/my-app

# No --project-dir? Uses the current working directory
cd /home/user/projects/my-app
bash "$SCRIPT_DIR/dev-backup.sh" my-app

Naming

Snapshots are named per project:

  • my-app-snapshot-1, my-app-snapshot-2, …
  • another-project-snapshot-1, another-project-snapshot-2, …

Each project tracks its own counter independently.

Excluded from snapshot

  • .git, node_modules, .vite, .cache, *.log, .env, backups/

Restore

To restore a snapshot:

cp -r \x3Cbackups-dir>/\x3Cproject-name>-snapshot-3/ \x3Cyour-project-dir>/

Or use the .latest symlink:

cp -r \x3Cbackups-dir>/.latest/ \x3Cyour-project-dir>/

Verification

After backup, confirm:

ls -la \x3Cbackups-dir>/

You should see the project-prefixed snapshot and .latest symlink.

Usage Guidance
This skill appears coherent and limited to local backup actions. Before installing/running: (1) confirm the OUTPUT_DIR location so backups are not written somewhere unexpected; (2) ensure you have enough disk space for snapshots; (3) install rsync if you want the script's excludes to be applied — the tar fallback does not apply the exclude list (so sensitive files like .env may be copied if rsync is missing); (4) run as a normal user (not root) and review the snapshot directory after the first run; and (5) if you require exclusion of additional sensitive files, update the script accordingly. There are no network calls or credential requests in the skill.
Capability Analysis
Type: OpenClaw Skill Name: dev-backup Version: 1.0.1 The skill is a legitimate utility for creating versioned snapshots of development projects. The shell script (scripts/dev-backup.sh) implements standard backup logic using rsync or tar and includes security-conscious exclusions for sensitive files like .env and .git. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found.
Capability Assessment
Purpose & Capability
The name/description match the provided SKILL.md and the included shell script: it creates numbered, local snapshots of a project. It does not request unrelated credentials or services. The script uses common system utilities (rsync, tar, du, ln, mkdir, rm); rsync is optional but reasonable for this task.
Instruction Scope
SKILL.md instructs running the included script and how to restore. The instructions are scoped to reading project files and writing backups to a local backups directory; there are no network calls, no external endpoints, and no instructions to read unrelated system files or secrets.
Install Mechanism
No install spec is provided (instruction-only plus a script file). Nothing is downloaded or extracted at install time. This lowers risk — the script runs only when invoked.
Credentials
The skill requires no credentials or config paths. The script accepts PROJECT_DIR and OUTPUT_DIR via arguments or environment, which is appropriate. It will create files under the chosen backups directory (filesystem write access), which is expected for a backup tool.
Persistence & Privilege
The skill is user-invocable, not forced-always, and does not request persistent agent privileges or modify other skills. It does create/modify files only in the specified output directory.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install dev-backup
  3. After installation, invoke the skill by name or use /dev-backup
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Made usage examples and documentation more generic for broader applicability (e.g., replaced user-specific paths and project names with placeholders). - Improved clarity in usage instructions and examples for both backup and restore commands. - No changes to functionality; only documentation updates.
v1.0.0
- Initial release of dev-backup. - Create workspace snapshots per project with progressive numbering. - Supports project-specific excludes (e.g., .git, node_modules, .env). - Simple restore instructions with .latest symlink for quick access. - Designed for backups before risky changes or on user request.
Metadata
Slug dev-backup
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is dev-backup?

Create versioned snapshots of a workspace project during development to enable safe rollback before risky changes or upon user request. It is an AI Agent Skill for Claude Code / OpenClaw, with 128 downloads so far.

How do I install dev-backup?

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

Is dev-backup free?

Yes, dev-backup is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does dev-backup support?

dev-backup is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created dev-backup?

It is built and maintained by vincsta (@vincsta); the current version is v1.0.1.

💬 Comments