sue-runpod-cleanup
CommunityAutomate RunPod /workspace cleanup to lower cost.
Software Engineering#runpod#workspace cleanup#ml experiment management#stale file deletion#storage cost control#pod automation
Authordongzhuoyao
Version1.0.0
Installs0
System Documentation
What problem does it solve?
RunPod pods' /workspace storage frequently fills up with old, unaccessed experiment outputs, checkpoints, and cached data over time, leading to unnecessary storage costs and potential out-of-space errors that disrupt ongoing work.
Core Features & Use Cases
- Pre-cleanup visibility: Scans and reports the top 5 space-consuming directories in /workspace before any deletion to help operators understand storage usage patterns.
- Multiple operation modes: Supports on-demand interactive cleanup, automated pod-side hourly cron, and Mac mini launchd daemon mode for continuous, unattended cost control across single or multiple pods.
- Audit-ready safety: Logs every deleted file and directory for full traceability, strictly scopes operations to /workspace only to avoid accidental system file deletion, and requires explicit confirmation for on-demand destructive runs.
- Use case: If you are preparing a RunPod pod for a new ML experiment and need to reclaim space from prior runs, use this skill to safely delete stale files not accessed in the last 2 days.
Quick Start
Use the sue-runpod-cleanup skill to scan your RunPod pod's /workspace directory for stale files and delete any files or empty directories not accessed in the last 2 days to free up storage space.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: sue-runpod-cleanup Download link: https://github.com/dongzhuoyao/deepresearch/archive/main.zip#sue-runpod-cleanup Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.