Clother needs two things configured for each cloud provider:Documentation Index
Fetch the complete documentation index at: https://mintlify.com/jolehuit/clother/llms.txt
Use this file to discover all available pages before exploring further.
- Provider settings — which endpoint and model to use (stored in
config.json) - Secrets — the API key for that provider (stored in
secrets.env, chmod 600)
Interactive configuration
Runclother config at any time to configure providers interactively.
clother config [provider], Clother will:
Prompt for an API key
If the provider requires a secret, you are prompted for the API key. Press Enter to keep the existing value.
Prompt for a model
If the provider has model choices, you are shown a numbered list and can type a number or a model ID. Press Enter to accept the default.
Listing configured profiles
Inspecting a provider
Configuration file locations
Clother follows XDG base directory conventions on Linux and the equivalent on macOS.| File | Default path | Override |
|---|---|---|
| Provider config | ~/.config/clother/config.json | CLOTHER_CONFIG_DIR |
| API keys | ~/.local/share/clother/secrets.env | CLOTHER_DATA_DIR |
| Launcher manifest | ~/.local/share/clother/launchers.json | CLOTHER_DATA_DIR |
| Update cache | ~/.cache/clother/update.json | CLOTHER_CACHE_DIR |
XDG_CONFIG_HOME, XDG_DATA_HOME, or XDG_CACHE_HOME.
How Clother passes credentials to Claude
At runtime, Clother resolves the selected provider profile and sets two environment variables before launching the real Claude binary:ANTHROPIC_BASE_URL points Claude at the provider’s API endpoint. ANTHROPIC_AUTH_TOKEN carries the API key. These variables are set in the subprocess environment only — they are not written to your shell profile.
For the native Anthropic provider (
clother-native), neither variable is set. Claude uses your existing subscription credentials directly.