Catalog npm
Back to packageRELEASE DETAILS

0.1.1

npm

@0xmapache/claude-profile

Secure local multi-profile launcher for Claude Code.

claudeclaude-codemulti-accountprofiles
Published10 Jun 2026
Direct dependencies0
Transitive dependenciesNot calculated

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.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "3ee340995f7a77d10fad4a95fd05a60a298e73b5",
  "tarball": "https://registry.npmjs.org/@0xmapache/claude-profile/-/claude-profile-0.1.1.tgz",
  "fileCount": 7,
  "integrity": "sha512-3gGinvJzTP+q010L7a2skQIa8PJjAyxd3IQBOf099c817lspFP/8PhS7+YFEbN54+ng+JLz5osfR6vCnB0DZZg==",
  "signatures": [
    {
      "sig": "MEUCIQDNLNwvRfTHaBqpoNsPC6RRGohZ00ArEp/erW7PSSiacgIgYFg3vru86GsJv+04ZPDVL56I7RNAU0oJxOhiq+hDYpo=",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "unpackedSize": 24378
}

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_version:b5b96d4e450356deff4aad50f0bd6df7d44d5c1643ed1ca7be4bf0a79b6bc0aa

Other collected versions

0.1.310 Jun0.1.210 Jun0.1.010 JunView all collected versions →