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.
- π 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
ccexp (claude-code-explorer) automatically discovers these configuration 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)
- .claude/commands//*.md** β Project commands (project-specific slash commands)
- ~/.claude/commands//*.md** β User commands (personal slash commands)
- .claude/agents//*.md** β Project subagents (project-specific agents)
- ~/.claude/agents//*.md** β User subagents (personal agents)
- .claude/settings.json β Project settings (shared configuration)
- .claude/settings.local.json β Project settings local (local overrides, gitignored)
- ~/.claude/settings.json β User settings (global configuration)
No installation required! Run directly with:
# Using Bun (fastest)
bunx ccexp@latest
# Using npm
npx ccexp@latest
# Using pnpm
pnpm dlx ccexp@latest
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
ccexp # Launch interactive TUI
ccexp --path ~/projects # Scan specific directory
ccexp --help # Show help information
ccexp --version # Show version number
ccexp --path <path> # Specify directory to scan
# 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
# 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
- β/β - 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)
For development setup, commands, and contribution guidelines, see DEVELOPMENT.md.
Contributions are welcome! Please see DEVELOPMENT.md for detailed contribution guidelines.
MIT License - see LICENSE file for details