qiuzhanghua/skills · Archived

tdp-plugin-backup

Backup TDP plugins to an external USB drive.

Installation

$ npx skills add qiuzhanghua/skills --skill tdp-plugin-backup

Summary

  • Backup TDP plugins to an external USB drive.
  • Triggers when the user mentions backing up, copying, or syncing plugin data to a USB drive or external storage.
  • Handles both origin resources and plugin files.
  • Use this skill whenever the user wants to save their TDP plugin files to a USB drive.

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from qiuzhanghua/skills.

npx skills add qiuzhanghua/skills

Browse all from qiuzhanghua/skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

License LICENSE
Default branch main
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,721 B
  • docs SUMMARY.md 315 B

History

  1. First recorded snapshot · 2 installs

SKILL.md

Overview

This skill backs up a specified TDP plugin from local storage to an external USB drive.

Local paths:

  • Origin: ~/space/tdp-scripts/origin/<plugin name>/
  • Plugin: ~/space/tdp-scripts/plugin/<plugin name>_*
  • Bin: ~/space/tdp-scripts/bin/<plugin name>_*

USB paths:

  • Mac: /Volumes/SanDisk/origin/, /Volumes/SanDisk/plugin/, /Volumes/SanDisk/bin/
  • Linux: /mnt/f/origin/, /mnt/f/plugin/, /mnt/f/bin/

Rules:

  • No compression
  • Check if source exists before copying; if not, report and skip
  • Delete all existing files in the target before copying
  • Copy recursively
  • Auto-detect OS to choose USB path

Usage

When the user requests a backup operation, extract the plugin name from their request.

Backup (local → USB)

  1. Detect OS and set USB base path accordingly
  2. Verify USB paths exist; if not, prompt the user to connect the USB drive
  3. For origin, plugin, and bin directories:

a. Remove all contents at the USB destination for this plugin b. Copy the local plugin directory/file to the USB destination recursively

  1. Report completion with summary of what was copied

Error Handling

  • If the USB drive is not mounted, tell the user to connect it and wait
  • If a plugin does not exist on the source, report it and skip
  • If a plugin does not exist on the target, create the parent directories as needed