Skip to content

Reclaim

Reclaim answers “why is my disk full?” for developers. It measures what development left behind (agent transcripts, package caches, Xcode data, Android tooling, toolchains, test browsers, editor caches, local models, project build output), tells you how safe each item is to remove, and moves what you choose to the system Trash. It never hard-deletes anything you or a tool made, and every move is a dry run first and can be undone from the Trash. Two exceptions, both described below: emptying the old archive (see the old archive), and two commands that a tool’s own program runs for you after a preview (see Clean up elsewhere). The safety page has the full list of rules.

Sizes are allocated bytes: what the files take on disk, not what they would add up to. On APFS (macOS), cloned files share space, so a size can be “about” what you free. Where the two differ by more than 5 percent, a separate Frees figure says how much moving the item gives back.

Each target (one kind of thing, such as the npm cache or Xcode DerivedData) gets one of three classes:

Class Meaning
Safe to remove Re-created on demand, holds nothing you made. Quick clean and auto clean take only these.
Review first Costly or impossible to get back (an archive, a virtual device, a toolchain, a model). Moved only when you pick the item.
Clean up elsewhere Its owner keeps track of it (a registered simulator, an SDK package, a VM disk). Shown with what owns it and never moved.

Open ReclaimOverview (⌘2 on macOS, Ctrl+2 on Windows and Linux). The page shows:

  • A disk bar for the disk, split into Safe to remove, Review first, Clean up elsewhere, everything else, and free space.
  • Four figures: Free now, Safe to clean, Worth reviewing, and In the Trash.
  • Start here: the one target that gives the most back with the least risk, with the reason, a Show button, and a Move to the Trash button.
  • Growth and Map (see Growth history and the map).
  • Everything: every target with its class and size, ordered By group or By size.

The left list repeats the groups and targets. The popover has a Disk tab with free space, the safe total, the biggest targets, and Open Reclaim.

Reclaim, Overview: disk bar with its legend, the four figures, the Start here card, and the Everything list by groupReclaim, Overview: disk bar with its legend, the four figures, the Start here card, and the Everything list by group
Reclaim, Overview.

Open a target to see what it is, what happens when it goes, and its items largest first with their age.

In Reclaim, click a target in the left list or in Everything. The page shows the class, size, an explanation, When it goes (what you lose and how it comes back), and the Items list. A line in amber says when the target is busy right now. Items Yardmaster keeps (such as the default toolchain) say why.

Reclaim, a target page (npm cache): class, size, About and When it goes text, and the Items list with checkboxesReclaim, a target page (npm cache): class, size, About and When it goes text, and the Items list with checkboxes
Reclaim, a target page.

Quick clean moves every Safe item that is not in use. It shows a dry run first (what moves, how big, what stays and why), then moves to the Trash only when you confirm.

On ReclaimOverview click Quick clean (the button shows the total, for example “Quick clean · 7.0 GB”). Read the list, open “N stay where they are” to see what was left out, then click Move 7.0 GB to the Trash. Cancel closes the sheet and moves nothing. The same button is in the popover Disk tab, and Start here has its own Move to the Trash for one target.

Reclaim, Overview with the Quick clean sheet open: the dry-run list, the 'stay where they are' fold, and the Move to the Trash buttonReclaim, Overview with the Quick clean sheet open: the dry-run list, the 'stay where they are' fold, and the Move to the Trash button
Quick clean, dry run.

Review items are never taken by Quick clean. You pick them one by one on the target page.

Open the target. Tick items, or click Select all safe (Select all on a target with no Safe items) and Select none. Click Move N items to the Trash, check the dry run, then confirm.

Reclaim, a Review first target (Android virtual devices) with two items ticked and the Move 2 items to the Trash bar at the bottomReclaim, a Review first target (Android virtual devices) with two items ticked and the Move 2 items to the Trash bar at the bottom
Cleaning a chosen set.

