Provider catalogue

Providers are the scanners: each one knows where one family of disk usage lives, how big it is, and what cleanup is safe. devdoctor providers shows what is registered and available on your machine. Per-entry labels always win over the family default.

Safe — regenerable caches

ProviderCovers
uv-cache, pip-cache, poetry-cachePython package download caches (uv-cache asks uv cache dir where the cache is, and forces past the lock a parent uv run holds)
npm-cache, pnpm-store, bun-cacheJS package-manager stores
go-cachesGo build, test, fuzz, and module caches
nuget-cachesNuGet global packages, HTTP, temp, plugin caches
homebrew-downloadsCached Homebrew bottles
vscode-extension-downloads, cursor-extension-downloads, cursor-updater-cache, vscode-logs, cursor-logsEditor extension package downloads, Cursor's staged updates, session logs
pre-commit-cache, puppeteer-browsers, node-gyp-cache, electron-cache, opam-download-cache, google-updater-cacheTool download caches: hook environments, browsers, Node headers, Electron binaries, opam sources, updater downloads
gradle-cachesJVM build caches
chrome-cache, firefox-cache, arc-browser-cache, vscode-cache, cursor-cacheBrowser and editor caches
tiktoken-cacheTokenizer cache
playwright, docker-installerBrowser binaries for testing; Docker installer
tox-nox-environmentsGenerated tox/nox test environments

Reclaimable — rebuildable at a cost

ProviderCovers
dockerImages, containers, anonymous unused volumes (named volumes: dangerous)
docker-vm-disk, claude-vm-bundlesVM disk files
colima-vm-disk, colima-cacheColima (Lima) VM disk images (advice only) and downloaded base images
rustup-toolchains, nvm-node-versions, pyenv-versionsInstalled toolchains and language versions, one entry each; advice names the tool's own uninstall command
vagrant-boxes, steampipe-plugins, docling-cacheDownloaded boxes and plugins (advice), Docling models
editor-extensionsInstalled VS Code, Cursor and Windsurf extensions (advice)
codex-desktop-cache (macOS)GPU, HTTP, and code cache directories verified to rebuild in Codex desktop. Quit Codex before cleaning them.
codex-runtimes-cache, exo-modelsCodex CLI downloaded runtimes, exo model weights
git-worktreesLinked worktrees whose branches are fully integrated
time-machine-local-snapshots (macOS)Local snapshots; all-but-newest bundle plus per-snapshot entries
node-project-dependenciesnode_modules under common code roots
cargo-targets, cargo-dependency-cacheCargo build dirs; registry archives and git checkouts
terraform-workspacesPer-workspace .terraform directories (re-created by terraform init); the scan measures the plugin copies a shared TF_PLUGIN_CACHE_DIR would collapse
python-venvsVirtualenvs (rebuildable)
conda-package-cachesConda package caches
xcode-development-data (macOS)Derived data, device support, archives, unavailable simulators
coresimulator-caches (macOS)The iOS Simulator's dyld shared caches, rebuilt on the next simulator boot
android-sdk-storage, android-project-buildsSDK images, emulator storage, Gradle build dirs
maven-repoLocal Maven repository
slack-service-workerSlack cached web assets
ollama, huggingface-hub, lm-studio-models, and other *-models / *-cache AI providersLocal model weights and inference caches

Dangerous — may hold user data

ProviderCovers
codex-desktop-artifact-sessions (macOS)Local artifact-sessions directory, sized for advice only
codex-desktop-component-data (macOS)Component downloads, installed Chromium components, and certificate revocation data. Advice only.
codex-desktop-update-staging (macOS)Sparkle's Codex update staging directory, sized for advice only
codex-cli-storagecomputer-use, plugins, cache, and .tmp under CODEX_HOME (default ~/.codex), sized for advice only
codex-runtime-stateCodex's state_5.sqlite database and its WAL and SHM sidecars, sized as one advice-only entry on macOS and Linux
exo-event-logexo's event_log directory on macOS and Linux, sized as one advice-only entry
codex-sessions, claude-code-sessionsAgent transcripts in age buckets; only buckets past the 90-day retention floor are offered, one session at a time
openclaw-gateway-logsGateway service logs, dated structured logs, and numbered archives in known OpenClaw log directories. Advice only.
openclaw-transcript-backupsOpenClaw's legacy transcript-repair backups, one advice-only entry per agent's sessions directory
opencode-sessionsOpenCode's session database with read-only age counts from the legacy session or newer session_v2 table
opencode-logsOpenCode diagnostic logs, sized for advice only on macOS and Linux
large-filesUnusually large files — user data until you say otherwise
downloads~/Downloads
conda-environmentsNon-base Conda environments (may hold your work)
open-webui-dataOpen WebUI application data

