Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/open-agent-power/oh-my-disk-cleanernpx agentmods add skills/open-agent-power/oh-my-disk-cleaner/disk-cleanerWrote 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/open-agent-power/oh-my-disk-cleaner/disk-cleaner)<a href="https://agentmods.dev/skills/open-agent-power/oh-my-disk-cleaner/disk-cleaner"><img src="https://agentmods.dev/badge/skills/open-agent-power/oh-my-disk-cleaner/disk-cleaner/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/open-agent-power/oh-my-disk-cleaner/disk-cleaner"><img src="https://agentmods.dev/badge/skills/open-agent-power/oh-my-disk-cleaner/disk-cleaner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket warn
- Snyk pass
- NVIDIA SkillSpector warn
SkillSpector: 3 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Excessive Agency · line 626 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
- medium Privilege Escalation · line 1382 Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
- medium Privilege Escalation · line 1383 Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
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.00251 | $0.11447 |
| Opus 5 | $0.00125 | $0.05724 |
| Sonnet 5 | $0.00050 | $0.02289 |
| Haiku 4.5 | $0.00025 | $0.01145 |
Grade B, and why
disk-cleaner scanned grade B with 2 findings 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 10d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
print("Install: sudo apt install python3 # Debian/Ubuntu") Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
result = subprocess.run(cmd, capture_output=True, text=True) How it starts
The opening of the file, as written. The whole thing — 1,499 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Disk Cleaner Skill - Complete Feature Guide for All Agents
🚨 IMPORTANT: Emoji Usage Policy
For Script Output (Cross-Platform Safety)
- NEVER use emoji in script output - All scripts use ASCII-safe characters
- Scripts use:
[OK],[X],[!],[*],[i],[DIR],[FILE],[PKG],[x] - This ensures compatibility with Windows GBK and other non-UTF-8 consoles
- DO NOT modify script output to add emoji - This will break cross-platform compatibility
For Agent-to-Human Communication (Recommended)
- SHOULD use emoji when reporting results to humans - Makes output more readable
- Use these emoji in your final reports to users:
✅(Success) - Completed operations, successful scans❌(Error) - Failed operations, critical errors⚠️(Warning) - Warnings, issues that need attention🔍(Scanning) - Search/scan operations📊(Statistics) - Analysis results, statistics📁(Directory) - Directory-related information📦(Package) - Package/module information🎉(Success) - Celebratory messages for successful completion🚨(Critical) - Critical warnings💡(Tip) - Suggestions, recommendations📋(List) - Checklists, summaries🔧(Tool) - Tools, utilities🌐(Global) - Cross-platform, universal features🛡️(Safety) - Safety-related information⚡(Performance) - Performance improvements📝(Document) - Documentation🎓(Learning) - Educational content📞(Support) - Help, support information📈(Growth) - Improvements, gains🎯(Target) - Goals, objectives🚀(Launch) - Quick start, fast operations🛠️(Tools) - Tool-related features
Example:
Script output (ASCII): [OK] Scan completed: 50,000 files in 30 seconds
Your report to human: ✅ Scan completed successfully! Found 50,000 files in 30 seconds
📦 COMPLETE FEATURE LIST (READ THIS FIRST!)
🚨 CRITICAL: Progressive Scanning (MANDATORY for Large Disks)
- ✅ Quick Sample Mode: 1-second estimation of disk size and scan time
- ✅ Progressive Scan Mode: Get partial results in 30 seconds for large disks
- ✅ Smart Time Limits: Prevent users from waiting hours
- ✅ Real-time Feedback: Progress updates every 2 seconds
- ✅ Interruptible: Ctrl+C to get partial results
What ships with it
51 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.
- AGENT_QUICK_REF.txt 22 KB
- disk-cleaner.skill 128 KB
- diskcleaner/__init__.py 465 B runs code
- diskcleaner/config/__init__.py 193 B runs code
- diskcleaner/config/defaults.py 4.6 KB runs code
- diskcleaner/config/loader.py 10 KB runs code
- diskcleaner/core/__init__.py 961 B runs code
- diskcleaner/core/cache.py 6.0 KB runs code
- diskcleaner/core/classifier.py 9.4 KB runs code
- diskcleaner/core/duplicate_finder.py 8.8 KB runs code
- diskcleaner/core/growth_analyzer.py 14 KB runs code
- diskcleaner/core/interactive.py 24 KB runs code
- diskcleaner/core/organizer.py 16 KB runs code
- diskcleaner/core/process_manager.py 13 KB runs code
- diskcleaner/core/progress.py 10 KB runs code
- diskcleaner/core/rules/__init__.py 486 B runs code
- diskcleaner/core/rules/archive_rules.py 24 KB runs code
- diskcleaner/core/safety.py 13 KB runs code
- diskcleaner/core/scanner.py 18 KB runs code
- diskcleaner/core/smart_cleanup.py 11 KB runs code
- diskcleaner/optimization/__init__.py 1.7 KB runs code
- diskcleaner/optimization/concurrency.py 4.6 KB runs code
- diskcleaner/optimization/delete.py 17 KB runs code
- diskcleaner/optimization/hash.py 18 KB runs code
- diskcleaner/optimization/memory.py 5.7 KB runs code
- diskcleaner/optimization/profiler.py 6.1 KB runs code
- diskcleaner/optimization/scan.py 18 KB runs code
- diskcleaner/platforms/__init__.py 287 B runs code
- diskcleaner/platforms/linux.py 5.5 KB runs code
- diskcleaner/platforms/macos.py 5.4 KB runs code
- diskcleaner/platforms/windows.py 16 KB runs code
- docs/WIZARD_USAGE.md 7.7 KB
- INSTALL.md 7.0 KB
- NO_PYTHON_GUIDE.md 5.3 KB
- README.md 1.5 KB
- references/temp_locations.md 4.3 KB
- scripts/analyze_disk.py 28 KB runs code
- scripts/analyze_growth.py 12 KB runs code
- scripts/analyze_progressive.py 16 KB runs code
- scripts/check_skill.py 9.2 KB runs code
- scripts/clean_disk.py 34 KB runs code
- scripts/find_duplicates.py 12 KB runs code
- scripts/interactive_wizard.py 18 KB runs code
- scripts/monitor_disk.py 12 KB runs code
- scripts/organize_files.py 5.8 KB runs code
- scripts/package_skill.py 14 KB runs code
- scripts/qq_cleanup_macos.zsh 5.9 KB runs code
- scripts/scheduler.py 8.8 KB runs code
- scripts/skill_bootstrap.py 20 KB runs code
- scripts/test_wizard.py 4.5 KB runs code
- UNIVERSAL_INSTALL.md 6.9 KB
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.
- 10d ago First seen · 1,499 lines · 251 tokens per session scan B 6d99aeb0dd60
disk-cleaner is a skill published in the GitHub repository open-agent-power/oh-my-disk-cleaner (36 stars, last pushed 6d ago), licensed MIT. It adds 251 tokens to every session and 11,447 once invoked, about $0.0013 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…