Before anything moves, and again right before each move, Yardmaster re-checks the item. It stays where it is when:

  • the owner app is running (Xcode, Android Studio, an editor);
  • a process is working inside it;
  • it was written in the last 10 minutes (for an item you picked by hand, the app offers Move anyway…: it warns how long ago it was written and asks once more; Quick clean, auto clean, and the CLI never move it);
  • it is a link, sits on another volume, or is something Yardmaster keeps on purpose (such as the default toolchain);
  • it is project build output that no marker file names, or that git does not ignore (see Clean project build output);
  • its owner cleans it up (Clean up elsewhere), or it is already gone.

The dry run lists these under “N stay where they are” (app) or “Left in place” (CLI), with the reason for each. Close the app, wait, and plan again.

Some data is tracked by the tool that owns it: simulator devices and runtimes, Android system images, the pnpm store, Ollama, LM Studio, Hugging Face and Docker, OrbStack, Colima and Podman disks. Deleting the files would leave the owner confused or damage a registered disk. Yardmaster shows the size and what owns it, and never moves it.

Two of these targets have a command that is safe to run, and the app can run it for you after a preview:

Target Command What it removes
Simulator devices (macOS) xcrun simctl delete unavailable Only the simulators listed in the preview: those whose runtime is no longer installed, with their apps and data.
pnpm content store pnpm store prune Packages no project links to. pnpm does not list them in advance, so the preview shows the store and its size.

The target page shows how to clean it, the owner’s command in a box with Copy, and “Managed by” the owning app. For the two targets above there is also a Run… button. It opens a preview with the exact command line (the resolved program), what it removes with sizes, and a note that none of it goes to the Trash. Cancel closes the preview and runs nothing. Only a second click on Run (or Delete with the total, when the preview lists simulators) runs the command. For every other target, run the command yourself.

Run is refused when the preview is more than 10 minutes old, when the program is not the one the preview used, when a simulator appeared that the preview did not show, or when pnpm is running. Yardmaster runs the program itself, with no shell, and ends it after 5 minutes. It never runs one in the background.

Reclaim, a Clean up elsewhere target (Docker virtual disk) with the owner's own instructions and no checkboxesReclaim, a Clean up elsewhere target (Docker virtual disk) with the owner's own instructions and no checkboxes
A Clean up elsewhere target.
Reclaim, Simulator devices target page: the command box with Copy and Run… buttons, and the preview open with the exact command line, the list of unavailable simulators with sizes, the no-Trash note, and Cancel and Delete buttonsReclaim, Simulator devices target page: the command box with Copy and Run… buttons, and the preview open with the exact command line, the list of unavailable simulators with sizes, the no-Trash note, and Cancel and Delete buttons
Run…, the preview before the second click.

Reclaim finds node_modules, target, .venv, Pods, build, .next, framework caches such as .angular, .nx, .astro, and .turbo, and similar folders (Swift .build, Elixir _build, Zig zig-out, Haskell .stack-work, .tox). It never offers dist or coverage, which can be what you ship. It does not crawl your home folder. It looks only in:

  • the folders your agents were started in (Claude Code, Codex, and the others), unless you turn that off, and
  • folders you add yourself.

A folder is offered only when a marker file next to it names it (Cargo.toml for target, package.json for node_modules and .next, Podfile for Pods, and so on) and, inside a git repository, git ignores it. A folder git tracks, or one in a repository git cannot read, is never offered. Projects are looked for up to four folders below a root.

Projects split by their last activity. Idle projects (untouched for 30 days) are Safe to remove. Recent projects are Review first. What moves is what the next npm install or cargo build brings back.

Open Reclaim and find Project build output in the left list. It has two targets, Idle projects and Recent projects. Each item is named by its path from the root, such as code/storefront/node_modules. Tick items and move them to the Trash as in Clean a chosen set. Choose the folders in Choose where Reclaim looks.

Reclaim, Idle projects target page (Project build output group): About and When it goes text, and the Items list with paths like code/storefront/node_modules and their sizes and agesReclaim, Idle projects target page (Project build output group): About and When it goes text, and the Items list with paths like code/storefront/node_modules and their sizes and ages
Reclaim, Idle projects.

