Pick a reference
roomy scan, clean, plan files, JSON output, exit codes, quarantine on Linux, use from AI agents.
FleetPolicy file reference, unattended runs, systemd units, Prometheus metrics, the audit log, licensing.
HubCentral inventory and dashboard, host reports, managed policies, API, fleet-wide metrics, tokens.
Overview
Roomy runs a two-phase scan: it walks your chosen filesystem root for project artifacts, then checks fixed-path developer system caches (Xcode DerivedData, global npm/pip caches, Homebrew, Docker, AI coding tools, and more). Findings are grouped by project root or by system cache category.
- Phase 1 reports progress during project traversal with folders scanned, artifacts found, and recoverable bytes.
- Phase 2 runs when any system-cache category is enabled in Settings, regardless of scan root.
- Results include per-ecosystem byte totals, system cache totals, and project-level artifact lists.
- Project rows are sorted by staleness (months since modification), then by name. System cache groups are pinned at the top of the list.
The app and the CLI share the same scanner and the same rule catalog, so what the app finds on a Mac is what roomy scan finds on the same Mac.
Scan scope
Default scan locations for project artifacts are controlled by settings:
Home folder (~/)Custom pathEntire Mac(root path/)
System caches are scanned separately from your project path. When enabled in Settings → System caches, Roomy probes known developer cache locations on your Mac (for example ~/Library/Developer/Xcode/DerivedData or ~/.npm) even if your scan root is a single projects folder.
Detected artifact folders
The scanner matches directories by last path component using the built-in rule catalog. The walk never descends into a matched folder.
- Node/npm:
node_modules,.pnpm-store,.next,.nuxt,.svelte-kit,.turbo,.parcel-cache,dist - Python:
.venv,venv,__pycache__,.mypy_cache,.pytest_cache,.ruff_cache,.tox - Rust/Java/Swift/Go/Ruby rules include:
target,build,.gradle,vendor,Pods,.build - AI tools:
.aider.tags.cache.v3(Safe),.crush(Irreversible, holds session history), and the vector stores.chroma,chroma_db,.lancedb(Review, rebuilding means re-embedding)
Some folder names are reclassified by project markers. Example: target is treated as Rust when Cargo.toml exists nearby, and as Java when Gradle/Maven files are present.
System caches
Each category below can be toggled in Settings → System caches. Findings appear as pinned groups at the top of the project list.
- Xcode & iOS tooling — DerivedData build caches, iOS Device Support symbols, Xcode Archives, and iOS Simulator data (via
simctl). - Global package caches — npm, pip, yarn, pnpm, NuGet, Poetry, and uv download caches (paths resolved via CLI when available).
- Global CLI packages — globally installed npm and yarn
node_modulestrees. - Python / Conda — Conda unused packages and tarballs (
conda clean --dry-run), dormant conda environments, pyenv version directories, and pip packages in project venvs not listed inrequirements.txt. - Homebrew — download cache and log directories when Homebrew is installed.
- Docker — unused images, dangling volumes, and build cache (via
dockerCLI; skipped gracefully if Docker is not running). - AI coding tools — local model stores (Ollama, LM Studio, Hugging Face, llama.cpp, PyTorch Hub, Whisper), Electron caches and sandbox VM bundles for Claude, Cursor, Windsurf, Kiro and Trae, the npx cache used by MCP servers, Playwright and Puppeteer browsers, and agent session history (Claude Code per project, Codex, Gemini CLI, OpenCode, Goose, Cline and Roo checkpoints). Session history is marked Irreversible and excluded from bulk dormant selection.
- Agent host leftovers — OpenClaw build captures, crash dumps, Claude Code scratch directories, stale Cursor agent builds and an un-emptied Trash. Mostly relevant on servers; see the CLI reference.
The conda base environment is never offered for deletion. Xcode Archives and Docker volumes with data mounts use the highest safety tier.
Safety tiers
Every finding carries a tier. The same three words are used in the app, in the CLI and in fleet policies.
| Tier | Meaning | In the app | In the CLI | In a fleet policy |
|---|---|---|---|---|
| Safe | Fully regenerable: DerivedData, package download caches, node_modules, models that can be pulled again | Eligible for bulk dormant selection | Default for scan --plan | Default autoClean.tiers |
| Review | Regenerable at a cost, or mixed with user data: global CLI packages, dormant conda envs, Device Support, simulators | Shown with a badge, never pre-selected | --allow-caution | Opt in per policy |
| Irreversible | Cannot be recreated: Xcode Archives, Docker volumes with user data, agent session history | Extra confirmation, never bulk-selected | --allow-irreversible | Always in never.tiers by default |
When in doubt the catalog classifies up. A wrong Safe loses someone's data; a wrong Irreversible costs a click.
Supported ecosystems and frameworks
This list is based on scanner rules and settings keys currently present in code.
- Node.js / npm: detects
node_modules, plus framework/build caches for Next.js (.next), Nuxt (.nuxt), SvelteKit (.svelte-kit), Turborepo (.turbo), and Parcel (.parcel-cache). - Python: detects virtual env and cache folders including
.venv,venv,__pycache__,.mypy_cache,.pytest_cache,.ruff_cache, and.tox. - AI tools: detects aider's tag cache, Crush's per-project data folder, and Chroma and LanceDB vector stores inside projects, in addition to the system-level AI coding tools category.
- Rust: detects
targetand classifies it as Rust whenCargo.tomlis present in the project root. - Java / Kotlin: detects
.gradleand classifiestarget/buildas Java when Maven/Gradle markers are present. - Swift / Xcode: detects
Podsand SwiftPM.build. - Go / Ruby: detects
vendor, classified as Go whengo.modexists, otherwise Ruby. - .NET / NuGet: global NuGet package store and HTTP caches under system cache scanning.
- General: fallback category for supported artifact names that do not match ecosystem-specific markers.
If a language or framework is not listed above, it is not explicitly recognized by name in the current release. The catalog is JSON, so the CLI can load extra rules with --rules FILE; see the CLI reference.
Activity classification
Project activity uses the last git commit and filesystem modification time, with configurable thresholds.
Active: modified within the current monthRecent: 1 month or more, but below inactive thresholdInactive: at or above inactive thresholdDormant: at or above dormant threshold
Default thresholds in settings are: inactive after 6 months, dormant after 2 years. Dormant projects are pre-selected for bulk cleanup when their artifacts are in the Safe tier.
Exclusions and patterns
Exclusions support project paths, direct paths, and glob-like patterns.
- Path/project exclusions are normalized to absolute prefixes and applied recursively.
- Pattern exclusions are matched via
fnmatchsemantics. - Tilde paths such as
~/work/projectare expanded against the current user home directory.
** is simplified to * before matching, so deep recursive globs are not fully supported.Deletion behavior
Deletion is performed per path on a background thread with per-path failure reporting.
- Filesystem artifacts use Move-to-Trash (
FileManager.trashItem) or permanent delete (FileManager.removeItem) depending on settings. - Docker items are removed via
docker rmi,docker volume rm, ordocker builder prune— not sent to Trash. - Conda cleanup uses
conda cleanandconda env removesubprocesses — not sent to Trash. - Pip orphan cleanup runs
pipuninstall in the scoped virtual environment. - There is also an optional "empty trash" action implemented via Finder AppleScript (disabled when the selection is Docker-only).
Data persistence
Roomy persists settings, exclusions, and the last scan locally, and never uploads them. The only network request is the optional update check (Settings → About), which fetches getroomy.dev/appcast.xml.
- Settings are stored in
UserDefaultsunder a versioned key. - Exclusions are stored as encoded entries in
UserDefaults. - Last scan summary is persisted in
UserDefaults(v2 schema), with large aggregates written to Application Support undercom.azbouki.Roomy. Legacy v1 snapshots decode with defaults.
CLI, Fleet and Hub
Since 1.3.0 the engine also ships as roomy, a single binary for macOS and Linux, built to be called by agents as much as by people. On top of it, Roomy Fleet runs cleanups unattended by policy, and Roomy Hub gives many hosts one dashboard.
Roadmap (planned)
These are planned improvements not yet shipped.
- Better exclusion glob support (including true recursive
**semantics). - Per-model dormancy for Ollama and Hugging Face stores, so individual unused models can be removed instead of the whole store.
- Oversized-file safety net for Claude Code temp and task output files, which can grow without bound.
- Deeper pip orphan analysis (import-graph based detection).
- A hosted option for Roomy Hub, and self-serve licensing for Roomy Fleet.
- An MCP server wrapping the CLI for agents that prefer tools over shell.
Home · CLI · Fleet · Hub · Release notes · Privacy · EULA · Source on GitHub
