[FEATURE] One consolidated `headroom uninstall` command + document teardown in --help and README
The pieces to undo a Headroom install exist, but they're fragmented and undocumented — so a full teardown is a multi-command scavenger hunt. This asks for one command plus docs.
Problem
To fully reverse an install today you need:
headroom unwrap codex/headroom unwrap claude/headroom unwrap openclaw— one per wrapped toolheadroom mcp uninstall— separateheadroom install agent remove— if the persistent supervisor was set up- then
pip uninstall headroom-ai(and/ornpm uninstall -g headroom-ai) by hand
There is no single top-level command. Registered groups are evals, init, install, learn, mcp, perf, proxy, tools, wrap — nothing named uninstall/teardown (headroom/cli/main.py). A user has to already know which tools they wrapped to fully reverse it, and the leftover npm global package is easy to miss.
Discoverability gaps
- README.md has no uninstall section at all — it documents Install (two spots) but never how to remove. First place a user looks; not there.
headroom unwrap --helpis the natural place to discover what can be unwrapped, but the captured help inwiki/cli.mdlists onlyopenclaw(omits the registeredclaudeandcodexsubcommands). Even if the live--helpenumerates them via Click, the docs/wiki snapshot is stale and misleading.
Proposal
- Add one consolidated command, e.g.
headroom uninstall, that:- detects and reverses every wrap it finds (Codex, Claude, OpenClaw, …) instead of requiring one
unwrap <tool>per tool - runs
mcp uninstall - removes the persistent supervisor if present (
install agent remove) - stops the local proxy
- reports/optionally deletes
~/.headroomworkspace state - prints what it removed and what's left for the user (e.g.
pip uninstall headroom-ai,npm uninstall -g headroom-ai) - supports
--dry-run
- detects and reverses every wrap it finds (Codex, Claude, OpenClaw, …) instead of requiring one
- Document teardown in README.md — a short "Uninstall" section listing the one command (and the manual pip/npm step).
- Fix the stale
unwrap --helpcapture inwiki/cli.mdso it listsclaude,codex, andopenclaw.
Why a single command matters
wrap/mcp install/install agent touch many places (Codex config.toml, Claude MCP config, LaunchAgents/systemd/crontab, shell rc env blocks, ~/.headroom). Asking users to remember and reverse each one — across both pip and npm distributions — is error-prone. The tool already knows what it installed; one command should be able to undo all of it.
Environment
- headroom-ai 0.23.0, macOS, Codex + Claude integrations
Source: headroomlabs-ai/headroom