offrouter initDetect installed harnesses and check readiness.
offrouter init
offrouter init --dry-run --json
offrouter doctorReport Node version, config validity, harness detection, provider readiness, and MCP serve path. Secret values are never printed.
offrouter doctor
offrouter doctor --json
offrouter doctor --profile claude-personal
offrouter loginList available provider categories and detect auth readiness. In the current alpha, this is a guide surface.
offrouter login
offrouter installInstall OffRouter into a harness profile.
offrouter install claude --profile claude-personal --dry-run
offrouter install claude --profile claude-personal
offrouter uninstallRemove OffRouter from a harness profile and restore previous files.
offrouter uninstall claude --profile claude-personal --dry-run
offrouter uninstall claude --profile claude-personal
offrouter route explainExplain the routing decision for a prompt. Local policy checks only. No provider is called.
offrouter route explain "explain this repo" --profile claude-personal
offrouter mcp serveStart the MCP server for delegation tools over stdio.
offrouter mcp serve
offrouter proxy serveStart a local OpenAI Responses-compatible proxy for apps that support custom base URLs.
offrouter proxy serve
Listens on http://127.0.0.1:8787 by default.
offrouter modelsList configured provider ids. Live model discovery arrives with provider adapters.
offrouter models
offrouter profilesList configured profiles and their status.
offrouter profiles
offrouter statusShow provider and profile status.
offrouter status --providers --json
The CLI detects these by name only (never prints values):
ANTHROPIC_API_KEY
OPENAI_API_KEY
OPENROUTER_API_KEY
XAI_API_KEY
GOOGLE_API_KEY
GEMINI_API_KEY
OFFROUTER_API_KEY
OLLAMA_HOST