Skip to content

Feature request: Support multiple accounts or instances of the same provider #1843

Description

@bystritskiy

Feature request: Support multiple accounts or instances of the same provider

Summary

Add the ability to configure multiple instances of the same provider and track their usage independently.

For example, a user may have two separate Claude Code installations or profiles on the same Mac:

  • Personal Claude account
  • Work Claude account

Each instance may use a different configuration or data directory. Currently, a provider can only be enabled once, so CodexBar can monitor only one account per provider.

Proposed solution

Allow users to duplicate a provider and configure each instance separately.

For example:

Claude — Personal
Config/data directory: ~/.claude

Claude — Work
Config/data directory: ~/Library/Application Support/Claude-Work

Each provider instance could:

  • Have a custom display name or alias
  • Use its own authentication and configuration source
  • Allow selecting a custom config or data directory
  • Track and display usage independently
  • Appear as a separate item in CodexBar

A possible settings flow:

  1. Select a provider such as Claude.
  2. Click Add another account or Duplicate provider.
  3. Enter an optional alias.
  4. Select the provider's config or data directory.
  5. CodexBar creates an independent instance of that provider.

Use case

I run two Claude installations on the same Mac, each using a separate account and user-data directory.

I would like CodexBar to show the remaining limits for both accounts at the same time, without having to sign in and out or replace the existing provider configuration.

This could also be useful for:

  • Personal and work accounts
  • Multiple client accounts
  • Separate browser or CLI profiles
  • Users with more than one subscription for the same provider

Additional context

Ideally, this would be implemented as a generic provider-instance model rather than Claude-specific behavior.

Any provider capable of loading credentials or usage information from a configurable location could then support multiple accounts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low-risk cleanup, docs, polish, ergonomics, or speculative feature.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:auth-providerThis issue is about auth, provider routing, model choice, or SecretRef resolution.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions