Caflip banner
LucienLee LucienLee

Caflip

Development community

Description

A lightweight CLI tool to switch between coding agent accounts, like claude code & codex

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

caflip (Coding Agent Flipper)

A fast account switcher for coding agents like Claude Code and Codex.

![caflip provider + account interactive flow](./docs/demo.png) Pick provider first, then switch account.

caflip is built for one job: if you have multiple Claude or Codex accounts, switch between them quickly.

Today, caflip supports both Claude Code and Codex accounts. Your skills, settings, themes, `CLAUDE.md`, MCP servers, keybindings, and all other configuration stay exactly the same while switching accounts.

Use case: you have personal/work Claude or Codex accounts and want to switch quickly without re-login flows every time.

Platform Support

Platform Credential Storage
macOS System Keychain
Linux CLAUDE_CONFIG_DIR/.credentials.json when set, otherwise ~/.claude/.credentials.json; secret-tool is kept as compatibility sync
WSL Same as Linux
Windows Not yet supported

Install

Binary (recommended)

curl -fsSL https://raw.githubusercontent.com/LucienLee/caflip/main/install.sh | bash

To uninstall the standalone binary installed by this script:

curl -fsSL https://raw.githubusercontent.com/LucienLee/caflip/main/uninstall.sh | bash

Via npm (Node.js)

npm install -g caflip

Via Bun

bun install -g caflip

For package-manager installs, uninstall with the same package manager:

npm uninstall -g caflip
bun remove -g caflip

Local Development

bun run dev -- help

Quick Start

# Show current active account / all managed accounts across both providers
caflip status
caflip list

# Pick provider interactively, then add/remove/login
caflip add
caflip remove
caflip login

# Add your first Claude account (must already be logged in)
caflip claude add --alias personal

# Add another Claude account
caflip claude add --alias work

# Pick provider interactively, then pick account
caflip

# Switch Claude by alias
caflip claude