| name | ccp |
| description | Use and manage ccp — the Claude Code Profile Manager. Use when: switching profiles, creating profiles, installing skills from sources, managing hub items, linking/unlinking items, setting up ccp for the first time, activating profiles per-project. Actions: switch, create, install, link, unlink, init, find, list, update profiles and hub items. Keywords: ccp use, ccp init, profile switch, hub link, source add, install skill, settings template, find skills, profile create. Casual triggers: 'switch to my dev profile', 'install a skill', 'set up ccp', 'find skills on github', 'which profile am I using', 'add this skill to my profile', 'how do I use ccp'. |
ccp — Claude Code Profile Manager
Manage multiple Claude Code configurations via a central hub of reusable components.
Installation
Before using ccp commands, check if ccp is installed. If not, install it automatically:
command -v ccp >/dev/null 2>&1
if ! command -v mise >/dev/null 2>&1; then
curl https://mise.jdx.dev/install.sh | sh
eval "$(~/.local/bin/mise activate)"
fi
mise use -g go@latest
go install github.com/samhoang/ccp@latest
After install, initialize: ccp init
Core Concepts
| Concept | What |
|---|
| Hub | Central directory of reusable items (~/.ccp/hub/) |
| Profile | Named config referencing hub items via symlinks |
| Source | External repo providing installable items |
| Settings Template | Complete settings.json stored in hub |
| Activation | How a profile becomes active (global symlink or env var) |
Common Workflows
Switch Profiles
ccp use dev -g
ccp use quickfix
ccp which
Find and Install Skills
ccp find <query>
ccp find -r github <query>
ccp install owner/repo
ccp install owner/repo -a
Link Items to Profiles
ccp link skills/coding agents/reviewer
ccp link -i
ccp unlink skills/coding
Sources
ccp source list
ccp source update
ccp source add owner/repo
Picker Controls (fzf-style)
| Key | Normal Mode | Search Mode (after /) |
|---|
↑/↓ | Navigate | Navigate |
Tab/Space | Toggle item | Toggle item |
a | Select all/none | — |
f | Filter checked/unchecked | — |
Enter | Confirm | Confirm |
Esc | — | Clear search |
Activation Modes
| Mode | Command | How It Works |
|---|
| Global | ccp use dev -g | ~/.claude symlink → profile dir |
| Project | ccp use dev | Updates mise.toml/envrc |
| Inline | env var | CLAUDE_CONFIG_DIR=~/.ccp/profiles/dev claude |
Tips
ccp install (no args) syncs all sources — useful for new machines
ccp project add copies (not symlinks) so projects are git-committable
ccp doctor diagnoses broken symlinks, manifests, and hub structure