Keeping Claude Code Profiles Separate with cw and Headroom

I use three Claude Code profiles on the same Mac: personal, work, and p2. I switch between them with cw personal, cw work, and cw p2. Each profile has its own Claude Code configuration, so I can keep account state, plugins, and settings separate and
know which profile I’m using when I open a terminal.

personal uses the standard ~/.claude directory. work and p2 use separate directories selected through CLAUDE_CONFIG_DIR. The launcher also clears inherited provider variables when switching profiles. That matters because a terminal can outlive
several sessions. A custom endpoint or credential exported earlier in the day can otherwise carry over into the next launch.

Shared defaults, separate routes

All three profiles use the same privacy defaults. Usage telemetry, error reporting, and OpenTelemetry export are disabled. Debug logging is off by default, and I can turn it on for a single run with cw work –debug.

The API route is the main difference. personal and p2 connect directly. cw work points Claude Code at Headroom, a local proxy listening on 127.0.0.1:8787. I can bypass it for one run with CLAUDE_WORK_HEADROOM_PROXY=0 cw work. That gives me a direct
path when the proxy is down or when I’m trying to reproduce an API or streaming issue.

What Headroom adds to the work profile

Headroom is most useful when a session produces more data than Claude needs on every turn. Think of a long JSON response, a noisy build log, or a command that prints hundreds of nearly identical rows. The proxy can compress those tool outputs before
forwarding the request to Anthropic. With Compress–Cache–Retrieve enabled, Headroom keeps the original output available so Claude can ask for it later.

That can make a long session easier to keep going. It also introduces a judgment call. Claude has to recognize when a compressed result is missing something important. If I’m investigating a failure where one line of a stack trace or one entry in a
diff could change the diagnosis, I give Claude the relevant lines in full or run the profile directly. I also haven’t measured how much the smaller requests save against my Claude subscription limits. A lower input token count alone doesn’t answer
that question.

Headroom’s anonymous upload beacon is explicitly disabled in my shell. The proxy still handles the model request and forwards it to the configured upstream, so I treat it as part of the data path. It also adds a local process to keep running, which
is why I keep the direct route available.

The profile split is the part I rely on every day. I can change how work handles big tool outputs while leaving personal and p2 on their direct routes. When I troubleshoot a session, I can check the active profile, turn on debug for one run, and
bypass Headroom with one command.