system-cleanup-windows

Diagnose and reclaim disk space on Windows systems using git-bash and PowerShell commands.

Updated Aug 21, 2026
One-click install
npx skills add https://github.com/TylerSimons1127/vibe --skill system-cleanup-windows-tylersimons1127
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: system-cleanup-windows
Source: https://github.com/TylerSimons1127/vibe/tree/main/skills/devops/system-cleanup-windows
Command: npx skills add https://github.com/TylerSimons1127/vibe --skill system-cleanup-windows-tylersimons1127

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Windows laptops slow down and fill up over time due to accumulated logs, caches, database backups, and startup bloat, and manual cleanup is tedious and error-prone. This Skill provides a structured, safe procedure to diagnose disk usage and reclaim gigabytes of space without breaking running applications. ## Core Features & Use Cases - Disk Diagnosis: Identify the largest space consumers in AppData and user folders using threshold-filtered du scans that avoid timeouts on full disks. - Hermes Agent Cleanup: Remove state.db emergency backups, truncate oversized logs, prune old sessions, and compact the SQLite FTS index for up to 70% database size reduction. - System Junk Removal: Clear the recycle bin, Windows Update cache, temp folders, crash dumps, and package manager caches via PowerShell and bash commands. - Startup Tuning: List and disable heavy auto-start programs through registry edits to free RAM on boot. - Use Case: A user reports their laptop is nearly full and sluggish. The Skill scans for large directories, removes 2GB of Hermes state.db backups, clears 5GB from the recycle bin, prunes old sessions, and disables Docker Desktop auto-start, then verifies reclaimed space with df -h /c. ## Quick Start Ask the agent to diagnose why my Windows laptop is slow and full, then clean up disk space safely.

Frequently Asked Questions about system-cleanup-windows

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I free up disk space on a Windows laptop?▼

Start by running df -h /c to check free space, then scan AppData with du -s using size thresholds to find the largest directories. Clear the recycle bin, temp folders, Windows Update cache, and application caches, then verify reclaimed space afterward.

How to clean up Hermes Agent disk usage on Windows?▼

Delete state.db pre-update emergency backups, truncate large log files like gateway-stdio.log, and remove request_dump JSON files and cache directories. Then run hermes sessions prune and hermes sessions optimize-storage to compact the database.

Why does du time out on a full disk?▼

du -sh times out on 100%-full disks because disk I/O is already bottlenecked, which is the symptom of the full disk itself. Use du -s with numeric byte thresholds and sort -rn instead, scanning only top-level directories.

Can I delete Hermes state.db directly with sqlite3?▼

No, direct sqlite3 DELETE on a live state.db gets rolled back because the running Hermes process holds the database and undoes external changes. Always use hermes sessions prune, which handles locking and WAL checkpointing correctly.

How do I disable startup programs on Windows from the command line?▼

List startup items with PowerShell Get-ItemProperty on the HKCU Run registry key, then remove individual entries with Remove-ItemProperty. Common heavy auto-starts worth disabling include Docker Desktop, Steam, and BlueStacks.

What are the limitations of automated disk cleanup on Windows?▼

The optimize-storage command needs free space equal to roughly the database size for VACUUM, so other space must be freed first. Disabled startup programs only take effect after a restart, and project directories should never be deleted without user confirmation.