Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add kevinnft/ai-agent-skills --skill vps-cleanupgit clone --depth 1 https://github.com/kevinnft/ai-agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/kevinnft/ai-agent-skills/vps-cleanup)<a href="https://agentmods.dev/skills/kevinnft/ai-agent-skills/vps-cleanup"><img src="https://agentmods.dev/badge/skills/kevinnft/ai-agent-skills/vps-cleanup/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/kevinnft/ai-agent-skills/vps-cleanup"><img src="https://agentmods.dev/badge/skills/kevinnft/ai-agent-skills/vps-cleanup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00027 | $0.03832 |
| Opus 5.5 | $0.00011 | $0.01533 |
| Sonnet 5.5 | $0.00005 | $0.00766 |
| Haiku 4.5 | $0.00003 | $0.00383 |
Grade C, and why
vps-cleanup scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf ~/temp-workspace/ How it starts
The opening of the file, as written. The whole thing — 527 lines — stays where its author put it; the contents beside it link to each section on GitHub.
VPS Cleanup
Systematic approach to cleaning up VPS disk space — analyze files, categorize by importance, safely delete temporary/old data without losing critical files.
When to Use
- User asks "apa yang gak penting?" or "what can I delete?"
- Disk space running low (> 80% used)
- Home directory cluttered with temporary files
- After completing projects (cleanup workspace)
Workflow
Phase 1: Analyze Current State
# Check disk usage
df -h /
# Analyze home directory
cd /home/ubuntu
du -sh * 2>/dev/null | sort -h
# Check large directories
du -h --max-depth=1 | sort -h | tail -20
Phase 2: Categorize Files
For each file/directory, assess:
| Category | Keep? | Examples |
|---|---|---|
| Backups | ✅ Keep | *.zip, *.tar.gz with "backup" in name |
| System | ✅ Keep | snap/, .cache/, .local/ |
| Active projects | ✅ Keep | Current development work |
| Temporary workspaces | ❌ Delete | Analysis folders, test directories |
| Old archives | ❌ Delete | Extracted folders + their .tar.gz (duplicates) |
| Generated outputs | 🟡 Optional | PNGs, reports (if source exists) |
| Source files | 🟡 Optional | .html if .png generated, .drawio if exported |
Phase 3: Build Decision Matrix
Create analysis table:
files = {
'file.zip': {
'size': '135M',
'type': 'backup',
'keep': True,
'reason': 'Important backup'
},
'temp-workspace/': {
'size': '538M',
'type': 'workspace',
'keep': False,
'reason': 'Temporary analysis, reports done'
},
# ... more files
}
Calculate:
- Total size
- Deletable size
- Keep size
- Percentage reclaimable
Phase 4: Present Analysis
Show user:
- Summary stats (total, keep, delete, %)
- Keep list (sorted by size, with reasons)
- Delete list (sorted by size, with reasons)
- Recommendations (phased approach)
Format:
✅ KEEP (IMPORTANT)
135M backup.zip Important backup
2.4M snap/ System directory
❌ CAN DELETE (NOT IMPORTANT)
538M temp-workspace/ Temporary, work done
1.2M diagrams/ PNGs generated
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 527 lines · 27 tokens per session scan C 80c53d84d40e
vps-cleanup is a skill published in the GitHub repository kevinnft/ai-agent-skills (15 stars, last pushed 4mo ago), licensed MIT. It adds 27 tokens to every session and 3,832 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
vps-cleanup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| vps-cleanupkevinnft/ai-agent-skills | Skill | 15 | 4mo ago | MIT | C | 27 | Claude Code, Codex |
| absolute-prunemaddhruv/absolute | Skill | 223 | 4mo ago | MIT | A | 86 | Claude Code |
| playwright-clitestdino-hq/playwright-skill | Skill | 426 | 5d ago | MIT | A | 64 | Claude Code, Codex |
| brand-visual-languagedembrandt/dembrandt-skills | Skill | 245 | yesterday | MIT | A | 35 | Claude Code |
| loading-states-and-perceived-performancedembrandt/dembrandt-skills | Skill | 245 | yesterday | MIT | A | 38 | Claude Code |
| global-toolbar-controlsdembrandt/dembrandt-skills | Skill | 245 | yesterday | MIT | A | 34 | Claude Code |
| scroll-areasdembrandt/dembrandt-skills | Skill | 245 | yesterday | MIT | A | 32 | Claude Code |