PatchClean AI
github.com
- Windows
6.1 Club score Visit github.com
What the maker publishes
- AI analysis
- Optional Claude AI analysis classifies UNKNOWN files using installer metadata and provides a confidence score. source
- AI requirement
- AI analysis requires an Anthropic API key supplied through claude.key.txt, a .env file, or the ANTHROPIC_API_KEY environment variable. source
- AI setup
- AI analysis requires an Anthropic API key supplied through claude.key.txt, .env, or the ANTHROPIC_API_KEY environment variable. source
- Architecture detail
- The project documents scanning C:\Windows\Installer and its $PatchCache$ subdirectory, then cross-referencing files against Windows Installer COM and registry data. source
- Archive
- Users can move orphaned files to an archive directory, with C:\Windows\Installer\_archive as the default; archived files can be restored by moving them back. source
- Archive
- Orphaned files can be moved to an archive directory, defaulting to C:\Windows\Installer\_archive, and can be restored by moving them back. source
- Classification
- It classifies files as KNOWN, ORPHANED, or UNKNOWN based on whether installed products or patches reference them. source
- Classification
- The scanner labels files KNOWN, ORPHANED, or UNKNOWN and displays file counts and potential disk savings. source
- Installation
- The documented installation method is to clone the repository and install the package with pip install -e . source
- Integrations
- Optional AI classification uses Anthropic Claude; JSON output is described as useful for scripting or piping to other tools. source
- Intended users
- The README describes the project as a PatchCleaner replacement for Windows users and says it is provided as-is for personal use. source
- License and caution
- The repository lists a GPL-3.0 license, and its README says to use the project at your own risk and verify classifications before deleting files. source
- Optional AI
- Optional Claude AI analysis classifies files that remain UNKNOWN using installer metadata and provides a confidence score. source
- Output
- The CLI provides a Rich table and structured JSON output with file details, classifications, sizes, and errors. source
- Permanent deletion
- Users can permanently delete orphaned files after typing YES to confirm, and the README says deletion cannot be undone. source
- Permanent deletion
- Deleting orphaned files is permanent and requires typing YES to confirm. source
- Purpose
- PatchClean AI scans the Windows Installer folder for orphaned .msi and .msp files so users can reclaim disk space. source
- Purpose
- PatchClean AI scans the Windows Installer folder, identifies orphaned MSI and MSP files, and can archive or delete them to reclaim disk space. source
- Requirements
- The README lists Windows 10 or 11, Python 3.10 or later, and administrator privileges for move or delete operations. source
- Requirements
- The project lists Windows 10 or 11, Python 3.10 or later, and administrator privileges for move or delete operations. source
- Safety controls
- The project describes checks that keep file operations within the Installer directory, reject symlinks, handle archive filename collisions, and require confirmation before destructive actions. source
- Safety controls
- Move and delete operations require administrator privileges; the tool checks paths, rejects symlinks, and supports dry-run previews. source
- Scripting
- The scan command can output JSON with file details, classifications, sizes, and errors for scripting or piping to other tools. source
Checked against the maker's pages on 11 Oct 2026.