Claude Code Profiles banner
felipeadeildo felipeadeildo

Claude Code Profiles

Development community

Description

Manage multiple Claude Code profiles: switch accounts, providers, and env vars with one command

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

ccp: Claude Code Profiles

Switch between Claude Code setups with a single command.
Different accounts, different providers, different models — each in its own profile.

No dependencies. Works with bash, zsh, and fish.

[![Version](https://img.shields.io/github/v/release/felipeadeildo/claude-code-profiles?label=version&color=58a6ff)](https://github.com/felipeadeildo/claude-code-profiles/releases/latest) [![License](https://img.shields.io/github/license/felipeadeildo/claude-code-profiles?color=3fb950)](LICENSE)


Install

curl -fsSL https://ccp.fa.dev.br/install.sh | bash

Then reload your shell:

Shell Command
bash source ~/.bashrc
zsh source ~/.zshrc
fish source ~/.config/fish/conf.d/ccp.fish

The installer detects your shell automatically. For fish, it installs a native `ccp.fish` function to `~/.config/fish/conf.d/` — no need to source anything on the next shell launch.

Quickstart

ccp new work       # create a profile (interactive wizard)
ccp work           # launch claude with that profile
ccp use work       # export its vars into your current shell

How it works

A profile is a `.env` file under `~/.ccp/profiles/`. Each profile gets an isolated `CLAUDE_CONFIG_DIR` — separate settings, history, and todos per profile.

~/.ccp/
  profiles/
    work.env
    personal.env
    openrouter.env
  config              # stores the default profile name
  data/               # isolated CLAUDE_CONFIG_DIR per profile

Example profile:

# ~/.ccp/profiles/work.env
CLAUDE_CONFIG_DIR=~/.ccp/data/work
ANTHROPIC_BASE_URL=https://openrouter.ai/api
ANTHROPIC_API_KEY=sk-or-...

Commands

ccp list                   list all profiles
ccp new           create a profile (interactive)
ccp show          show vars (keys masked)
ccp edit          open in $EDITOR
ccp remove