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 🙏

© 2025 – Pkg Stats / Ryan Hefner

ccexp

v4.0.0

Published

CLI tool for exploring and managing Claude Code settings and slash commands

Downloads

246

Readme

ccexp (claude-code-explorer)

Overview

[!IMPORTANT] ccexp is the shortened name for claude-code-explorer. The npm package claude-code-explorer is the previous version of this tool. The name was shortened to ccexp for brevity and easier command-line usage.

ccexp (short for claude-code-explorer) is a React Ink-based CLI tool that provides an interactive terminal interface for discovering, previewing, and managing Claude Code configuration files and slash commands. Navigate through your codebase to find CLAUDE.md files, slash command definitions, and other Claude-related configurations with a beautiful terminal UI.

Features

  • 🔍 Interactive File Discovery - Automatically finds Claude Code configuration files
  • 📁 Split-pane Interface - File list on the left, preview on the right
  • ⌨️ Keyboard Navigation - Arrow keys, Enter, ESC for smooth navigation
  • 🔎 Live Search - Filter files as you type
  • 📋 File Actions - Copy content, copy paths, open files in default applications
  • 🎨 Terminal UI - Beautiful React Ink interface with proper focus management
  • 📝 Markdown Preview - Renders CLAUDE.md files with syntax highlighting

Screenshots

Target Files

ccexp (claude-code-explorer) automatically discovers these configuration files:

Memory Files

  • CLAUDE.md → Project memory (project configuration)
  • CLAUDE.local.md → Project memory local (local overrides, gitignored) (deprecated: https://docs.anthropic.com/en/docs/claude-code/memory#determine-memory-type)
  • ~/.claude/CLAUDE.md → User memory (global configuration)

Command Files

  • .claude/commands//*.md** → Project commands (project-specific slash commands)
  • ~/.claude/commands//*.md** → User commands (personal slash commands)

Subagent Files

  • .claude/agents//*.md** → Project subagents (project-specific agents)
  • ~/.claude/agents//*.md** → User subagents (personal agents)

Settings Files

  • .claude/settings.json → Project settings (shared configuration)
  • .claude/settings.local.json → Project settings local (local overrides, gitignored)
  • ~/.claude/settings.json → User settings (global configuration)

Installation

Quick Start (Recommended)

No installation required! Run directly with:

# Using Bun (fastest)
bunx ccexp@latest

# Using npm
npx ccexp@latest

# Using pnpm
pnpm dlx ccexp@latest

Global Installation

For frequent use, install globally:

# npm
npm install -g ccexp

# Bun
bun install -g ccexp

# pnpm
pnpm add -g ccexp

Then run from anywhere:

ccexp

Usage

Interactive Mode (Default)

ccexp                    # Launch interactive TUI
ccexp --path ~/projects # Scan specific directory

Command Line Options

ccexp --help             # Show help information
ccexp --version          # Show version number
ccexp --path <path>      # Specify directory to scan

Examples

# Launch in current directory
bunx ccexp@latest

# Scan specific project
bunx ccexp@latest --path ~/my-project

# Quick exploration without installation
npx ccexp@latest

# Show help
bunx ccexp@latest --help

# Show version
bunx ccexp@latest --version

Common Use Cases

# Find all Claude configuration in your workspace
cd ~/workspace
bunx ccexp@latest

# Check Claude settings in a specific project
bunx ccexp@latest --path ./my-project

# Explore global Claude configuration
bunx ccexp@latest --path ~/.claude

# Using alias (after setup)
ccexp                      # Current directory
ccexp --path ~/workspace   # Specific directory

Keyboard Shortcuts

  • ↑/↓ - Navigate file list
  • Enter - Open file actions menu
  • ESC - Close menu / Exit
  • Tab - Switch between panes
  • / - Focus search input
  • c - Copy file content (in menu)
  • p - Copy absolute path (in menu)
  • r - Copy relative path (in menu)
  • d - Copy file to current directory (in menu)
  • e - Edit file with $EDITOR (in menu)
  • o - Open file in default application (in menu)

Development

For development setup, commands, and contribution guidelines, see DEVELOPMENT.md.

Contributing

Contributions are welcome! Please see DEVELOPMENT.md for detailed contribution guidelines.

License

MIT License - see LICENSE file for details