Catalog npm
PACKAGE EXPLORERView in registry

@0xmapache/claude-profile

npm

Secure local multi-profile launcher for Claude Code.

claudeclaude-codemulti-accountprofiles
Versions collected4
Direct dependencies0From release 0.1.3
Last observed21 Oct, 09:06 UTC

README

Current package documentation

claude-profile

Use multiple Claude Code accounts locally without mixing credentials, sessions, history, or configuration clutter.

claude-profile starts Claude Code with a dedicated CLAUDE_CONFIG_DIR per profile. Use one profile for work, another for personal, and as many named profiles as you need.

Install

npm install -g @0xmapache/claude-profile

This installs:

  • claude-profile
  • claude-profile-usage

Quick Start

Create and open a profile:

claude-profile personal

Inside Claude Code, log in with the account for that profile:

/login

Open the same profile later:

claude-profile personal

Create another profile:

claude-profile work

Inside that session, run /login with your other Claude account.

List profiles:

claude-profile --list

Remove a profile:

claude-profile --remove work

Removal is non-destructive. The profile is moved to:

~/.claude-profiles/.trash/<profile>-<timestamp>

Review local usage across logged-in profiles:

claude-profile-usage

Permissions

Profile launches use Claude Code's dangerous permissions bypass by default:

claude-profile work

This keeps the profile command simple and matches the common local agent workflow.

Profile Storage and Shared Config

Profiles live under:

~/.claude-profiles/<profile>

Each profile has isolated:

  • credentials
  • sessions
  • history
  • cache
  • telemetry
  • project state

On first launch, the profile is bootstrapped from your main ~/.claude config:

  • settings.json is copied once.
  • skills, agents, commands, output-styles, and CLAUDE.md are symlinked if they exist.

This means shared skills update everywhere, while account-specific state stays separate.

If you later change your main ~/.claude/settings.json, sync a profile:

claude-profile --sync-settings work

Safety

Before starting Claude, claude-profile removes auth/provider environment variables such as ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, and CLAUDE_CODE_OAUTH_TOKEN. A profile should use its own /login session, not an API key or token inherited from your shell.

Copied settings.json files are sanitized by removing top-level env and apiKeyHelper keys.

Usage Reports

claude-profile-usage
claude-profile-usage weekly
claude-profile-usage monthly
claude-profile-usage daily --since 2026-06-01

claude-profile-usage checks which profiles are logged in with claude auth status --json, then summarizes local Claude Code usage logs with ccusage.

This reports local token and estimated-cost history. It does not read OAuth tokens or call undocumented live quota endpoints.

Terminal Titles

Interactive launches are labeled with the profile name:

  • terminal title: claude:<profile>
  • Claude session name: <profile>

Customize or disable this behavior:

CLAUDE_PROFILE_TITLE_PREFIX="cc:" claude-profile work
CLAUDE_PROFILE_SET_TERMINAL_TITLE=0 claude-profile work
CLAUDE_PROFILE_SET_CLAUDE_NAME=0 claude-profile work

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 4

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.3Registry latest10 Jun 20260
0.1.210 Jun 20260
0.1.110 Jun 20260
0.1.010 Jun 20260

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
0xmapachex/claude-profile

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 09:06 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:ad506b91ca2f0471c48be8a5aad3ac32ac82ccf325cf6b5d803872fd6cd1953d