Off by default. When on, Reclaim lists disk images, installers, and archives in your Downloads folder that have not changed for 30 days. The endings it counts are .dmg, .pkg, .zip, .iso, .exe, .msi, .appimage, .deb, .rpm, .tar.gz, .tgz, .7z, .rar, and .xip. Only regular files directly in Downloads count: no folders, no links, no hidden files. The target is Review first, so Quick clean and auto clean never take it, and an archive may be the only copy of something. On macOS the first scan asks for access to Downloads.

Turn it on in SettingsGeneralReclaim with Old installers in Downloads. A Downloads group then appears in Reclaim with Old installers and archives. Tick the files you want and move them to the Trash.

Reclaim, Old installers and archives target page (Downloads group): the Items list of disk images and archives with sizes and ages, one ticked, and the Move 1 item to the Trash barReclaim, Old installers and archives target page (Downloads group): the Items list of disk images and archives with sizes and ages, one ticked, and the Move 1 item to the Trash bar
Reclaim, Downloads.

Agent data is its own group, with its own page. Yardmaster plans moves for old sessions, leftovers (debug logs, shell snapshots, MCP logs, temporary files), and git worktrees agents created.

What it will not touch:

  • A live session: one with a running process or a write in the last 10 minutes.
  • Memory, config, credentials, and OAuth files. A path whitelist allows one root and one path shape per kind of item, nothing else.
  • A worktree, unless git reports nothing uncommitted and a branch or tag holds its HEAD.

Open ReclaimAI agent data. In Clean up, choose What (Sessions, Leftovers, Worktrees, All), Not used for (1 w, 30 d, 90 d, 6 mo, 1 y), and Agent (All agents or one). The charts By agent and Largest projects show where the space is; click a bar to limit the clean to it. Click Reclaim sessions (or leftovers, worktrees, all) to see exactly what moves, then confirm.

Reclaim, AI agent data: the Clean up controls (What, Not used for, Agent), the By agent bars, and the preview of what would moveReclaim, AI agent data: the Clean up controls (What, Not used for, Agent), the By agent bars, and the preview of what would move
Reclaim, AI agent data.

Every move is recorded in a journal so Yardmaster can put it back. Restore never overwrites: if something exists at the original place, that item is skipped and stays in the Trash. Restore works while the item is still in the Trash. After you empty the Trash, it shows as emptied.

Open ReclaimMoved to the Trash, or click Show next to In the Trash on the overview. Each batch (one clean) lists its items with their state. Click Put back on a batch or on one item.

Reclaim, Moved to the Trash: two batches, each with items, their state, and Put back buttonsReclaim, Moved to the Trash: two batches, each with items, their state, and Put back buttons
Reclaim, Moved to the Trash.

Before the Trash, agent data cleaned by Yardmaster went into its own archive. Those batches are still listed and can be restored. Deleting archived batches for good (Archive::purge) is the only hard delete in Yardmaster, and it works only inside the archive. The archive section appears only when it holds something. It also counts chats that Codex and OpenCode archived themselves; Yardmaster only counts those and never moves or deletes them.

In ReclaimAI agent data, the Archive section lists each batch with Restore and a delete button, and Empty archive deletes all of them. Deleting asks for a second click to confirm.

Each scan adds a daily point per target to a local history file. It shows how fast your dev data grows and what grew fastest.

On ReclaimOverview find Growth: a bar chart stacked by class, with a span of 30 d, 90 d, or 1 y, and Growing fastest below it. Map is a treemap of every target by size, colored by class. Click a block or a row to open the target. The Measure again button (the refresh icon at the top) rescans.

Reclaim, Overview: the Growth chart with the 30 d span selected and the Growing fastest list, then the Map treemapReclaim, Overview: the Growth chart with the 30 d span selected and the Growing fastest list, then the Map treemap
Growth and Map.

Auto clean is off by default. When on, it moves Safe items from the targets you tick to the Trash, using the same refusals as a click, and only while the app is running.

  • Off: never.
  • Weekly: once a week.
  • When space is low: when free space falls under the threshold (default 15 GB, 1 to 1000), at most once a day.

