analyze
Analyze recent runs - per-model latency, tokens, and verdict agreement - and suggest model/reasoning/fanout tuning. Advisory, read-only.
Check deliberation's health - config, provider CLIs, sessions/debug, and path drift - and suggest fixes. Read-only; never changes anything.
> /plugin marketplace add antonbabenko/deliberation > /plugin install deliberation@antonbabenko-deliberation
How it fires
How this command gets triggered: by you, by Claude, or both.
/doctorContext preview
What this command does when you run it.
Check deliberation's health - config, provider CLIs, sessions/debug, and path drift - and suggest fixes. Read-only; never changes anything.
name: doctor description: Check deliberation's health - config, provider CLIs, sessions/debug, and path drift - and suggest fixes. Read-only; never changes anything. allowed-tools: Bash, Read, mcp__deliberation__analyze timeout: 60000
A quick health check for deliberation. It looks at what is actually set up on this machine - your config, the provider CLIs, the session store - and tells you what is fine, what is off, and the exact command to fix each problem.
It never changes anything. Every fix is yours to run.
Two steps in order:
1. **One Bash call** - all the local checks (config, CLIs, keys, sessions dir, stale registrations). Run it with the **sandbox disabled** - it reads `~/.claude.json`, `~/.config`, and `~/.cache`, which a sandbox blocks. 2. **One `analyze` tool call** - to learn the path the *running server* resolved, so we can catch the one drift bug a local check can't see on its own.
Render a `flutter doctor`-style report: one line per check, tagged `[OK]`, `[WARN]`, or `[FAIL]`, and a fix line under anything that is not OK. End with a one-line summary. If everything passes, say so in one line - do not pad it.
bash "${CLAUDE_PLUGIN_ROOT}/scripts/commands/doctor.sh"If your host does not set `CLAUDE_PLUGIN_ROOT` (see [docs/hosts/](../docs/hosts/)), pass the plugin directory instead: `bash <plugin-root>/scripts/commands/doctor.sh`.
Call the tool, then compare the server's resolved sessions dir to the shell's:
mcp__deliberation__analyze({ sessions: 20, configuredOnly: false })Both args are deliberate: a bounded `sessions` keeps this diagnostic cheap (the default is uncapped), and `configuredOnly: false` shows every model that ever ran, because this step is diagnosing read paths and persistence, not tuning a panel.
`SHELL_SESSIONS_DIR` from step 1.
[FAIL] sessions path drift
server reads: <meta.sessionsDir>
shell wrote: <SHELL_SESSIONS_DIR>
cause: XDG_CACHE_HOME / DELIBERATION_SESSIONS differs between the shell
that wrote records and the process that launched the MCP server.
fix: set DELIBERATION_SESSIONS to one path in both places, then restart.exist but carry no per-opinion verdicts (old or `ask-all` runs); run a fresh `/consensus` to populate `/analyze` Lens B.
isn't reachable -> `[FAIL] MCP server not responding; fix: restart Claude Code, or /deliberation:setup`.
says yes, `/plugin marketplace update antonbabenko` then `/reload-plugins` - their call.
and suggest; the user runs the fix.
command that could open a browser auth flow. Real auth is confirmed by an actual `/ask-*` call.
Get a second opinion in Claude Code from GPT, Gemini, and Grok - plus 400+ more models through OpenRouter, including Qwen, Kimi, and DeepSeek.
Repo: antonbabenko/deliberation
Analyze recent runs - per-model latency, tokens, and verdict agreement - and suggest model/reasoning/fanout tuning. Advisory, read-only.
Ask GPT, Gemini, Grok, and any configured OpenRouter models in parallel for independent second opinions, then synthesize and compare. Zero cross-contamination.
Get Gemini second opinion on a question or current work. Single-shot, advisory, no contamination. Model pinned per call.
Get GPT (Codex) second opinion on a question or current work. Single-shot, advisory, no contamination.
Get Grok (xAI) second opinion on a question or current work. Single-shot, advisory, no contamination.
Ask a single configured OpenRouter model for a second opinion. Advisory only. Single-shot or multi-turn.