← ClaudeAtlas

cold-project-archiverlisted

Identify long-untouched ("cold") project folders by last-modification date, back them up to a Chinese cloud drive (Baidu Netdisk or Aliyun Drive) via CLI, verify the upload is complete file-by-file, and only then help delete the local copies to reclaim disk space. Use when a user wants to archive old/inactive projects to a netdisk and free up local storage.
sukichen1101-eng/cold-project-archiver · ★ 0 · AI & Automation · score 70
Install: claude install-skill sukichen1101-eng/cold-project-archiver
# Cold Project Archiver A guided workflow to archive inactive projects to a netdisk and reclaim disk space, with completeness verification before any deletion. ## When to use this skill Trigger when the user wants to: - Find projects/folders they "haven't touched in a long time" - Back up old projects to Baidu Netdisk (百度网盘) or Aliyun Drive (阿里云盘) - Free up disk space by removing already-backed-up files - Verify that a netdisk upload actually completed (no silent gaps) ## Core safety principle **Never delete a local file until its presence on the netdisk is verified.** Deletion is the last step, gated on a clean verify pass. When in doubt, keep the local copy. Prefer moving to Trash over permanent delete unless the user explicitly asks to permanently delete. ## Prerequisites One of these CLI tools must be installed (both are on Homebrew): - Baidu: `BaiduPCS-Go` — https://github.com/qjfoidnh/BaiduPCS-Go - Aliyun: `aliyunpan` — https://github.com/tickstep/aliyunpan Install (macOS): `brew install baidupcs-go` or `brew install aliyunpan`. If `brew install` fails to compile (it builds from Go source and go.dev can be flaky), download the prebuilt binary from the tool's GitHub Releases instead, `chmod +x` it, and on macOS clear quarantine: `xattr -d com.apple.quarantine <bin>`. ## Login (one-time, per backend) **Baidu** needs `BDUSS` AND `STOKEN` cookies (STOKEN is required to upload NEW files — without it you'll see `获取用户uk错误, 请确保登录信息包含了STOKEN`). Guide the user to copy b