Skip to content
Back to skills

Backup Skill

ASecurity

Automatically backups an opencode skill directory to a 'backups' subfolder as a versioned zip file.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 27, 2026
toolsshell

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill backup-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Backup Skill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Backup Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-backup-skill/badge)](https://www.skillsdirectory.com/skills/david-li0406-backup-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: backup-skill
description: Automatically backups an opencode skill directory to a 'backups' subfolder as a versioned zip file.
metadata:
  short-description: Versioned skill backups
---

# Backup Skill

## Description
This skill creates a versioned ZIP backup of an existing skill directory. It automatically skips the `backups` folder itself during the process.

## Usage
Run the PowerShell script and provide the name of the skill to backup:

```powershell
powershell -ExecutionPolicy Bypass -File "scripts\backup-skill.ps1" -SkillName "revit-dynamo-journal"
```

## Logic
1.  **Check Path**: Verifies the skill exists in the global skills directory.
2.  **Backup Folder**: Creates a `backups` folder inside the skill directory if it doesn't exist.
3.  **Versioning**: Scans for existing `-v{number}.zip` files, finds the highest number, and increments it by 1.
4.  **Archive**: Copies all files (excluding the `backups` folder) to a temporary location and creates a zip file.

Files in this skill

  • SKILL.md988 B
  • scripts/backup-skill.ps11.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…