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