#748·headroom

[FEATURE] One consolidated `headroom uninstall` command + document teardown in --help and README

Author: vltanskyCreated Jun 8, 2026Updated Sep 28, 2026
LabelsLow

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 tool
  • headroom mcp uninstall — separate
  • headroom install agent remove — if the persistent supervisor was set up
  • then pip uninstall headroom-ai (and/or npm 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

  1. 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.
  2. headroom unwrap --help is the natural place to discover what can be unwrapped, but the captured help in wiki/cli.md lists only openclaw (omits the registered claude and codex subcommands). Even if the live --help enumerates them via Click, the docs/wiki snapshot is stale and misleading.

Proposal

  1. 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 ~/.headroom workspace 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
  2. Document teardown in README.md — a short "Uninstall" section listing the one command (and the manual pip/npm step).
  3. Fix the stale unwrap --help capture in wiki/cli.md so it lists claude, codex, and openclaw.

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