claude-code - 💡(How to fix) Fix [FEATURE] Output style should be session-scoped, not shared across instances in the same project [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#55137Fetched 2026-05-01 05:45:18
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Author
Participants
Timeline (top)
labeled ×2
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

Problem When I open multiple Claude Code instances in the same project directory, they all share the same output style setting. If I change the output style in one instance via /config, the change is written to .claude/settings.local.json and immediately affects every other instance running in that project. There's no way to have different output styles in different windows of the same project.

My use case I often run two Claude Code instances side-by-side in the same repo:

  • One for active coding, where I want the default concise style.
  • One for exploring an unfamiliar part of the codebase, where I want the Learning style for richer explanations.

Right now, switching one window to Learning forces the other into Learning too, which breaks my workflow.

Proposed Solution

Make output style changes through /config session-scoped by default, similar to how /model works — it switches the model for the current session without permanently overwriting settings. A few possible shapes:

  1. Output style changes apply to the current session only and don't persist to settings.local.json.
  2. Add an explicit "save as default" option in /config for persistence; otherwise treat the change as session-only.
  3. Separate "default output style" (persisted) from "active output style" (per-session override).

Alternative Solutions

  • Manually editing settings.local.json between sessions — tedious.
  • Using separate worktrees or directories per instance — overkill when I just want different output styles in the same repo.

Priority

Medium - Would be very helpful

Feature Category

CLI commands and flags

Use Case Example

No response

Additional Context

I think the broader principle worth considering is: any setting changeable via a slash command should default to session-scoped, with explicit opt-in for persistence. That would prevent the same problem from showing up in other settings managed through /config.

extent analysis

TL;DR

Implement session-scoped output style changes through /config to allow different output styles in multiple Claude Code instances running in the same project directory.

Guidance

  • Consider modifying the /config command to apply output style changes only to the current session by default, without persisting to settings.local.json.
  • Introduce an explicit "save as default" option in /config to allow users to persist changes when needed.
  • Explore separating "default output style" (persisted) from "active output style" (per-session override) to provide more flexibility.
  • Evaluate the broader principle of making all setting changes via slash commands session-scoped by default, with explicit opt-in for persistence.

Notes

The proposed solution requires changes to the /config command and potentially the underlying settings management system. The exact implementation details will depend on the current architecture and design of Claude Code.

Recommendation

Apply workaround: Modify the /config command to support session-scoped output style changes, allowing users to have different output styles in multiple instances running in the same project directory. This change will improve the usability of Claude Code for users with similar workflows.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [FEATURE] Output style should be session-scoped, not shared across instances in the same project [1 participants]