Feature: sessionColor and sessionName in .claude/settings.json

Resolved 💬 1 comment Opened May 28, 2026 by sheadscott Closed Jun 30, 2026

Summary

Allow projects to declare a session color and name in .claude/settings.json so they apply automatically when Claude Code opens in that directory — no manual /color and /rename needed each session.

Proposed settings

{
  "sessionColor": "orange",
  "sessionName": "Vohl"
}

Motivation

/color and /rename are useful for distinguishing sessions across projects. But they require manual re-entry every session. There's no way to automate them — SessionStart hooks run shell commands, which can't invoke slash commands.

A per-project setting would make this automatic and persistent, the same way model or permissions already are.

Scope

  • sessionColor: one of the values accepted by /color (red, blue, green, yellow, purple, orange, pink, cyan, default)
  • sessionName: string, same as /rename argument
  • Applies at session start when the working directory matches the project root
  • User/local settings should be able to override project settings (same precedence as other settings)

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