Find What's Filling Your Computer
Use Claude Code to map your home folder and build a visual disk report.
Introduction
30 Second Summary
Jay Patel gave Claude seven words: "my mac is full, find out why." The result was 97 GB described as junk inside a treemap cleanup interface.
In this project, you will use Claude Code to build a visual report of the 25 largest folders inside your home folder. You will approve each cleanup choice yourself before measuring the space you reclaim.
What You'll Build
You'll open report.html to see your largest home folders as the largest colored boxes, then read your measured before-and-after free space in disk-notes.md.
By the end of this project, you'll have:
- A read-only disk baseline that you can compare with the Storage view on your computer.
- A home-folder treemap where larger folders appear as larger boxes under green, amber, or grey categories.
- A measured cleanup result that records your decisions before showing how much free space returned.
- Secret Mission: Compare your report with a home-scoped Mole analysis without allowing Mole to remove anything.
Are there any prerequisites?
You need internet access on your own Mac running macOS 13 or later, or your own 64-bit PC running Windows 10 version 1809 or later or Windows 11.
Your Claude account must use a Pro, Max, Ultra, Team, Enterprise, or Console plan with Claude Code access.
Before We Start
Take a moment to define what you want to find on your computer. Connecting that goal to why you need more disk space keeps the investigation focused before any tools scan your files.
Install Claude Code in Plan Mode
A safe disk investigation needs Claude Code running in the correct folder with Plan mode blocking edits before it sees any disk information.
You will use an ordinary terminal session under your user account. Administrator access is unnecessary.
In this step, get ready to:
- Open a built-in terminal without administrator privileges.
- Install Claude Code.
- Start disk-report session in Plan mode.
Use a terminal without administrator privileges
Claude Code runs inside a terminal window. A standard user session gives this project everything it needs.
macOS
- Open Terminal without administrator privileges.
- Press Command-Space to open Spotlight.
- Type Terminal.
- Press Return.
You'll see Terminal open with a blinking command prompt.
Windows
- Open Windows PowerShell or Terminal without administrator privileges.
- Press Windows+X.
- Select Windows PowerShell or Terminal.
You'll see a PowerShell window whose prompt begins with PS.
Install and verify Claude Code
The native installer adds Claude Code to your computer. A version check confirms that your terminal can find it.
macOS
- Install Claude Code by running this command:
curl -fsSL https://claude.ai/install.sh | bash
What does this command do?
The command downloads Claude Code's official native installer from claude.ai. It passes that installer to bash so your terminal can run it.
The installer finishes and returns you to the command prompt.
- Open a new Terminal window so it can load the installed command.
- Press Command-Space.
- Type Terminal.
- Press Return.
Before you verify the installation, what should a working Claude Code command print?
- Check the Claude Code installation by running this command:
claude --version
What does this command do?
The --version flag asks Claude Code to print its installed version. A version number proves the command is available in this terminal.
Good, the version number confirms Claude Code is installed and ready.
Windows
- Install Claude Code by running this command:
irm https://claude.ai/install.ps1 | iex
What does this command do?
The command downloads Claude Code's official Windows installer from claude.ai. PowerShell runs the downloaded installer script.
The installer finishes and returns you to the PowerShell prompt.
- Open a new PowerShell window so it can load the installed command.
- Press Windows+X.
- Select Windows PowerShell or Terminal.
Before you verify the installation, what should a working Claude Code command print?
- Check the Claude Code installation by running this command:
claude --version
What does this command do?
The --version flag asks Claude Code to print its installed version. A version number proves the command is available in this PowerShell window.
Good, the version number confirms Claude Code is installed and ready.
Command still unavailable?
If macOS reports command not found: claude or Windows reports claude is not recognized, open another new terminal window and repeat the version check.
If the command remains unavailable, help me diagnose the Claude Code installation.
Start disk-report session in Plan mode
The disk-report folder becomes the working directory for the rest of the project. The final command below starts an interactive Claude Code session inside it.
Claude Code may ask you to sign in after it starts. Use the existing Claude account from the project prerequisites.
macOS
- Create disk-report and start disk-report session inside it by running these commands:
mkdir disk-report
cd disk-report
claude
What do these commands do?
- The mkdir disk-report command creates the local working folder.
- The cd disk-report command moves the terminal into that folder.
- The claude command starts the interactive session there.
Windows
- Create disk-report and start disk-report session inside it by running these commands:
mkdir disk-report
cd disk-report
claude
What do these commands do?
- The mkdir disk-report command creates the local working folder.
- The cd disk-report command moves PowerShell into that folder.
- The claude command starts the interactive session there.
The sign-in step uses your existing Claude account, so there is no new account to create.
- Complete the sign-in flow with your existing Claude account when prompted.
You'll see the Claude Code welcome screen identify disk-report as the working directory.
Account access unavailable?
Confirm that you signed in with a Claude Pro, Max, Ultra, Team, Enterprise, or Console account. The free claude.ai plan does not include Claude Code.
If an eligible account still cannot start the session, help me check my Claude Code account access.
Before you switch modes, which status should confirm that Claude cannot edit project files?
- Press Shift+Tab until the status bar shows ⏸ plan mode on.
That's the safety boundary in place. disk-report session is running inside disk-report with Plan mode on.
Your read-only workspace is ready. Next, you'll measure the main disk and capture the free-space baseline.
Ask How Full the Disk Is
Your Claude Code session is ready inside disk-report. Now you can measure the problem before investigating what caused it.
A trustworthy cleanup result needs a baseline that records the disk's total capacity and free space before anything changes. Plan mode keeps this measurement read-only.
In this step, get ready to:
- Measure the main disk's total capacity and free space.
- Record the free-space figure from Storage view.
- Preserve the compared baseline in chat.
Measure the main disk
Total capacity describes the disk's full size. Free space describes the part that remains available for new files.
Before you ask, do you expect Claude to change any files while Plan mode is on?
macOS
- Measure the Mac's main disk by sending this prompt in the disk-report session:
My computer is full, find out why. First, only tell me how big my main disk is and how much is free. Run `diskutil info /`, read `Container Total Space` and `Container Free Space`, and report them in GB. Read only. Change nothing. Stay in Plan mode. Do not write any files.
What does this prompt do?
- The diskutil info / command reads information about the Mac's main disk.
- The Container Total Space field provides the full APFS container size.
- The Container Free Space field provides the available space.
- The safety instructions keep Claude in Plan mode without creating files.
You'll see a line such as Disk: 494 GB, free: 18 GB. Claude does not create a file.
Windows
- Measure the Windows main disk by sending this prompt in the disk-report session:
My computer is full, find out why. First, only tell me how big my main disk is and how much is free. Run `Get-Volume -DriveLetter C`, read `Size` and `SizeRemaining`, and report them in GB. Read only. Change nothing. Stay in Plan mode. Do not write any files.
What does this prompt do?
- The Get-Volume -DriveLetter C command reads information about the Windows C drive.
- The Size field provides the drive's total capacity.
- The SizeRemaining field provides the available space.
- The safety instructions keep Claude in Plan mode without creating files.
You'll see a line such as Disk: 494 GB, free: 18 GB. Claude does not create a file.
Measurement looks wrong?
- Check that the macOS response cites Container Total Space and Container Free Space.
- Check that the Windows response cites Size and SizeRemaining.
- Resend the original prompt from your platform tab if Claude used a different measurement source.
If the result still looks wrong, help me diagnose my read-only disk measurement.
Compare with Storage view
Storage view gives you an operating system figure to compare with Claude's result. A small difference can come from display rounding or refresh timing.
macOS
- Record the available-space number shown in Storage view here: your Storage view free-space number.
- Press Cmd + Space to open macOS search.
- Type System Settings.
- Press Enter.
- Select General.
- Select Storage.
- Compare Storage view with Claude's disk measurement by sending this prompt in the disk-report session:
The Storage view shows [[STORAGE_FREE_SPACE="your Storage view free-space number"]] GB available. Compare it with your disk measurement. Explain any small difference without running another scan or changing anything.
What does this prompt do?
- The prompt gives Claude the free-space figure displayed by macOS.
- Claude compares that figure with the earlier container measurement.
- Claude explains a small difference without running another scan.
You'll see whether the two free-space figures are close. Claude also explains any small display or refresh difference.
Windows
- Record the free-space number shown for the C drive in Storage view here: your Storage view free-space number.
- Click Start.
- Select Settings.
- Select System.
- Select Storage.
- Compare Storage view with Claude's disk measurement by sending this prompt in the disk-report session:
The Storage view shows [[STORAGE_FREE_SPACE="your Storage view free-space number"]] GB free on C. Compare it with your disk measurement. Explain any small difference without running another scan or changing anything.
What does this prompt do?
- The prompt gives Claude the free-space figure displayed by Windows.
- Claude compares that figure with the earlier C drive measurement.
- Claude explains a small difference without running another scan.
You'll see whether the two free-space figures are close. Claude also explains any small display or refresh difference.
Preserve the baseline in chat
The final baseline needs one consistent format so you can reuse it when building the report. Keeping it in chat preserves Plan mode's read-only boundary.
Before you ask, do you expect the baseline to remain in chat without creating a report file?
- Format the baseline for the report-building step by sending this prompt in the disk-report session:
Restate the baseline on one line in this exact format: `Before cleanup: total [number] GB, free [number] GB`. Keep it in this chat for the report-building step. Do not write a file yet.
What does this prompt do?
- The fixed format makes the total capacity and free space easy to find later.
- The instruction keeps the baseline inside the current chat.
- The read-only limit leaves disk-report without report files.
You'll see a line beginning with Before cleanup: in chat. The disk-report folder still contains no report files.
You've locked in a baseline that can prove whether cleanup gives space back. Next, you'll map the largest folders inside your home folder.
Map the Biggest Home Folders
Your baseline now shows how serious the storage problem is. The next question is where that used space is concentrated.
A read-only scan in Claude Code reveals which personal folders are responsible for your used space.
You will keep Plan mode active throughout the investigation. The scan stays inside your home folder and skips paths it cannot access.
In this step, get ready to:
- Map the 25 largest accessible folders inside your home folder.
- Classify the five largest folders with the required safety labels.
- Compare the ranked total with the baseline used space.
Scan three levels inside your home folder
A three-level scan gives you enough detail to identify large personal folders without expanding into the rest of the computer. Protected home-folder paths stay outside the ranking when the operating system blocks access.
macOS
- Ask Claude Code to map your macOS home folder by sending this prompt:
Map my home folder three levels deep. Use `du` for folder sizing. List the 25 biggest folders with each size in GB and explain in plain words what each folder is. Read only. Stay inside my home folder. Never scan or list `/System`, `/Library`, `/Applications`, external drives, or another user's folder. Do not use `sudo`, request administrator privileges, request Full Disk Access, or write files. Skip protected folders and report each skipped home-folder path without exposing its contents.
What does this prompt do?
- The prompt limits folder sizing to three levels inside your home folder.
- The exclusions keep system locations and other storage devices outside the scan.
- The final instruction records skipped paths without exposing their contents.
You'll see a ranked list such as ~/Library/Caches 12.4 GB, with a plain-language explanation for each entry. Any protected home-folder paths appear separately as skipped.
Windows
- Ask Claude Code to map your Windows home folder by sending this prompt:
Map my home folder three levels deep. Use `Get-ChildItem -Recurse -File` and `Measure-Object -Property Length -Sum` to size folders. List the 25 biggest folders with each size in GB and explain in plain words what each folder is. Read only. Stay inside my home folder. Never scan or list `C:\Windows`, `C:\Program Files`, external drives, or another user's folder. Do not request administrator privileges or write files. Skip access-denied folders and report each skipped home-folder path without exposing its contents.
What does this prompt do?
- The prompt measures files three levels deep inside your Windows home folder.
- The exclusions keep system locations and other storage devices outside the scan.
- The final instruction records access-denied paths without exposing their contents.
You'll see a ranked list such as C:\Users\you\AppData\Local\Temp 6.1 GB, with a plain-language explanation for each entry. Any access-denied home-folder paths appear separately as skipped.
Seeing protected-folder errors?
On macOS, keep any home-folder path that reports Operation not permitted in the skipped list. Leave Full Disk Access disabled.
On Windows, keep any path that reports Access denied in the skipped list. Continue with the accessible results.
If the scan leaves your home folder or stops completely, help me restore the home-folder boundary.
Classify the largest findings safely
Folder size alone cannot tell you whether removal is sensible. A safety classification adds the consequence of removing each folder before any cleanup decision is made.
- Ask Claude Code to classify the five largest folders by sending this prompt:
Take the five largest folders from your list. For each one, explain what could stop working if it disappeared, then classify it as `safe to remove`, `needs review`, or `keep`. Treat Photos Library, Documents, Desktop, and iCloud folders as `keep` or `needs review`, never `safe to remove`. Treat Downloads as `needs review`. Keep every path inside my home folder.
What does this prompt do?
- The consequence explains what each folder supports before it receives a category.
- The three categories separate likely cleanup candidates from folders that need judgment or should stay.
- The named personal folders receive cautious classifications even when they are large.
Claude lists each of the five largest folders with its size and consequence. Every folder receives exactly one of the safe to remove, needs review, or keep categories.
Compare the map with the used-space figure
The ranked folders cover accessible personal storage within the scan depth. Used space can also include excluded locations or protected home-folder paths that the scan deliberately skipped.
Before you send this prompt, do you expect the 25 ranked folders to equal all the used space from your baseline?
- Ask Claude Code to total the ranking and compare it with your baseline by sending this prompt:
Add the sizes of the 25 ranked folders. Compare that total with the used-space figure from the baseline. Explain the gap using only areas intentionally outside this home-folder scan or protected paths that were skipped. Do not scan those areas. Confirm that Plan mode has not written any files.
What does this prompt do?
- The total shows how much storage the ranked entries account for.
- The comparison explains the remaining gap without expanding the scan boundary.
- The final check confirms that Plan mode preserved the read-only workflow.
Claude reports the total size of the 25 ranked folders. It explains the difference using only excluded areas or skipped protected paths.
Claude also confirms that Plan mode has written no files inside disk-report. Your home-folder mystery now has a ranked answer you can review.
Why are the findings still in chat?
Plan mode blocks the file edits needed to save your analysis. The ranking is useful, but disk-report still contains no report files.
Your read-only map is complete. Next, you will turn the findings in chat into files you can inspect.
Build the Visual Report
The ranked home-folder map from the last step shows where your personal storage is concentrated. It still exists only inside the disk-report session.
Plan mode keeps the useful analysis trapped in chat, while Manual mode lets Claude Code turn those findings into files you can inspect inside disk-report.
In this step, get ready to:
- Switch the disk-report session from Plan mode to Manual mode.
- Create disk-notes.md and scan.json from the findings in chat.
- Build and open a self-contained report.html treemap.
Switch to Manual mode
Manual mode allows file changes after you review them. This keeps each proposed edit visible before it reaches your disk-report folder.
- In the disk-report session, press Shift+Tab until the status bar shows ⏸ manual mode on.
You should see ⏸ manual mode on in the status bar. The session is now ready to ask before actions that edit files or run commands.
Save the notes and scan data
The report needs two source files. disk-notes.md preserves your baseline, while scan.json turns the ranked findings into structured JSON data.
- Ask Claude Code to create disk-notes.md and scan.json by pasting this prompt into the disk-report session:
Write only two files inside the current `disk-report` folder. Create `disk-notes.md` with the before-cleanup disk total and free space from this chat. Create `scan.json` with the 25 ranked home-folder entries, each entry containing its full path, size in GB, category, and one-sentence reason. Use only data already gathered. Categories must be exactly `safe to remove`, `needs review`, or `keep`. Treat Photos Library, Documents, Desktop, and iCloud folders as `keep` or `needs review`, and Downloads as `needs review`. Do not scan again. Do not delete, move, or modify any existing item outside `disk-report`.
What does this prompt do?
- The prompt reuses the baseline and folder ranking already visible in the current chat.
- The category rules keep personal folders such as Documents and Downloads out of the safest cleanup category.
- The final boundary prevents Claude Code from changing anything outside disk-report.
- Approve each proposed file edit only when its target path is disk-report/disk-notes.md or disk-report/scan.json.
- Read the target path shown in each Manual mode request.
- Choose the displayed approval option only when the target matches one of the two requested files.
That Plan mode limitation is gone. You should see disk-notes.md and scan.json appear inside disk-report without another disk scan.
Files not appearing?
Check that the status bar still shows ⏸ manual mode on. A rejected or unanswered request leaves the proposed file unchanged.
Confirm that both approved paths end inside disk-report. If the files still do not appear, help me review the Manual mode file requests.
Build and open the treemap
A self-contained HTML report embeds its data directly into one local file. Your browser can display the treemap without a server, an external library, or a network request.
- Ask Claude Code to build and open report.html by pasting this prompt into the disk-report session:
Build `report.html` inside `disk-report`. It must be one self-contained HTML file with no install, no external library, and no network request. Read `scan.json` now and embed a copy of its data into the HTML so the report works when opened directly from the local file system. Make the treemap prominent. Size each box by GB. Use green for `safe to remove`, amber for `needs review`, and grey for `keep`. Add a legend, readable labels, and the total GB for each category at the top. Then open `report.html` in my existing browser. Do not change anything outside `disk-report`.
What does this prompt do?
- Embedding the scan data lets report.html work when opened directly from your computer.
- Sizing each box by GB makes larger folders occupy more of the treemap.
- The three colors preserve the cleanup categories from scan.json.
- Approve each proposed file action only when every target path stays inside disk-report.
- Read every file path shown in the Manual mode request.
- Choose the displayed approval option only when the request reads scan.json or creates report.html inside disk-report.
You should see report.html appear beside disk-notes.md and scan.json.
Before you approve the browser action, which folder do you expect to fill the largest box?
- Approve the Manual mode request to open report.html in your existing browser.
- Read the local file path shown in the browser-opening request.
- Choose the displayed approval option only when the path ends with disk-report/report.html.
You should see report.html open in your existing browser. The page should show a prominent treemap with boxes sized by GB.
- Compare the largest treemap box with the largest folder from your Step 3 ranking.
- Confirm that the page shows category totals, a legend, readable labels, green safe to remove boxes, amber needs review boxes, and grey keep boxes.
The largest box should match the largest folder from your ranking. This confirms that the treemap uses the measured GB values.
The top of the page should show a total for each category. You have turned the terminal ranking into a visual report you can inspect before making any cleanup decision.
Seeing an empty report?
- Ask Claude Code to repair the local report by pasting this prompt into the disk-report session:
Check report.html for local-file loading problems. Keep it as one file, embed the scan data directly, and reopen it. Do not install a library or use the network.
This keeps the fix inside one local file. It also prevents the report from depending on a server or downloaded library.
You should see the populated treemap when the repaired file reopens. If the page stays empty, help me diagnose the empty local report.
Your visual report is ready. Next, you will turn its cleanup candidates into a reviewed decision list before anything moves.
Make the Cleanup List
You've done the visual part: your treemap now makes the largest home folders easy to spot. The next goal is to turn its green and amber boxes into a decision record.
A safe cleanup records each candidate's consequence alongside your explicit decision before anything moves.
In this step, get ready to:
- Create cleanup-list.md from the cleanup candidates.
- Record a yes or no decision for each candidate.
- Audit the completed cleanup list.
Create the candidate list
The cleanup list is your consent boundary. It turns each green or amber box into a reviewable record before you make any decision.
- Create cleanup-list.md in the disk-report session by pasting this prompt into Claude Code:
- Approve only the request to create cleanup-list.md if Manual mode asks.
Create `cleanup-list.md` inside `disk-report`. Include every `safe to remove` and `needs review` entry from `scan.json`, biggest first. For each item include its full path, size in GB, category, why it is listed, what happens if it is removed, and a blank `Decision: yes or no` field. Never include a system folder, an app, anything outside my home folder, or anything from `/System`, `/Library`, `/Applications`, `C:\Windows`, or `C:\Program Files`. Do not delete or move anything.
What does this prompt do?
- It keeps scan.json as the source for every candidate.
- It filters the report to entries marked safe to remove or needs review.
- It records the consequence of removing each item before asking for your decision.
- It excludes system locations plus anything outside your home folder.
Your decision record now exists. cleanup-list.md lists every permitted candidate from largest to smallest with a blank decision field.
Missing a candidate?
- Rerun the candidate-list prompt above if cleanup-list.md is missing an expected entry from scan.json.
- Stop if the rebuilt file includes a system folder or a path outside your home folder.
If the lists still disagree, help me compare cleanup-list.md with scan.json.
Decide one candidate at a time
A candidate becomes approved only when you answer yes. Uncertainty always becomes no, which keeps the item out of the next step.
- Begin the one-at-a-time review by pasting this prompt into the disk-report session:
- Approve only updates to cleanup-list.md if Manual mode asks during the review.
Walk through `cleanup-list.md` one candidate at a time. For the current item only, quote its full path, size, category, reason, and consequence, then ask me to answer `yes` or `no`. When I answer, record only that decision in `cleanup-list.md` and move to the next item. If I am unsure, record `no`. Do not delete, move, open, or reveal any item.
What does this prompt do?
The prompt limits each review to one candidate. This keeps the path, size, reason, consequence, and decision together.
The final sentence keeps the review inside cleanup-list.md. Your files remain untouched.
Claude shows the first candidate's details and waits for your decision.
- Answer yes only when you approve the current candidate for manual removal later.
- Answer no whenever you want to keep the current candidate.
- Enter no whenever you are unsure.
- Continue until Claude confirms that every candidate has a recorded decision.
You have made the key safety decisions yourself. cleanup-list.md now shows Decision: yes or Decision: no for every candidate.
Audit the cleanup list
The audit checks that every candidate stayed within the original home-folder boundary. It also calculates the total size of the items you approved.
Before you run the audit, do you expect every candidate to pass the scope check?
- Audit the scope, decisions, and approved size by pasting this prompt into the disk-report session:
Audit `cleanup-list.md`. Confirm that every candidate is inside my home folder, every line has `yes` or `no`, and nothing comes from `/System`, `/Library`, `/Applications`, `C:\Windows`, or `C:\Program Files`. Add the sizes of the `yes` items and report the approved total in GB. Do not delete or move anything.
What does this prompt do?
- The scope check catches any path that crossed the home-folder boundary.
- The decision check catches any candidate that still has a blank field.
- The size calculation shows how much space the approved items represent before anything moves.
Claude confirms that every candidate is inside your home folder. It also reports the combined GB size of the yes items.
- Add the audited total to cleanup-list.md by pasting this follow-up prompt:
- Approve only the request to update the approved total in cleanup-list.md if Manual mode asks.
Add the approved total you just calculated to `cleanup-list.md`. Change nothing else. Do not delete or move anything.
What does this prompt do?
This saves the audited GB total beside the decisions that produced it. The prompt protects every existing candidate and decision from unrelated changes.
Your cleanup plan is now audited. cleanup-list.md contains complete decisions plus the approved total without changing any file outside disk-report.
Your approved list is ready. Next, you'll move only those confirmed items by hand before measuring the space you recovered.
Remove Confirmed Items and Measure the Win
Your audited cleanup-list.md now separates approved items from everything you chose to keep. The storage problem has become a set of decisions you can act on safely.
This step keeps every removal in your hands. Claude Code in Manual mode only supplies paths, updates the checklist, and measures the result.
In this step, get ready to:
- Request the next approved path.
- Move each approved item manually to the platform bin.
- Measure the free-space change after manually emptying the bin.
Identify the next approved item
Each manual move begins with one exact path from cleanup-list.md. Limiting Claude to one item keeps the approval trail connected to the item you handle.
- Get the next approved item's location by sending this prompt in the disk-report session:
Take the first `yes` item in `cleanup-list.md` that is not marked done. Tell me only its full path, its parent folder path, its size, why I approved it, and what happens if it is removed. Wait for me to move it myself. Do not open, reveal, move, delete, or run any deletion command.
What does this prompt do?
- The request uses cleanup-list.md as the source for the next item.
- Claude returns the full path plus the parent folder path needed for manual navigation.
- The final instruction prevents Claude from opening or moving the item.
Claude prints one approved item's full path and parent folder path. It then waits for you.
- Record the full path Claude prints here: full path Claude printed.
- Record the parent folder path Claude prints here: parent folder path Claude printed.
Move each approved item yourself
Manual movement preserves the consent recorded in cleanup-list.md. Claude updates the record only after you report that the matching item is in the platform bin.
This is the careful part. Each item goes to a recoverable bin before anything is permanently cleared.
macOS
- Move full path Claude printed manually to the Trash with Finder.
- Quit the related app first if the item belongs to one that is running.
- Switch to Finder.
- Choose Go from the menu bar.
- Choose Go to Folder.
- Paste parent folder path Claude printed into the pathname field.
- Press Return.
- Select the item named by Claude.
- Press Command-Delete to move it to the Trash.
The approved item is now in the Trash. Claude has not moved or deleted it.
- Update only the matching checklist entry by sending this prompt in the disk-report session:
I moved the item at [[FULL_PATH="full path Claude printed"]] to the Trash by hand. Mark only this item done in `cleanup-list.md`, then wait for my next instruction. Do not move or delete anything yourself.
What does this prompt do?
- The full path identifies the exact entry you moved.
- Claude changes only that entry in cleanup-list.md.
- The final instruction keeps all file movement outside Claude's control.
The matching yes entry is marked done. Every other decision remains unchanged.
Windows
- Move full path Claude printed manually to the Recycle Bin with File Explorer.
- Quit the related app first if the item belongs to one that is running.
- Press Windows+E to open File Explorer.
- Press Ctrl+L to focus the address bar.
- Paste parent folder path Claude printed into the address bar.
- Press Enter.
- Select the item named by Claude.
- Press Delete to move it to the Recycle Bin.
The approved item is now in the Recycle Bin. Claude has not moved or deleted it.
- Update only the matching checklist entry by sending this prompt in the disk-report session:
I moved the item at [[FULL_PATH="full path Claude printed"]] to the Recycle Bin by hand. Mark only this item done in `cleanup-list.md`, then wait for my next instruction. Do not move or delete anything yourself.
What does this prompt do?
- The full path identifies the exact entry you moved.
- Claude changes only that entry in cleanup-list.md.
- The final instruction keeps all file movement outside Claude's control.
The matching yes entry is marked done. Every other decision remains unchanged.
- Repeat this cycle for every remaining yes item.
Claude eventually reports that no approved item remains unmarked. Every no item stays untouched.
Measure reclaimed space
Files in the Trash or Recycle Bin still occupy storage. The operating system can report the reclaimed space after you permanently clear that bin.
Emptying the bin permanently removes its contents. Your no items remain untouched because they never entered it.
macOS
- Permanently empty the Trash.
- Press Shift-Command-Delete.
- Confirm that you want to empty the Trash.
The Trash is now empty.
Before Claude measures again, do you expect the free-space figure to increase by the full approved total?
- Measure the new free space and update the project records by sending this prompt in the disk-report session:
I emptied the Trash myself. Run `diskutil info /`, read `Container Total Space` and `Container Free Space`, and add one line to `disk-notes.md` using my actual values in the same shape as `Free space: 18 GB -> 41 GB`. Also confirm that every `yes` item in `cleanup-list.md` is marked done. Do not delete or move anything.
What does this prompt do?
- The diskutil info / measurement reads the main disk again.
- Container Free Space supplies the after-cleanup figure.
- The new line in disk-notes.md preserves the before-and-after comparison.
- The final check confirms that every approved entry is marked done.
You should see a line shaped like Free space: 18 GB -> 41 GB with your actual values. Claude also confirms that every yes item is marked done.
Windows
- Permanently empty the Recycle Bin.
- Open the Recycle Bin.
- Use the control that permanently clears all items.
- Confirm the action.
The Recycle Bin is now empty.
Before Claude measures again, do you expect the free-space figure to increase by the full approved total?
- Measure the new free space and update the project records by sending this prompt in the disk-report session:
I emptied the Recycle Bin myself. Run `Get-Volume -DriveLetter C`, read `SizeRemaining`, and add one line to `disk-notes.md` using my actual values in the same shape as `Free space: 18 GB -> 41 GB`. Also confirm that every `yes` item in `cleanup-list.md` is marked done. Do not delete or move anything.
What does this prompt do?
- The Get-Volume -DriveLetter C measurement reads the main Windows volume again.
- SizeRemaining supplies the after-cleanup figure.
- The new line in disk-notes.md preserves the before-and-after comparison.
- The final check confirms that every approved entry is marked done.
You should see a line shaped like Free space: 18 GB -> 41 GB with your actual values. Claude also confirms that every yes item is marked done.
Free space did not change?
- Confirm that the Trash or Recycle Bin is empty.
- Allow the Storage view time to refresh.
On macOS, Time Machine local snapshot space already counts as available. macOS removes those snapshots as they age or as space is needed.
Ask for help by selecting help me understand why free space did not change after I emptied the bin.
Your original scan.json and report.html remain available in disk-report. You now have a measured result tied to a completed approval record.
Your measured cleanup is complete. Next, an optional Secret Mission can push your analysis further.
Secret mission
Compare Your Map with Mole
Your visual report came from a careful home-folder scan. Compare its largest findings with Mole while keeping the same boundary and leaving every file untouched.
Clean Up Your Resources
Clean Up Your Resources
Your local files and running Claude Code session create no ongoing project resource charge. Your existing Claude plan is billed separately from these project files.
Resources you used:
- The running disk-report session inside disk-report with Manual mode on.
- The local disk-report folder containing disk-notes.md, scan.json, report.html, and cleanup-list.md.
Keep everything running
No action is needed. Choose this if you want to review the report again or repeat the process later.
- Keep disk-report session open in Manual mode if you are still reviewing your results.
- Keep disk-report in its current location with all four project files.
- Leave Claude Code installed for future projects.
- Leave Mole 1.75.0 installed if you completed the Secret Mission.
Pause - I'll come back to this later
Close the running session to free local memory. Your report files remain available without creating a background resource charge.
- Close the terminal window containing disk-report session.
- Keep the disk-report folder in its current location.
- Reopen report.html in your browser whenever you want to revisit the treemap.
- Start a new Claude Code session inside disk-report when you are ready to continue.
Delete - I don't want to use this again
This option permanently removes your local project folder after you empty the bin. Your installed tools remain available for other work.
Deleting the folder may feel final. Review the bin before emptying it so every removal stays under your control.
macOS
- Close the Terminal window containing disk-report session.
- Locate disk-report in Finder.
- Select the disk-report folder.
- Press Command-Delete to move the folder to the Trash.
- Review the Trash to confirm that it contains nothing you want to keep.
- Press Shift-Command-Delete to empty the Trash manually.
- Confirm that disk-report no longer appears in its original location or the Trash.
Windows
- Close the PowerShell or Terminal window containing disk-report session.
- Press Windows key+E to open File Explorer.
- Locate the disk-report folder.
- Select the disk-report folder.
- Press Delete to move the folder to the Recycle Bin.
- Review the Recycle Bin to confirm that it contains nothing you want to keep.
- Open the Recycle Bin and use its control for permanently clearing all items.
- Confirm that disk-report no longer appears in its original location or the Recycle Bin.
Nice Work!
Nice Work!
You did it! You turned a full-computer warning into a visual disk report with Claude Code.
You've learned how to:
- Measure a read-only disk baseline for your main disk. Check that figure against the Storage view before any cleanup.
- Build a home-folder map of the 25 largest accessible entries without elevated access. Save the ranked findings in scan.json. Turn those findings into a self-contained treemap in report.html.
- Build an audited cleanup list in cleanup-list.md with one explicit decision per candidate. Move only approved items by hand. Record the reclaimed space in disk-notes.md.
- Complete the optional Secret Mission by comparing cleanup-list.md with a home-scoped Mole analysis. Exit Mole without selecting or moving anything.
Ready to quiz yourself?