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

jean-claude

v2.0.0

Published

Sync Claude Code configuration across machines using Git

Downloads

178

Readme

JEAN-CLAUDE

A companion for managing Claude Code profiles and syncing configuration across machines

Why?

You've spent hours crafting the perfect CLAUDE.md. Your hooks are chef's kiss. Your settings are dialed in just right.

Then you sit down at another machine and... nothing. Back to square one. Or you need separate configs for your work and personal Claude accounts, but maintaining them is a pain.

Jean-Claude fixes that. It manages multiple Claude Code profiles and optionally syncs everything across machines via Git.

Quick Start

# Install globally
npm install -g jean-claude

# Initialize Jean-Claude
jean-claude init

# Create a profile for your work account
jean-claude profile create work

# Launch Claude Code with your work profile
claude-work

Profiles

Profiles let you run multiple Claude Code configurations side by side — one for your Teams account at work, another for your personal Max subscription, and so on.

# Create a profile (interactive — prompts for sharing preferences)
jean-claude profile create work

# Create non-interactively
jean-claude profile create work --yes --shell .zshrc

# List your profiles
jean-claude profile list

# Launch Claude Code with a profile
claude-work

# Re-create symlinks if something breaks
jean-claude profile refresh work

# Delete a profile
jean-claude profile delete work

How profiles work

Your main ~/.claude/ stays the source of truth. Profile directories (~/.claude-<name>/) are lightweight — they symlink back to your shared files:

| Always shared (symlinked) | Optionally shared | Profile-specific | |---------------------------|---------------------------|------------------------| | settings.json | CLAUDE.md | Authentication/session | | hooks/ | statusline.sh | | | agents/ | | | | skills/ | | | | plugins/ | | | | keybindings.json | | |

During profile creation, you're prompted whether to share CLAUDE.md and statusline.sh or keep them independent per profile. You can also use flags:

# Share both
jean-claude profile create work --share-claude-md --share-statusline

# Keep both independent
jean-claude profile create work --no-share-claude-md --no-share-statusline

Change a setting or add a hook in your main config, and all profiles see it immediately.

Profiles work independently of syncing — you can use them without setting up Git.

Syncing

Syncing is optional and uses Git to keep your configuration in sync across machines.

What gets synced?

  • CLAUDE.md — Your custom instructions
  • settings.json — Your preferences
  • hooks/ — Your automation scripts
  • skills/ — Your custom skills
  • agents/ — Your custom agents
  • plugins/ — Your plugins
  • keybindings.json — Your keyboard shortcuts
  • statusline.sh — Your statusline configuration
  • Profile definitions — So profiles carry over to other machines

Commands

# Set up syncing (during init or later)
jean-claude sync setup

# Push your config to Git
jean-claude sync push

# Pull config on another machine
jean-claude sync pull

# Check sync status
jean-claude sync status

Typical workflow

# Machine 1: Initialize and push
jean-claude init
jean-claude profile create work --yes --shell .zshrc
jean-claude sync push

# Machine 2: Initialize, pull, and go
jean-claude init --sync --url [email protected]:you/claude-config.git
jean-claude sync pull
claude-work  # Profile alias is ready

Command Reference

| Command | Description | |---------|-------------| | jean-claude init | Initialize Jean-Claude on this machine | | jean-claude init --sync --url <repo> | Initialize with Git syncing | | jean-claude init --no-sync | Initialize without syncing | | jean-claude profile create <name> | Create a new profile | | jean-claude profile list | List all profiles | | jean-claude profile delete <name> | Delete a profile | | jean-claude profile refresh <name> | Refresh profile symlinks | | jean-claude sync setup | Set up Git-based syncing | | jean-claude sync push | Push config to Git | | jean-claude sync pull | Pull config from Git | | jean-claude sync status | Check sync status |

Development

Running Tests

# Run all tests (unit + integration)
npm test

# Run only unit tests (fast)
npm run test:unit

# Run unit tests in watch mode
npm run test:unit:watch

# Run with coverage report
npm run test:coverage

# Run only integration tests
npm run test:integration

Unit Tests

Fast, isolated tests for core logic:

  • Profile creation, symlinks, and duplicate prevention
  • File sync and metadata operations
  • Error handling and types
  • Utility functions

Integration Tests

End-to-end tests that simulate real usage with local git repositories and multiple machines:

  • init: New repos, existing repos, partial recovery, flag combinations
  • profiles: Create, list, delete, refresh, duplicate prevention, shared/independent CLAUDE.md and statusline.sh
  • sync setup: Linking to a Git remote, reconfiguration
  • sync push/pull: Initial files, modifications, hooks, agents, keybindings, statusline
  • sync status: Clean state, uncommitted changes, diverged state
  • Multi-machine sync: Bidirectional sync, three-machine convergence
  • Edge cases: Empty directories, special characters, large files, concurrent modifications, deprecated command stubs

See tests/README.md for more details.


Named after the famous Belgian martial artist and philosopher, because your config deserves to do the splits between profiles and machines.