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.
git clone --depth 1 https://github.com/AltimateAI/claude-consensusWrote 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.
[](https://agentmods.dev/commands/altimateai/claude-consensus/consensus-setup)<a href="https://agentmods.dev/commands/altimateai/claude-consensus/consensus-setup"><img src="https://agentmods.dev/badge/commands/altimateai/claude-consensus/consensus-setup/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/altimateai/claude-consensus/consensus-setup"><img src="https://agentmods.dev/badge/commands/altimateai/claude-consensus/consensus-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00016 | $0.03818 |
| Opus 5.5 | $0.00006 | $0.01527 |
| Sonnet 5.5 | $0.00003 | $0.00764 |
| Haiku 4.5 | $0.00002 | $0.00382 |
Grade B, and why
consensus-setup scanned grade B with 2 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 1mo 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
[ -f ~/.claude/.env ] && grep -q 'OPENROUTER_API_KEY=.\+' ~/.claude/.env && echo "KEY_FOUND" || echo "KEY_MISSING" Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- check that the OpenRouter id is listed: `curl -s https://openrouter.ai/api/v1/models | jq -r '.data[].id' | grep -F '<id>'` How it starts
The opening of the file, as written. The whole thing — 329 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Consensus Setup Wizard
Interactive setup to configure which AI models participate in /code-review and /plan-review.
Step 1: Check for Existing Config
Check if ~/.claude/consensus.json exists using the Read tool.
If it exists, show the user what's currently configured (list enabled models and quorum), then ask:
AskUserQuestion:
question: "An existing consensus config was found. What would you like to do?"
header: "Config"
options:
- label: "Reconfigure"
description: "Start fresh — replace the existing config with new settings"
- label: "Keep current"
description: "Exit setup and keep the current configuration"
If user chooses "Keep current", print the current config summary and stop.
If user chooses "Reconfigure", note any entry whose id is not one of the 9 built-in ids, or whose command uses a different OpenRouter id than the table in Step 5. Offer those again in Step 5 instead of silently dropping them.
Step 2: Auto-Detect CLIs
Run all of these checks in parallel via Bash:
command -v pi && echo "PI_OK" || echo "PI_MISSING"
command -v codex && echo "CODEX_OK" || echo "CODEX_MISSING"
command -v agy && echo "AGY_OK" || echo "AGY_MISSING"
command -v qwen && echo "QWEN_OK" || echo "QWEN_MISSING"
Also check for an existing OpenRouter API key (verify it's non-empty):
[ -f ~/.claude/.env ] && grep -q 'OPENROUTER_API_KEY=.\+' ~/.claude/.env && echo "KEY_FOUND" || echo "KEY_MISSING"
Report findings to the user:
## CLI Detection Results
- pi CLI: {installed / not found}
- Codex CLI: {installed / not found}
- Antigravity CLI (`agy`): {installed / not found}
- Qwen CLI: {installed / not found}
- OpenRouter API key: {found in ~/.claude/.env / not found}
Step 3: Provider Choice
AskUserQuestion:
question: "How do you want to connect to external models?"
header: "Provider"
options:
- label: "OpenRouter (Recommended)"
description: "1 API key, all 9 models via pi. Simplest setup."
- label: "Native CLIs"
description: "Use codex, Antigravity (`agy`), and qwen CLIs directly where available. Requires each CLI installed separately."
- label: "Both"
description: "Mix and match — use native CLIs where available, OpenRouter/pi for the rest."
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.
- 1mo ago Changed · +21 lines 4c6a1034c163
- 3mo ago First seen · 308 lines · 16 tokens per session scan B c751dcc701a7
consensus-setup is a command published in the GitHub repository AltimateAI/claude-consensus (35 stars, last pushed 1mo ago), licensed MIT. It adds 16 tokens to every session and 3,818 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
consensus-setup compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| consensus-setupAltimateAI/claude-consensus | Command | 35 | 1mo ago | MIT | B | 16 | Claude Code |
| review-pryonatangross/orchestkit | Command | 315 | today | MIT | A | 47 | Claude Code, Cursor |
| audit-fullyonatangross/orchestkit | Command | 315 | today | MIT | A | 45 | Claude Code, Cursor |
| iterate-planyonatangross/orchestkit | Command | 315 | today | MIT | A | 38 | Claude Code, Cursor |
| review-artifact-commentsyonatangross/orchestkit | Command | 315 | today | MIT | A | 45 | Claude Code, Cursor |
| review-prMadaraUchiha-314/the-loop | Command | 8 | today | MIT | A | 34 | Claude Code |
| clean-checkTeamManagementPlugin/claude-plugin | Command | 6 | 1mo ago | MIT | A | 27 | Claude Code |