@unbyte/ccc
v0.0.2
Published
> a thin wrapper that launches `claude code` with named configuration profiles.
Maintainers
Readme
@unbyte/ccc
a thin wrapper that launches
claude codewith named configuration profiles.
Why
- Named profiles for any combination of provider, model, thinking effort, env, and settings.
- Per-process config — each session picks its own profile, no conflicts.
- Escape hatch: anything not covered by first-class fields can go in
envorsettings.
Quick Start
npm i -g @unbyte/cccCreate ~/.ccc/config.json:
[
{
"id": "some-id", // name used to select this config
"api": "https://api", // provider base URL (required)
"apiKey": "sk-ant-...", // API key (optional if the provider allows it)
"default": true, // use this config when no id is given
"models": { // override model selection (optional)
"default": "",
"subagent": "",
"haiku": "",
"sonnet": "",
"opus": ""
},
"thinking": { // thinking config (optional)
"effort": "high" // low | medium | high | xhigh | max
},
"args": ["--debug"], // extra args prepended to claude (optional)
"env": {}, // extra env vars passed to claude (optional)
"settings": {} // additional Claude Code settings (optional)
}
]models also accepts a single string as shorthand — it applies to all model slots.
Then run:
ccc # uses the default config
ccc another-id # uses the "another-id" config
ccc -p foo # passes args to claudeLicense
MIT
