npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@0xmapache/claude-profile

v0.1.3

Published

Secure local multi-profile launcher for Claude Code.

Downloads

607

Readme

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