Roomy / Documentation
v1.4.0

Documentation

Roomy is one engine with three ways to use it: a Mac app, a command-line tool for macOS and Linux, and a fleet mode with a central hub. This page covers the Mac app. The CLI, Fleet and Hub have their own references.

Last reviewed: October 27, 2026

Pick a reference

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 path
  • Entire 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.

Entire-Mac scans can encounter permission-restricted paths depending on macOS privacy settings. System cache probes skip paths that are missing or excluded.

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_modules trees.
  • 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 in requirements.txt.
  • Homebrew — download cache and log directories when Homebrew is installed.
  • Docker — unused images, dangling volumes, and build cache (via docker CLI; 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.

TierMeaningIn the appIn the CLIIn a fleet policy
SafeFully regenerable: DerivedData, package download caches, node_modules, models that can be pulled againEligible for bulk dormant selectionDefault for scan --planDefault autoClean.tiers
ReviewRegenerable at a cost, or mixed with user data: global CLI packages, dormant conda envs, Device Support, simulatorsShown with a badge, never pre-selected--allow-cautionOpt in per policy
IrreversibleCannot be recreated: Xcode Archives, Docker volumes with user data, agent session historyExtra confirmation, never bulk-selected--allow-irreversibleAlways 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 target and classifies it as Rust when Cargo.toml is present in the project root.
  • Java / Kotlin: detects .gradle and classifies target/build as Java when Maven/Gradle markers are present.
  • Swift / Xcode: detects Pods and SwiftPM .build.
  • Go / Ruby: detects vendor, classified as Go when go.mod exists, 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 month
  • Recent: 1 month or more, but below inactive threshold
  • Inactive: at or above inactive threshold
  • Dormant: 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 fnmatch semantics.
  • Tilde paths such as ~/work/project are expanded against the current user home directory.
Current limitation: ** 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, or docker builder prune — not sent to Trash.
  • Conda cleanup uses conda clean and conda env remove subprocesses — not sent to Trash.
  • Pip orphan cleanup runs pip uninstall 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 UserDefaults under 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 under com.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.
Roadmap items are directional and may change as implementation priorities evolve.

Home · CLI · Fleet · Hub · Release notes · Privacy · EULA · Source on GitHub