ccswi
v1.1.9
Published
Lightweight CLI to switch Claude Code settings.json profiles
Maintainers
Readme
ccswi
Lightweight CLI to switch Claude Code ~/.claude/settings.json profiles.
Install
bun add -g ccswiUsage
# Save current settings.json as a profile
ccswi save [name]
# Add a new profile interactively
ccswi add
# List all profiles
ccswi ls
# Switch to a profile
ccswi use <name|index>
# Show profile details
ccswi show [name|index]
# Edit a profile
ccswi edit <name|index>
# Rename a profile
ccswi rename <old> <new>
# Delete a profile
ccswi rm <name|index>
# Modify common config options
ccswi set disable-updater
ccswi set use-pwshProfiles
Profiles are stored in ~/.ccswi/profiles.toml. Each profile contains:
- vendor — Provider preset name (optional)
- endpoint —
ANTHROPIC_BASE_URL - token —
ANTHROPIC_AUTH_TOKEN - opus / sonnet / haiku — Model names for each tier
- opus_1m / sonnet_1m — Whether the model supports 1M context
License
MIT
