# disk-clean

> Safely free disk space on Windows: cleans pip/npm caches, stale node_modules, __pycache__ and temp files — preview first, apply only with explicit confirmation.

disk-clean is a paid AI agent skill on Agensi by Timothee Flare, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $1 (one-time purchase)
- Creator: [Timothee Flare](https://www.agensi.io/creators/timothee-flare)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Version: 1.0
- Last updated: 2026-11-18
- Security: scan passed (2026-11-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/disk-clean
- Tags: automation, devops, windows, maintenance

## About this skill

A safe, preview-first Windows disk-cleanup CLI + MCP server. It never touches source code and quarantines recoverable items instead of deleting them outright.

**What it cleans** — pip / npm / pnpm / yarn caches, orphaned or stale `node_modules`, `__pycache__` / `.pytest_cache`, temp files, Recycle Bin, Windows Update cache, thumbnails, crash dumps — and optionally browser cache and DISM component cleanup.

**Why it's safe**
- `preview` is always read-only; `apply` refuses to run without `-Confirm`.
- Folder targets go to quarantine first (recoverable for 7 days via `restore`); items on drive C: are never truly deleted.
- Whitelist-only: cache dirs plus `node_modules` / `__pycache__` / `.pytest_cache`. System directories are hard-excluded.

**One-line install**
```powershell
powershell -ExecutionPolicy Bypass -File setup.ps1.txt
```

Installs the `disk-clean` CLI and optionally registers it as an MCP server for Claude Desktop and Claude Code.

**Commands** — `preview` · `apply -Confirm` · `restore` · `status` · `doctor` · `channels`. MIT licensed.

## Requires

- Runs on Windows only
- PowerShell 5.1
- Optional: Python 3.10+ (MCP bridge)

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the disk-clean skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does disk-clean do?

Safely free disk space on Windows: cleans pip/npm caches, stale node_modules, __pycache__ and temp files — preview first, apply only with explicit confirmation.

### Which AI agents support disk-clean?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use disk-clean?

Connect your AI agent to Agensi through MCP, then ask it to use disk-clean on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
