Artifact 2f984e363b70e7e176a72a400a3d041b675ac6ac5fcff3930e50be3e3c76af5f:
- File docs/manual/auth.md — part of check-in [6b85612d46] at 2026-11-24 18:06:19 on branch auth-4 — Rules give a model family its own key; picker key column (#73) (user: dmestas, size: 2832) [annotate] [blame] [check-ins using] [more...]
Keys and sign-ins: /auth
/auth opens one list of every key and sign-in pic has, grouped by provider, with what pic last
learnt of each, which one the current model uses, and what Enter would do for it. /key is the same
command, and /logout with no provider opens it too. /login with no provider is its add step, the
providers to choose from; with a provider, /login and /logout go straight to its login or remove
its stored key, as before.
Auth 2 of 4
model anthropic/claude-sonnet-5-5 · key default · store open
anthropic
→ default* ← this model API key · ok, checked 2 min ago
second API key · ! out of credit since 14:02 (HTTP 402)
openrouter
default* API key · $4.12 left
+ add a key or sign in
Your credit balance is too low to access the Anthropic API. Not used: anthropic's requests use
enter: replace this key · d: remove
↑↓ move · enter: fix · a: add · d: remove · c: check · m: models · esc: close
The line under the title names the model, the key it uses and whether the credential store has
been opened yet. A * marks the key each provider's requests use; ← this model the one the
current model uses. A key known to be bad is red, and the provider's own words for why are under
the list. When the model's provider has no key at all, it gets a row to add one.
| Key | Does |
|---|---|
| Up, Down, PageUp, PageDown, Home, End | move |
| Enter | what the row needs: use a healthy key, replace a refused one (its login, under its name), sign in again, or add one where there is none |
| a | add a key or sign in: the providers, as /login shows them |
| d | remove the selected stored key or sign-in; y confirms, any other key keeps it |
| b | the models for the selected key: type a pattern (fake/claude-opus-*), Enter saves it as a rule, or removes it when the key has it (rules) |
| c | run every key's free check now; the rows change as providers answer |
| m | the model picker |
| Esc, Ctrl+C | close |
Opening it runs the free checks of keys not checked in the last ten minutes
(free checks); nothing is ever sent that costs money. A key held in a
variable or in models.json is listed, and Enter can make it the provider's, but pic cannot
remove it: unset the variable, or edit the file.
It is drawn as the settings panel is: a box over the conversation in
fullscreen, the rows above the footer otherwise, and it opens while a reply streams without
stopping it. No key opens it by default; the action app.credential.select can be bound in
keybindings.json. Scripts and agents have the same actions as commands:
for scripts and agents.