See the cache. Keep the context.

Generic cleaners wipe your prompt history, chat indexes, and offline models. CacheLens explains what every AI directory does before you clean. 100% open source, offline, and Trash by default.

Real sample scan
14.5 GB
Real CacheLens app screenshot showing a completed scan with Safe, Review, and Protect totals per tool

Actual CacheLens v0.4.0 app window - not a mockup.

Review
12.9 GB Review
Safe
1.6 GB Safe
Protect
< 1 KB

One developer Mac, scanned locally in August 2026. Totals are not the same as reclaimable space.

Three risk levels. One hard boundary.

Safe

Regenerable cache with a clear recovery path and current verification. Safe is not the same as permanently reclaimable - some Safe items may recreate after the tool restarts. If a rule is unverified or the tool layout drifted, CacheLens downgrades to Review instead of guessing.

Review

Large, costly, or uncertain data that deserves an explicit decision - including items demoted when verification fails.

Protect

Credentials and settings that CacheLens will not select.

A cleanup decision, not a mystery checkbox.

Every item explains what it is, the cost of removal, and how to recover it.

  1. What created it
  2. What deletion changes
  3. How recovery works
  4. Whether it may recreate
  5. Whether the rule is still verified

Your paths stay on your Mac.

Read the safety boundaries

100% Open Source. Provably Zero-Network.

Every line of the Swift scanner, preflight guard, CLI, and rule catalog ships open source under GPL-3.0 on GitHub. Audit the exact catalog before you ever run a scan - no hidden heuristics, no telemetry, no server.

The full rule catalog, shown in the Trust / Rules tab of the shipping app.
The full rule catalog, shown in the Trust / Rules tab of the shipping app.

Built for developer storage.

Engineered for AI Developers, Not Casual Cleaners

How CacheLens compares to traditional Mac utilities, Xcode cleaners, and manual shell scripts.

CapabilityCacheLensCleanMyMacDevCleanerrm -rf Scripts
AI Coding Tool AwarenessDeep inspection of Cursor, Claude Code, Codex, Ollama, Windsurf, Trae, and XcodeZero AI awareness; treats critical databases as generic junkLimited to legacy Xcode DerivedData and iOS simulatorsBlind pattern deletion with high risk of asset loss
Deletion Consequence ExplanationsEvery item explains what breaks, recovery steps, and recreate risksBlack-box checkbox with zero consequence contextRaw file sizes only, no recovery guidanceSilent execution without warnings
Fail-Closed Rule IntegritySafe rules automatically downgrade to Review if directory layout driftsRigid unverified assumptions that risk breaking updated appsStale static paths rarely updated for modern tool revisionsNo safety boundaries or drift checks
Privacy and Zero Telemetry100% offline, zero network entitlements, verified by Little SnitchBackground network daemons, telemetry, and analytics trackersLocal tool, but unhardened entitlement boundariesLocal, but no verification ledger
Accidental Deletion ProtectionTrash by default + hard Protect list + process-running lockGeneric deletion without owning-process state checksStandard trash without process locks or audit ledgerPermanent, unrecoverable data destruction
Pricing Architecture100% free & open source (GPL-3.0)$39.95/year recurring subscriptionFree / App Store tip jarFree until accidental loss destroys days of work

100% Free & Open Source (GPL-3.0)

Every feature - space radar, batch Trash cleanup, bundled CLI, and inspectable rules - is completely free and open source on GitHub.

Community & Rule Contributions

GitHub

Inspect source code, audit rules, or build from source

  • Full Swift source code & catalog.json on GitHub
  • Contribute rules as AI IDEs evolve via PRs
  • Verify zero-network entitlements from source
  • Build directly via SwiftPM or install via Homebrew Cask

Frequently Asked Questions

Everything developers need to know about AI cache architecture, data safety, and offline trust.

Why shouldn't I use generic cleaners like CleanMyMac on Cursor or other AI IDEs?

Generic cleaners do not understand stateful AI development workflows. They treat critical local databases like Cursor's state.vscdb (which stores conversation history, prompt context, and codebase indexes) as generic disposable cache. Deleting these files causes Cursor to get stuck in an endless 'Loading Chat...' loop or lose project context. CacheLens enforces hard Review and Protect boundaries to keep your AI memory safe.

How does CacheLens handle Cursor runaway snapshot checkpoint packs (*.pack)?

Cursor checkpoint packs (snapshots/*.pack) frequently balloon to 50GB-150GB within a few days. CacheLens classifies runaway snapshot packs as Review (never Safe), clearly warns that clearing them removes local checkpoints while keeping your code and settings, and strictly instructs you to quit Cursor before moving them to Trash to prevent instant recreation.

Does CacheLens transmit my code, file paths, or project names over the network?

Never. CacheLens contains zero network client code and has no internet access. Its macOS entitlements strictly exclude com.apple.security.network.client. All scanning and classification rule verification run 100% locally and offline on your Mac. You can verify this in Terminal using codesign -d --entitlements :- /Applications/CacheLens.app.

What does Fail-Closed Stale-Rule Downgrade mean?

Cache directories evolve as AI tools ship updates. In CacheLens, every Safe classification rule carries verifiedAgainst metadata and layout markers. If an AI tool updates and alters its directory structure, CacheLens refuses to assume it is still safe and immediately downgrades the item to Review. It never pretends an unverified rule is safe to delete.

Can I recover files if I accidentally delete them?

Yes. CacheLens strictly moves items to macOS Trash via system APIs and never executes permanent deletions. Furthermore, every cleanup operation automatically appends a structured, human-readable JSONL receipt to ~/Library/Application Support/CacheLens/receipts/ with the exact source path, timestamp, size, and recovery instructions.

Which AI coding assistants and developer tools are currently supported?

CacheLens provides deep, specialized classification rules for Cursor, Claude Code, OpenAI Codex, Antigravity, Windsurf, Trae, Ollama, LM Studio, Hugging Face, OpenCode, Roo Code, Cline, Continue, Zed, Aider, and Apple Xcode (DerivedData, Archives, iOS DeviceSupport, and Simulators).

Is CacheLens really 100% free and open source?

Yes. CacheLens is licensed under GPL-3.0 with full Swift source code, bundled CLI, and classification rules published on GitHub. Every feature - space radar, batch Trash cleanup, local receipts, and custom protect lists - is free without accounts, subscriptions, or license keys.

Inspect before you clean.

Requires macOS 14 or later. Notarized release with SHA-256 checksum.

Download for macOS

Or with Homebrew:brew tap ggxx39/cachelens && brew install --cask cachelens