Skip to main content

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.

Global flags

These flags are accepted by the clother management binary for all commands.
FlagShortDescription
--help-hShow full help text and exit
--version-VPrint the Clother version and exit
--verbose-vEnable verbose output
--debug-dEnable debug output (implies --verbose)
--quiet-qSuppress non-essential output
--yes-ySkip confirmation prompts
--no-inputDisable interactive prompts (non-interactive mode)
--no-bannerSuppress the provider banner when launching
--jsonOutput in JSON format (for list, info, status)
--plainOutput in plain text format (for list)
--bin-dir <path>Override the bin directory for this invocation

Management commands

clother

With no arguments, shows brief help output.
clother

clother config [provider]

Configures a provider interactively. Prompts for an API key and, where applicable, lets you choose a default model. When finished, saves configuration and regenerates all launcher symlinks. If provider is omitted, Clother presents a numbered menu of all available providers to choose from. Usage
clother config
clother config <provider>
Arguments
ArgumentDescription
providerProvider ID to configure (e.g. zai, kimi, openrouter, custom). Optional — if omitted, an interactive menu is shown.
Examples
# Interactive provider picker
clother config

# Configure Z.AI directly
clother config zai

# Configure OpenRouter (sets API key and adds model aliases)
clother config openrouter

# Configure a custom Anthropic-compatible endpoint
clother config custom
After saving, clother config automatically re-syncs all launcher symlinks so your changes take effect immediately.

clother list

Lists all available profiles and whether each one is configured (i.e. has an API key set). Usage
clother list
Flags
FlagDescription
--jsonOutput as JSON with profiles array containing name, command, and configured fields.
--plainOutput one profile name per line (useful for scripting).
Examples
# Human-readable table
clother list

# Machine-readable JSON
clother list --json

# Plain list of profile names
clother list --plain

clother info <provider>

Shows the resolved configuration for a specific provider: profile name, display name, model family, base URL, active model, and credential status. Usage
clother info <provider>
Arguments
ArgumentDescription
providerProvider ID (e.g. zai, kimi, ollama). Required.
Flags
FlagDescription
--jsonOutput as JSON.
Examples
# Show resolved config for Z.AI
clother info zai

# Show in JSON
clother info zai --json

# Confirm which model is active for Alibaba
clother info alibaba

clother test [provider]

Tests HTTP connectivity to provider endpoints. With no argument, tests all configured providers (skipping native). With a provider argument, tests only that provider. Prints whether each endpoint is reachable and the HTTP status code returned. Usage
clother test
clother test <provider>
Arguments
ArgumentDescription
providerProvider ID to test. Optional — if omitted, all providers are tested.
Examples
# Test all providers
clother test

# Test a single provider
clother test zai
clother test kimi

clother status

Shows the current Clother installation status: version, config directory, data directory, bin directory, and the number of active profiles. Usage
clother status
Flags
FlagDescription
--jsonOutput as JSON with version, config, data, bin, and profiles fields.
Examples
clother status
clother status --json

clother install

Installs or updates Clother in place. Locates the real claude binary, preserves it, writes config and secrets files, and re-syncs all launcher symlinks. Use this after updating the clother binary or to repair a broken install. Usage
clother install
Examples
# Install or repair
clother install

# Update Clother (re-run after downloading a new binary)
clother install
Requires Claude Code CLI to already be installed. If claude is not found, clother install will exit with an error.

clother uninstall

Removes Clother and all launchers. Deletes all clother-* symlinks, the claude shim, the clother binary, and all config, data, and cache directories. Prompts for confirmation before proceeding unless --yes is passed. Usage
clother uninstall
Flags
FlagDescription
--yesSkip the confirmation prompt.
Examples
# Interactive (asks for confirmation)
clother uninstall

# Non-interactive
clother uninstall --yes
This permanently removes all Clother files including saved API keys. Your original Claude CLI installation is not affected.

clother help

Prints the full help text, including all available providers from the catalog.
clother help

Launcher commands

For every configured provider, Clother installs a clother-<provider> symlink in your bin directory. Invoking a launcher sets the appropriate ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN environment variables and then executes the real claude binary, passing all arguments through.

clother-<provider>

Launches Claude Code using the specified provider.
clother-<provider> [flags] [claude-args...]
Built-in provider launchers
CommandProviderDefault model
clother-nativeAnthropic (subscription)
clother-zaiZ.AI Internationalglm-5
clother-zai-cnZ.AI Chinaglm-5
clother-minimaxMiniMax InternationalMiniMax-M2.5
clother-minimax-cnMiniMax ChinaMiniMax-M2.5
clother-kimiKimi K2kimi-k2.5
clother-moonshotMoonshot AIkimi-k2.5
clother-deepseekDeepSeekdeepseek-chat
clother-mimoXiaomi MiMomimo-v2-flash
clother-alibabaAlibaba Coding Plan (Singapore)qwen3.5-plus
clother-alibaba-usAlibaba Coding Plan (US)qwen3.5-plus
clother-alibaba-cnAlibaba Coding Plan (China)qwen3.5-plus
clother-veVolcEnginedoubao-seed-code-preview-latest
clother-ollamaOllama (local)(specify with --model)
clother-lmstudioLM Studio (local)(specify with --model)
clother-llamacppllama.cpp (local)(specify with --model)

clother-or-<alias>

Launches Claude Code through OpenRouter using a model alias you defined with clother config openrouter.
clother-or-<alias> [flags] [claude-args...]
Example
# After aliasing moonshotai/kimi-k2.5 as "kimi-k25"
clother-or-kimi-k25

Launcher flags

The following flags are accepted by all launcher commands (clother-<provider> and clother-or-<alias>) and by the claude shim installed by Clother.

--no-banner

Suppresses the provider name banner that Clother prints at the start of a session. Useful for scripting or non-interactive use.
clother-zai --no-banner

--model <model-id>

Overrides the default model for this invocation. The value is passed directly to the Claude CLI.
clother-zai --model glm-4.7
clother-ollama --model qwen3-coder
clother-alibaba --model kimi-k2.5

--yolo

Shorthand for --dangerously-skip-permissions. Skips all permission prompts for the current session. Accepted by all launchers and by the Clother claude shim.
clother-zai --yolo
clother-kimi --yolo

--resume <session-id>

Passes a session ID through to the Claude CLI to resume a previous session. This is a Claude CLI flag that Clother forwards unchanged. Clother prints a provider-aware resume command at the end of each session (e.g. clother-kimi --resume <session-id>), so you can resume exactly where you left off with the same provider.
clother-kimi --resume abc123
When resuming a session that was started with a non-Claude provider into clother-native, Clother automatically sanitizes incompatible thinking blocks in the session file before launch, then restores the original session file afterwards.