yarn-cache is safe, except project-local Zero-Install caches, which are dangerous advice instead.

Check Codex storage

The CLI provider reports four directories separately. The .tmp directory can contain bundled plugin data, marketplace files, and locks. Use codex plugin remove to uninstall an individual plugin.

v0.2.0 introduced the CLI storage, desktop cache, and artifact session providers.

devdoctor providers
devdoctor scan --provider codex-cli-storage --json
# macOS
devdoctor scan --provider codex-desktop-cache,codex-desktop-artifact-sessions --json
devdoctor scan --provider codex-desktop-component-data --json

The Codex desktop cache list covers GraphiteDawnCache and five directories under Default in ~/Library/Application Support/Codex, plus Cache and Code Cache in ~/Library/Caches/Codex/Default. Codex desktop 26.1120.50957 recreated files in these directories after they were moved aside and the app was restarted in an isolated profile.

codex-desktop-component-data measures these directories under ~/Library/Application Support/Codex as separate advice-only entries. Leave them for Codex to manage.

Run devdoctor scan --provider codex-desktop-update-staging --json to measure ~/Library/Caches/com.openai.codex/org.sparkle-project.Sparkle/Installation. The entry reports disk usage as advice only because Sparkle may be preparing an update. With Codex active, open its app menu in the macOS menu bar and choose Check for Updates. Follow the prompt when you are ready to install and restart. See OpenAI's desktop update instructions.

Run devdoctor scan --provider codex-runtime-state --json to measure state_5.sqlite and its -wal and -shm files. The provider measures allocated disk space from file metadata. Codex manages the database and its sidecars, which hold resumable runtime state.

DevDoctor looks for the top-level sqlite_home setting in Codex's user config.toml, then checks CODEX_SQLITE_HOME, then uses CODEX_HOME (default ~/.codex). Relative config paths are based on the config file's directory. Relative environment overrides are based on the scan's working directory. See Codex's SQLite configuration.

Check OpenClaw logs

devdoctor scan --provider openclaw-gateway-logs --json

The provider checks logs/ under OPENCLAW_STATE_DIR or the standard state and profile directories under OPENCLAW_HOME or your home. On macOS it also checks ~/Library/Logs/openclaw. Gateway stdout and stderr can stay open for writes. See OpenClaw logging for structured log rotation.

Check OpenClaw transcript backups

devdoctor scan --provider openclaw-transcript-backups --json

The provider measures files named <session>.jsonl.bak-<pid>-<timestamp> in the standard agents/<agent>/sessions layout. It uses OPENCLAW_STATE_DIR when set, or checks .openclaw and .openclaw-* under OPENCLAW_HOME or your home directory. These copies can hold original conversation data, so the provider offers advice only. See OpenClaw's transcript repair.

Check OpenCode diagnostic logs

devdoctor scan --provider opencode-logs --json

The provider checks ~/.local/share/opencode/log by default and $XDG_DATA_HOME/opencode/log when XDG_DATA_HOME is set. It measures opencode.log, channel-specific opencode-*.log files, and older dated logs and dev.log. OpenCode can write to these files while running, so the provider offers advice only. See OpenCode troubleshooting.

Check exo event logs

devdoctor scan --provider exo-event-log --json

The provider measures exo's event_log directory as one advice-only entry. Leave the logs for exo to manage.

See exo's data paths.

Platform notes

Next: Safety model · Tutorial · CLI reference