AI assistants are quietly becoming the Swiss Army knife no one expected. I’ve already turned ChatGPT into a project management system and a Grammarly Pro replacement. But Claude is different—it has access to my file system. So when I noticed my storage was nearing 80%, I decided to use Claude to free up some disk space.
How does Claude know what files you have on your PC?
Two words: Claude Cowork
If you’ve only used Claude through the web or mobile app, it might be surprising to learn that it can read and interact with your system files. However, this is a standard feature in the Claude desktop app when you switch to Cowork mode. It lets you mount any folder or directory on your computer, allowing Claude to find files, read them, create new ones, move them, and yes—even delete them.
For security, it’s generally recommended to sandbox Claude to a specific folder so it can only access that directory. That said, I’ve been using Claude Cowork since its release and haven’t experienced any issues—even with broader access. So when my storage usage crept close to 80%, I pointed it at my C drive to identify large, unnecessary files and help remove them.
How Claude fixed my messy Obsidian vault in 5 minutes (prompts included)
Your second brain has become a second junk drawer. Claude can fix that.
The simplest safeguard is to explicitly tell Claude not to delete anything without confirmation. It will also prompt you for permission before making significant changes. Some users click “Allow” without reading, but you should always review what it’s asking for. As long as you do that, there’s little risk of Claude deleting anything unintentionally.
How I use Claude to find and visualize my files
It’s all about the right prompts
If you simply ask Claude what’s taking up space on your PC, it will run a basic scan and return a generic summary. That’s not useless—but it’s not especially helpful either. The better approach is to give it a structured prompt that clearly defines what to look for and how to present the results.
This is the prompt I used:
Scan my PC for files that are wasting space. I want a thorough, multi-pass scan — not just a surface-level check.
**IMPORTANT: DO NOT DELETE ANYTHING. ONLY SCAN AND SHOW ME**
Specifically, look for:
- Temporary and cache files (Windows Temp, AppData caches, browser caches)
- Large files over 500MB (any location)
- Old installer files (.exe, .msi, .iso in Downloads or elsewhere)
- Duplicate files (same name + size in multiple locations)
- Leftover folders from uninstalled software
- Log files that have grown out of control
- Thumbnails and icon caches
Once the scan is complete, present the findings as an interactive visual dashboard — use a treemap along with a pie chart to show which categories and folders are consuming the most space. Break it down by: total space used, recoverable space (safe to delete), and space that needs my review before deleting.
For each item or category flagged, give me a brief reason why it's junk — or flag it if it might actually be useful, so I can make the call.
Again, **DO NOT DELETE ANYTHING**. Show me everything first.
The most important part is the instruction: “do not delete anything.” In fact, it’s so important I’ve mentioned it twice. You want to review what Claude found before you let it touch anything. After that, you can either ask Claude to remove specific files or handle the cleanup yourself if you prefer more control.
The request for a visual dashboard—specifically a treemap and pie chart—also makes a significant difference. It helps you quickly understand where your storage is going, rather than sorting through a long list of files.
You can customize this prompt further by adding new scan targets or changing how the data is presented.
You can make the process more hands-on if you prefer
Not everyone is comfortable giving Claude direct access to their file system. The main concern is accidental deletion. There’s also the fact that Claude can technically read your files, although in practice, if the task is focused on file sizes, it isn’t going to inspect your documents. Still, if you’d rather keep it at arm’s length, there’s an alternative that avoids giving Claude any file access at all.
The idea is simple: instead of letting Claude scan your PC directly, you ask it to generate PowerShell commands that you run yourself. You then paste the output back into Claude, which analyzes the results and guides you from there. It’s a bit more hands-on, but significantly safer.
Here’s the prompt for that approach:
I want to find what's wasting space on my PC, but I'd rather not give you direct access to my file system. Instead, give me a series of PowerShell commands to run one at a time. I'll paste the output back to you after each one.
Start with a broad scan, then we'll drill down based on what we find.
Cover these areas:
- Top 20 largest files on C:\\
- Windows Temp and AppData\\Local\\Temp folder sizes
- Downloads folder — sorted by size
- Any .log files over 50MB
- Installer files (.exe, .msi, .iso) outside of Program Files
- Browser cache folders (Chrome, Edge, Firefox — whichever exist)
After I share each output, analyze it and tell me: what's safe to delete, what needs my review, and how much space I'd recover. Once we've gone through all the scans, give me a summary of total recoverable space broken down by category.
Don't give me all the commands at once — go one step at a time so we can work through this together.
Claude isn’t just for programmers: Here’s 7 ways I use it in my everyday life
Vibe coding isn’t all you can do.
Is Claude better than a dedicated disk cleaner?
In some ways, yes—in most ways, no
If you’re on Windows, you already have Storage Sense built in. On the third-party side, tools like BleachBit are genuinely powerful and cover a wide range of cleanup tasks. Both options are free and purpose-built for cleaning junk from your PC.
The Claude workflow, by comparison, consumes tokens. On a free plan, that’s a clear limitation. Even with Claude Pro, it’s still not “free” in the same way traditional disk cleaners are. But is that extra cost worth it?
The main advantage Claude has over standard disk cleaners is context awareness. When BleachBit encounters a file, it evaluates whether it’s junk based on predefined rules. Claude, on the other hand, evaluates whether it’s junk for you. That’s a fundamentally different question.
For example, during my scan, Claude flagged 40 GB of LLM models stored in an LM Studio folder. BleachBit would likely ignore it because it doesn’t fall into a typical junk category. But Claude recognized that I exclusively run local models through Ollama. I hadn’t used LM Studio in months, so it correctly identified the entire folder as a candidate for deletion. That’s the kind of judgment call a generic tool isn’t designed to make.
Claude vs. BleachBit or Storage Sense
Claude isn’t a replacement for BleachBit or Storage Sense—it’s a complement. If you want automated cleanup based on well-defined rules, traditional tools still do that best. But if you want something that understands your setup and can make informed decisions about what’s actually worth keeping, Claude has a clear edge.


