DiskSaver

Installation
SKILL.md

DiskSaver

Use this skill to free internal disk space by clearing rebuildable caches, cleaning temporary leftovers, or offloading space-heavy directories onto an external disk with a symbolic link in place.

Prefer deterministic execution through scripts/disk_saver.py. Keep user data safe: never perform a write operation unless the user has explicitly confirmed the exact checklist.

Write operations include: creating config, deleting/clearing cache contents, moving directories, creating symlinks, and replacing directories with mapped locations.

Workflow

  1. Discover large directories and decide whether the user has a writable external disk.
  2. Classify each target directory.
  3. Dry-run the plan for every target (plan-clean for cleanup, plan for mapping/migration).
  4. Check app/process ownership and ask the user to quit apps when needed.
  5. Present a batch checklist of every write operation and wait for explicit user confirmation.
  6. Run the confirmed operation with --confirmed.
  7. Verify cleanup results or symlinks, disk space when relevant, and recorded state.

External Disk Setup

Installs
1
GitHub Stars
1
First Seen
Jun 11, 2026
DiskSaver — xue-xiaobao/disk-saver