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

claudy

v0.2.4

Published

CLI tool for managing Claude AI configuration files (CLAUDE.md)

Readme

claudy

Claude AI Configuration File Management Tool

npm version License: MIT

📋 Overview

claudy is a CLI tool for managing Claude AI configuration files (CLAUDE.md, .claude/commands/**/*.md). It allows you to easily switch between different configuration sets for multiple projects and contexts.

Key Features

  • 🗂️ Configuration Set Management - Save and restore different configurations for each project
  • 🔄 Easy Switching - Switch configurations with a single command
  • 🛡️ Safe Operations - Backup existing files, confirmation before deletion
  • 🌐 Cross-platform Support - Works on macOS and Linux
  • 📝 Type-safe - Robust code implemented in TypeScript

🚀 Installation

Requirements

  • OS: macOS, Linux
  • Node.js: 18.x, 20.x, 22.x

npm (Recommended)

npm install -g claudy

yarn

yarn global add claudy

pnpm

pnpm add -g claudy

📖 Usage

Basic Workflow

  1. Save Current Configuration

    # In your project root directory
    claudy save myproject
  2. List Saved Configurations

    claudy list
  3. Load a Different Configuration

    # Navigate to another project
    cd ~/another-project
    claudy load myproject

Commands

For detailed command reference, see CLI Command Reference.

claudy save <name>

Save Claude configuration files as a named set. Interactive file selection is available by default.

claudy save myproject       # Interactively select files to save (default)
claudy save frontend -a     # Automatically save all files
claudy save backend -f      # Force overwrite existing set
claudy save project-v2 -a -f # Auto-save all files and overwrite existing set

Options:

  • -a, --all - Automatically save all files (skip interactive selection)
  • -f, --force - Overwrite existing set without confirmation

Target Files:

  • Project level:
    • CLAUDE.md - Main configuration file
    • .claude/commands/**/*.md - Custom command definitions
  • User level (selectable by default):
    • ~/.claude/CLAUDE.md - Global settings
    • ~/.claude/commands/**/*.md - Global commands

claudy load <name>

Restore a saved configuration set to the current directory.

claudy load frontend        # Load "frontend" set
claudy load backend -f      # Force overwrite existing files

Existing File Handling Options:

  • Create backup (.bak files)
  • Overwrite
  • Cancel

claudy list

Display list of saved configuration sets.

claudy list                 # Show all sets
claudy list -v              # Show with detailed information

Display Contents:

  • Set name
  • Creation date
  • Number of files

claudy delete <name>

Delete specified configuration set.

claudy delete old-project   # Delete with confirmation
claudy delete temp -f       # Delete immediately

Global Options

  • -v, --verbose - Show verbose logs
  • -h, --help - Display help
  • -V, --version - Display version

💡 Examples

Managing Project Templates

# Create ideal configuration in template project
cd ~/templates/react-app
vim CLAUDE.md
# ... Write detailed instructions for Claude AI ...

# Save as template (interactively select only necessary files)
claudy save react-template

# Use in new project
cd ~/projects/new-react-app
claudy load react-template

Sharing Configurations Within Team

# Save team standard configuration (including all files)
claudy save team-standard -a

# Other members can use the same configuration
claudy load team-standard

Context Switching

# Configuration for frontend development
claudy save frontend-context

# Configuration for backend development
claudy save backend-context

# Switch as needed
claudy load frontend-context  # When working on frontend
claudy load backend-context   # When working on backend

🛡️ Error Handling

claudy provides appropriate messages and solutions for various error cases:

  • File Access Permission Errors - Suggests running with administrator privileges
  • Insufficient Disk Space - Suggests deleting unnecessary files
  • File Lock Errors - Includes retry functionality
  • Invalid Set Names - Guides on allowed characters

🔧 Configuration

Storage Location

Configuration sets are saved in the following locations:

  • Windows: %USERPROFILE%\.claudy\
  • macOS/Linux: ~/.claudy/

Directory Structure

~/.claudy/
├── myproject/
│   ├── CLAUDE.md
│   └── .claude/
│       └── commands/
│           ├── build.md
│           └── test.md
├── frontend/
│   ├── CLAUDE.md
│   └── .claude/
│       └── commands/
│           └── dev.md
└── backend/
    ├── CLAUDE.md
    └── .claude/
        └── commands/
            └── deploy.md

🚧 Troubleshooting

"Set not found" Error

# Check saved sets
claudy list

# Check for typos in set name
claudy load myproject  # Not "myProject"

Permission Errors

# For Windows (run as administrator)
# For macOS/Linux
sudo claudy save myproject

File Lock Errors

If files are open in editor or IDE, close them before retrying.

🤝 Contributing

Development Environment Setup

# Clone repository
git clone https://github.com/douhashi/claudy.git
cd claudy

# Install dependencies
npm install

# Run in development mode
npm run dev

Build and Test

# TypeScript compilation
npm run build

# Run tests
npm test

# Lint check
npm run lint

# Type check
npm run type-check

Pull Request Guidelines

  1. For new features, create an Issue first for discussion
  2. Add tests (maintain coverage above 80%)
  3. Follow Conventional Commits for commit messages
  4. Maintain TypeScript type safety

📝 License

MIT License - See LICENSE file for details.

🙏 Acknowledgments

This project is made possible by the feedback and support from the developer community using Claude AI.

📧 Support


Made with ❤️ by douhashi and contributors