The notification carries a size and a count, never a path: “Auto clean moved 4.2 GB to the Trash” and “12 items from safe caches”. The low-space notice is separate: one notification when free space falls under the threshold, with the safe total Reclaim can give back. It fires again only after free space goes back above the threshold.

Open SettingsGeneralReclaim. Pick Auto clean (Off, Weekly, When space is low), set Low space below, switch Notify when space is low, and tick the targets auto clean may use. Turning auto clean on for the first time ticks the safe targets it finds; untick any you want left alone.

Settings, General, Reclaim section: Auto clean control, Low space below stepper, Notify when space is low switch, and the list of Safe targets with checkboxesSettings, General, Reclaim section: Auto clean control, Low space below stepper, Notify when space is low switch, and the list of Safe targets with checkboxes
Settings, Reclaim.

About 60 targets, in these groups. The class can differ by item inside a target, and a target is shown only when it exists on your machine.

Group Targets Class
AI agent data Sessions, leftovers, worktrees of each agent (see Clean agent data) Safe or Review, per item
Xcode and simulators DerivedData, device support, Xcode caches, SwiftUI previews, test devices, simulator caches Safe
Xcode archives Review first
Simulator devices (can run xcrun simctl delete unavailable), simulator runtimes Clean up elsewhere
Android and Gradle Android Studio caches, Gradle caches, Gradle distributions Safe
Android virtual devices Review first
Android system images Clean up elsewhere
Package caches npm, pnpm metadata, Yarn (v1 and v2+), Bun, Deno, pip, uv, Poetry, Conda, Cargo registry and git, Go module and build caches, CocoaPods, Carthage, Swift PM, pub, Homebrew downloads, Composer, Bundler, node-gyp, Electron Safe
Maven repository, Poetry virtual environments Review first
pnpm content store (can run pnpm store prune) Clean up elsewhere
Toolchains Rust toolchains, Node versions (nvm, fnm, Volta), Python versions (pyenv); the default one is always kept Review first
Test browsers Playwright, Puppeteer, Cypress binaries Safe
Editors and IDEs VS Code and Cursor caches, editor update downloads, JetBrains logs and caches Safe
Local AI models LM Studio models, Hugging Face hub Review first
Ollama models Clean up elsewhere
Containers and VMs Docker Desktop disk, OrbStack, Colima and Lima, Podman machine Clean up elsewhere
Project build output Idle projects (30 days untouched) Safe
Recent projects Review first
Downloads Old installers and archives (opt-in) Review first

The exact list for your version is in yardmaster reclaim --json. The groups Project build output and Downloads appear only when they have folders to look in, as set in Choose where Reclaim looks.

Three settings decide which folders Reclaim measures beyond the fixed catalog. The app and the CLI read the same ones, and changing them rescans.

Setting App CLI key Default
Folders agents worked in SettingsGeneralReclaimProject build outputFolders agents worked in reclaim_agent_folders On
Also look in SettingsGeneralReclaimProject build outputAlso look in none (the app edits the list, stored as reclaim_roots) Empty
Old installers in Downloads SettingsGeneralReclaimProject build outputOld installers in Downloads reclaim_downloads Off

Also look in takes a full path or one that starts with ~/, such as ~/code. The folder must exist and lie below your home folder: the home folder itself and folders above it are refused. Click Add (or press Return) to add it and Remove to drop it.

The auto clean settings, in the same Reclaim section, are covered in Auto clean and the low-space notice:

Setting App CLI key Default
Auto clean SettingsGeneralReclaimAuto clean auto_clean (off, weekly, low_space) Off
Low space below SettingsGeneralReclaimLow space below low_space_gb (1 to 1000) 15 GB
Notify when space is low SettingsGeneralReclaimNotify when space is low notify_low_space On
  • History: find old sessions before you clean them.
  • Hygiene: credentials left in transcripts, with a way to move a chat to the Trash.
  • Safety: the full rules for deletion and what Yardmaster never does.
  • CLI reference: every flag of reclaim, prune, trash, and archive.
  • App: the dashboard and popover.