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

claudes

v0.0.1

Published

Manage Claude Code configuration profiles

Readme

claudes

Manage Claude Code configuration profiles. Each profile is an isolated config directory (~/.claude-<name>/).

Profiles can have their own entirely separate settings.json, CLAUDE.md, .claude.json, plugins, agents, and commands. Alternatively, they can define incremental modifications over the default profile's settings.

Install

npm install -g claudes
claudes install

claudes install appends the shell wrapper to your ~/.zshrc and/or ~/.bashrc (idempotent — safe to run multiple times). The shell wrapper is required so that claudes use can set CLAUDE_CONFIG_DIR in your current terminal session.

Commands

claudes use <name>

Switch to a profile. Creates it if it doesn't exist.

claudes use sandbox
# Creates ~/.claude-sandbox/ and sets CLAUDE_CONFIG_DIR

claudes / claudes list (alias: ls)

List all profiles with an interactive selector. The active profile is marked with . Running claudes with no arguments is equivalent to claudes list.

claudes

claudes rm <name> (alias: remove)

Remove a profile (with confirmation). If the removed profile was active, resets to default.

claudes rm sandbox

claudes which

Print the active profile name, or default if none is active.

claudes reset

Switch back to the default Claude Code configuration (unsets CLAUDE_CONFIG_DIR).

claudes -x <name>

Shorthand for claudes use <name> that also launches Claude after switching.

claudes -x sandbox
# Equivalent to: claudes use sandbox && claude

If the profile has a claudes.json with flags, those are passed to Claude automatically.

claudes help / claudes --help

Show available commands and options.

Options

| Flag | Description | |---|---| | --help | Show help message | | --dry-run | Show what would happen without making changes | | -x | Also launch Claude after switching (use only) |

Profile configuration (claudes.json)

A profile can include a claudes.json file for claudes-specific settings:

{
  "flags": "--plugin-dir ./my-plugins --verbose"
}

The flags field (string or array) is passed to Claude on every launch. When you use a profile with flags, a shell alias is created so that running claude directly also picks them up.

Profile-local files

Any file in a profile directory matching these suffixes is merged with the corresponding base file from ~/.claude/:

| Suffix | Type | Strategy | |---|---|---| | *.local.json | JSON | Shallow — top-level keys replaced | | *.local.deep.json | JSON | Deep — nested objects merged recursively | | *.local.md | Markdown | Appended after a blank line | | *.local.deep.md | Markdown | Sections with the same heading are replaced, new headings appended |

For example, settings.local.json merges with ~/.claude/settings.json, CLAUDE.local.deep.md merges with ~/.claude/CLAUDE.md, etc.

Merging happens every time you use a profile. The merged result is written to the profile directory without the .local suffix (e.g. settings.json), so Claude Code picks it up directly.

If both .local and .local.deep exist for the same base file, .local.deep is applied first, then .local on top.

How it works

Claude Code respects the CLAUDE_CONFIG_DIR environment variable to redirect its config storage. Profiles are stored as ~/.claude-<name>/ directories, discovered by globbing ~/.claude-*.