[Feature Request] Persistent session color configuration via settings.json or CLI flag

Open 💬 0 comments Opened Jul 7, 2026 by ihor-waystationai

Bug Description
Feature request: persistent/default session color (make /color configurable, not just per-session)

I run two Claude Code identities on one machine — a personal account and a work account, in separate config dirs. The UIs are otherwise identical, so it's easy to type into the wrong session. /color green is exactly the visual marker I need, but it's per-session and runtime-only: it resets on every new session, and there's no settings.json key, CLI flag, or env var to default it. Hooks can't set it either, since hook output can't invoke slash commands.

Ask: a way to persist the session color per profile, e.g. "sessionColor": "green" in user-level settings.json — since settings live per config dir, each account would naturally get its own color ("personal = green, work = blue" at a glance). A --session-color flag or CLAUDE_SESSION_COLOR env var would work too. Ideally it behaves exactly like /color does today (prompt bar, claude agents view, claude.ai/code sync), with /color still able to override it for the session.

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.202
  • Feedback ID: 98e679d4-661c-4c0a-8b6e-a6dcbc41732f

Errors

[]

View original on GitHub ↗