/multi:setup [nothing needed — just run it]from Multi
Walks users through connecting judge models (Codex, OpenCode, OpenRouter, Gemini) and configuring backends for multi-model code review. Handles onboarding, model selection, and fixing missing backends.
Ships in Multi. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
!"${CLAUDE_SKILL_DIR}/../../scripts/probe.sh"
$SCRIPTS is whatever the probe printed as scripts-dir:. The probe already
ran above — read it, do not run it again. It detected everything detectable:
which CLIs are installed, who is logged in, which keys exist, whether the
OpenCode paid channel is available, whether kilo-available: was printed (offer
Kilo Code, references/kilo.md), whether agy-available: was printed (offer
the Antigravity CLI, references/agy.md), whether devin-available: was
printed (offer the Devin CLI, references/devin.md), and what other AI CLIs
live on this machine. Never ask the user about anything the probe already answered.
On any host other than Claude Code the line above is plain text, nothing
ran. Your first step is then to run the probe yourself and read its output as
if it were printed here: <dir of this SKILL.md>/../../scripts/probe.sh — the
plugin's scripts/probe.sh, two directories above the real file (resolve
symlinks first: realpath of this SKILL.md, then ../../scripts/probe.sh).
If the line above reads Shell substitution failed instead of probe output,
the session is in a git worktree whose shell gate refused the header; the
plugin is fine. Run "${CLAUDE_SKILL_DIR}/../../scripts/probe.sh" yourself,
as one plain command with nothing but the path, and read scripts-dir: from
that.
Your host's name for this skill. The probe prints host:. Claude Code:
/multi:setup · Codex: $multi:setup · OpenCode: @multi-setup or
/multi-setup · omp: /multi-setup · agy and Devin: /multi:setup. Other
multi skills follow the same pattern.
The user here is not assumed technical. No jargon, no walls of text, one step at a time, and never make them feel behind for not having done this already.
Only when little or nothing is connected yet (the host model alone, or one backend). Returning users with a working lineup skip straight to fixing gaps.
This plugin asks several different AI models to look at the same thing instead of just one — when they agree it's a real signal, and when they disagree, that disagreement is exactly what one model alone can never show you. You'll use it mostly as the code-review skill (several models review your changes before a PR), the ask skill (one question, several independent answers), and the check-if-done skill (is this actually finished?). The host model is already connected; each backend below adds an independent reviewer, most at no extra cost.
Right after first contact (and for a returning user, whenever they ask to change models, endpoints or who reviews), put the config in front of them. It is theirs to edit, and the whole point is that they can. In words, then the file:
Everything multi does is set in one file,
$MULTI_HOME/config.toml(default~/.config/multi, or$XDG_CONFIG_HOME/multi; the probe'sconfig:line names the file): which reviewers exist, which models each one tries in order, and which set runs by default. Keys are the one thing kept out of it, inproviders.env, so you can share the config without sharing a key.
If the probe printed config: built-in default, there is no file yet. Run
$SCRIPTS/setup.sh init — it writes the default with a comment on every
field — and show the user the file it wrote (cat it, trimmed to the
backends and profiles, without the long comment header). Then say in one
sentence what the default does: "right now a review runs Codex, OpenCode and
OpenRouter — the last one only once it has a key." If a file already exists,
show that one instead.
They keep the default or change it; either way they now know where the knob is. Every later step in this skill that "writes a model" or "adds an endpoint" is an edit to this file, and you say so each time.
The probe knows what's installed. It cannot know what accounts the user has or what they're willing to pay. Ask one question covering only the missing backends, shaped like this (adjust to the actual gaps):
To pick what to connect, tell me:
- Do you have a ChatGPT subscription? (unlocks GPT as a reviewer, no extra cost)
- Are you okay creating one free account + API key? (unlocks many model families at once via OpenRouter or a compatible service)
- Or keep it strictly free-and-local for now? (OpenCode's free models)
Then recommend an order — the fewest steps to reach at least one reviewer from another family (without one, the code-review skill refuses to run; with one it works, and each further backend makes it stronger). Typical value order: Codex if they have the subscription, otherwise an OpenRouter-style key, OpenCode as the free floor, Gemini as a free extra.
Work through the user's picks one at a time — give one step, wait for them to do it, then the next. Never paste four install blocks in one message.
For each backend, read its reference file first and follow it:
references/codex.mdreferences/opencode.mdreferences/kilo.mdreferences/openrouter.mdreferences/gemini.mdreferences/agy.mdreferences/devin.mdEverything of this plugin lives under $MULTI_HOME/ (default ~/.config/multi): config.toml for
backends, models, endpoints, profiles and timeouts (read references/config.md
before editing it), providers.env for keys only. If the probe printed
models-config: LEGACY, the old opencode list file is no longer read — carry
its models into [backends.opencode] in config.toml and delete the file.
If the probe printed config: BROKEN, fix that first: nothing runs on a broken
config, and it names the key and the reason.
If the probe listed other-ai-clis, you may mention them in one sentence as
detected-but-not-yet-supported. Do not improvise support for them.
When a backend is connected but the model choice is the question (free vs paid, which pin, which fallbacks) — or the user asks "which models should I use" — offer the fork:
references/model-research.md and follow
it: live catalogue + web search (your own model knowledge is stale),
propose a pick, write it into config.toml only after the user approves.Not a preference — a key that reaches this conversation is a leaked key: it
is in the transcript, and if it also reached a command line it is in shell
history and was visible in ps. So setup.sh set <NAME> is given without
a value and run by the user, in their own terminal: it prompts, reads the
key without echoing, and writes it out of sight. If a key lands in the chat
anyway, say plainly it should be rotated at the provider — deleting a message
does not un-leak it.
Keys live in $MULTI_HOME/providers.env, permission 600 (owner-only).
On Windows/MSYS and some mounts chmod silently does nothing; setup.sh
checks afterwards and warns when that happened — if it warned, repeat the
warning to the user instead of claiming the file is protected.
Run:
$SCRIPTS/setup.sh status
This one actually verifies keys over the network (the probe above does not). Report one short block — who's connected, and what each missing one would add:
Connected: <host model>, Codex, OpenRouter (endpoint: 9router)
Not yet: OpenCode / Kilo Code (free extra reviewers), Gemini (free extra reviewer)
The code-review skill works — you have reviewers from another family. Each missing
backend is one more independent opinion, most at no extra cost.
Be honest about degradation, not alarming: missing backends are a normal starting state, not a broken install. Then stop — this skill's only job is getting the judges connected, not running a review.
references/agy.md (opens in a new tab)references/codex.md (opens in a new tab)references/config.md (opens in a new tab)references/devin.md (opens in a new tab)references/gemini.md (opens in a new tab)references/kilo.md (opens in a new tab)references/model-research.md (opens in a new tab)references/opencode.md (opens in a new tab)references/openrouter.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/adhdDivergent ideation across model families — the same brainstorm, but each cognitive frame is handed to a different model (the host model, OpenAI Codex, a cheap third via OpenCode) so the ideas diverge by frame and by model priors at once. Use for open design questions, architecture and API shape, naming, schema choices, fuzzy bugs with no known root cause, or on "multi adhd", "brainstorm with everyone", "wide ideas from all models". Skip for lookups, syntax, and anything phrased as "quick", "standard" or "canonical"./askPut one question to several models at once — the host model, OpenAI Codex, and a cheap third via OpenCode — and show all the answers side by side. No judging, no consensus: three opinions, the user picks. Use for "ask everyone", "what do the other models think", "second opinion", "multi ask", or any open question where one model's answer is not enough./npx claudepluginhub szarkans/multi --plugin multiOther plugins' skills for the same job