setup

setup is a command for coding agents from tsarihan/model-council-mcp-codex. It costs 17 tokens per session (494 once invoked), scanned A, original, Apache-2.0.

An interactive setup command for a group of AI models from providers such as Claude, ChatGPT, Ollama, and Grok.

In plain words
What is it for?
Creating or changing the model group, checking provider access, and showing member counts, limits, and quota warnings.
Why use it?
It checks which models and command-line tools are available, then helps choose subscription tiers and members without manual configuration.

Command

Part of the model-council plugin — 2 skills, 2 commands, 1 hook, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/tsarihan/model-council-mcp-codex/setup
Clone the repo
git clone --depth 1 https://github.com/tsarihan/model-council-mcp-codex

Or install model-council, the plugin that ships this one along with the rest of its 2 skills, 2 commands, 1 hook, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/tsarihan/model-council-mcp-codex/setup.svg)](https://agentmods.dev/commands/tsarihan/model-council-mcp-codex/setup)
Your own site
<a href="https://agentmods.dev/commands/tsarihan/model-council-mcp-codex/setup"><img src="https://agentmods.dev/badge/commands/tsarihan/model-council-mcp-codex/setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 494 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00017 $0.00494
Opus 5 $0.00009 $0.00247
Sonnet 5 $0.00003 $0.00099
Haiku 4.5 $0.00002 $0.00049

Measured 3d ago against content hash 370578a7bee1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • setup — 91% identical, 3 lines differ
commands/setup.md · 25 lines

What it actually says

Help the user set up the model council interactively.

  1. Call the council_status tool first to detect their environment (local Ollama models, cloud reachability, whether the Claude, Codex, and Grok CLIs are installed and logged in) and see the current council + tiers.

  2. For each subscription they might want to change, use an interactive selectable menu (AskUserQuestion) so they can pick with arrow keys — only ask about ones that are relevant (e.g. don't push a Claude tier if the Claude CLI isn't installed):

    • Claude: free · pro · max5x · max20x
    • ChatGPT: free · plus · pro5x · pro20x
    • Ollama: free · pro · max
    • Grok: free · supergrok · premiumplus · heavy (CLI access is intentionally fail-closed; prefer the X.AI API) Free = no cloud/subscription members for that provider. Higher tiers raise that provider's concurrency limit.
  3. Call setup_council with the chosen tiers. Then show the user:

    • the resulting council members (grouped by provider) and the total count,
    • the quota warning (these members use their own subscription quotas),
    • any hints from council_status (e.g. "Codex CLI installed but not signed in — run codex login"),
    • and that a /reload-plugins is needed for concurrency / newly-enabled providers to take full effect.

Keep it friendly and concise. If they want to trim the council, remind them configure_council can remove members and the change persists.

Always write model IDs in full and verbatim as they appear in the tool output — in particular the Codex members are gpt-5.6-sol, gpt-5.6-luna, and gpt-5.6-terra. Never abbreviate them to sol / luna / terra (the bare names are invalid for a ChatGPT account and are confusing to the user).

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 25 lines · 17 tokens per session scan A 370578a7bee1

Subscribe to this mod's changes

setup is a command published in the GitHub repository tsarihan/model-council-mcp-codex (0 stars, last pushed 28d ago), licensed Apache-2.0. It adds 17 tokens to every session and 494 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.