[FEATURE] per-project account configuration

Status Closed — not planned
Maintainer reply None cached
Activity 9 comments · opened Mar 23, 2026 · closed May 25, 2026

Preflight Checklist

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

Problem Statement

Allow configuring which Claude account to use per project directory, so users with separate work/personal accounts don't accidentally use the wrong one. Similar to how Git supports per-repo user.email config.

Proposed Solution

I believe that the best way to manage that would be in .claude project folder.

Alternative Solutions

_No response_

Priority

High - Significant impact on productivity

Feature Category

Configuration and settings

Use Case Example

I have my private subscription with Claude Code, and my company just provided me with a company subscription.

I cannot use my company subscription on my private projects and for that, currently I need to be logging out and logging back in using correct account.

This is prune for errors as I might mistakly forget and use wrong account, either spending my tonkens on my company messy project or using company account on my personal projects.

Additional Context

_No response_

View original on GitHub ↗

9 Comments

allanmongej · 5 months ago

Adding my use case: I have a personal subscription for side projects and a company-paid subscription for work. I need to run both simultaneously in different projects, but /logout signs out globally across all sessions. Per-project account binding would let me work on both without constantly re-authenticating.

giuseppelanzi · 4 months ago
Adding my use case: I have a personal subscription for side projects and a company-paid subscription for work. I need to run both simultaneously in different projects, but /logout signs out globally across all sessions. Per-project account binding would let me work on both without constantly re-authenticating.

Same, I don't want to run my personal projects on the company's claude 'cause it seems unfair.

github-actions[bot] · 3 months ago

Closing for now — inactive for too long. Please open a new issue if this is still relevant.

LuisValgoi · 3 months ago

@allanmongej + @giuseppelanzi have you managed to solve this?

allanmongej · 3 months ago

@LuisValgoi kinda, I quit my job last month. Good luck!

LuisValgoi · 3 months ago

wow, u have discord so we can chat? Have curiosity on understanding why / if you are full entrepreneur mode now

allanmongej · 3 months ago

@LuisValgoi sure, let's connect allan.mongej at discord!

giuseppelanzi · 2 months ago
@allanmongej + @giuseppelanzi have you managed to solve this?

I found a solution that works for me: aliases. Something like this, with which I have to login again:
alias claude-work='CLAUDE_CONFIG_DIR=~/.claude-work /path/to/bin/claude'.

In this way if I use _claude_ I am using my personal standard account and when I use claude-work I use my company's max account.

github-actions[bot] · 23 days ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.