From claude-impl-tools
Orchestrates Claude + Gemini CLI + Codex CLI for 3-stage multi-AI consensus (opinions → rebuttals → synthesis) on code reviews, market analysis, investments, risks. Auto-detects domain.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-impl-tools:multi-ai-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> **Heavy-Hitter**: State the domain in natural language — right panel assembled automatically.
CHANGELOG.mdcouncil.config.yamlpackage-lock.jsonpackage.jsonpresets/PRESET-EXPANSION-PROMPT.mdpresets/architecture-review.yamlpresets/business-plan.yamlpresets/campaign-review.yamlpresets/code-review.yamlpresets/contract-review.yamlpresets/crisis-response.yamlpresets/default.yamlpresets/investment.yamlpresets/market-regime.yamlpresets/ml-model-review.yamlpresets/paper-review.yamlpresets/portfolio-rebalance.yamlpresets/product-review.yamlpresets/project-gate.yamlpresets/risk-assessment.yamlHeavy-Hitter: State the domain in natural language — right panel assembled automatically. Cost: CLI subscription plans only — no additional API charges.
# Code review
"Review this PR"
# Market analysis
"How does the market look today?"
# Investment
"Evaluate this investment"
# Consensus (auto-applied)
"Convene a council on this direction"
command -v claude # Claude Code (Chairman)
command -v gemini # Gemini CLI (optional)
command -v codex # Codex CLI (optional)
Stage 1: Initial Opinions (parallel)
├── Gemini CLI → opinion.md (perspective A)
└── Codex CLI → opinion.md (perspective B)
Stage 2: Cross-Review (rebuttal)
├── Gemini reviews/rebuts Codex
└── Codex reviews/rebuts Gemini
Stage 3: Chairman Synthesis
└── Claude synthesizes → Score Card → decides if more rounds needed
Keywords detected automatically — no preset naming needed.
| Preset | Keywords | Gemini | Codex |
|---|---|---|---|
| code-review | review, PR, code, merge | architecture/UX | technical/patterns |
| market-regime | market, stocks, macro | macro/news | quant/indicators |
| investment | investment, valuation, deal | market/strategy | finance/risk |
| risk-assessment | risk, security, danger | external threats | internal weaknesses |
| project-gate | gate, milestone, Go/No-Go | stakeholders/scope | schedule/resources |
| planning | plan, PRD, design, architecture, council | CTO (architecture/scalability) | Security (threats/compliance) |
| default | (fallback) | strategy/opportunity | execution/risk |
Full presets: presets/*.yaml
| Grade | Min Score |
|---|---|
| A | 90 |
| B | 80 |
| C | 70 |
| D | 60 |
| F | 0 |
| Label | Meaning |
|---|---|
| Critical | Immediate action |
| High | Priority recommended |
| Medium | Improvement recommended |
| Low | For reference |
| Dimension | Weight |
|---|---|
| Security | 25% |
| Performance | 20% |
| Maintainability | 25% |
| Correctness | 20% |
| Style | 10% |
Core Principles:
planning domain: play Devil's Advocate. Challenge every recommendation with "What's the tradeoff?" — never accept "good point" without a follow-up probing question.planning domain + CLI unavailable: spawn Agent(CTO) + Agent(UX) + Agent(Security) per references/council-personas.md instead of skipping.Quick Reference:
| Rule | Trigger | Action |
|---|---|---|
| Evidence Hierarchy | Concrete vs structural | Prioritize file:line |
| Verification Required | Score adjustment | Run grep/file read first |
| Pre-Deploy Gate | Task completion | Block if checks fail |
| Delta Arbitration | Gap ≥15 | Verify, don't average |
| 2× Weight | code-review + verified Codex | Formula: (codex×2 + gemini)/3 |
| Council Skeptic | planning domain | "What's the tradeoff?" on every recommendation |
| Planning Fallback | planning + no CLI | Spawn Agent(CTO) + Agent(UX) + Agent(Security) |
Detailed rules: references/evidence-rules.md
1. Extract Evidence
- File:line citations (Codex)
- Structural observations (Gemini)
- Run Done-When verification
2. Consensus Evaluation
- Consensus reached? → Proceed
- Unresolved issues? → Additional round
- Score gap ≥15? → Verify per Evidence Rules
3. Additional Round (if needed, max 2)
- Focused question on contention point
- Re-run Cross-Review
4. Final Synthesis
- Score Card with grades
- Severity summary
- Recommendations
Full protocol: references/chairman-protocol.md
./skills/multi-ai-review/scripts/council.sh --mode ci "review request"
Thresholds (council.config.yaml):
on_fail: "block" — returns non-zero exit code.
| Preset | Verdict Options |
|---|---|
| code-review | A / B / C / D / F (score-based) |
| market-regime | Strong Bull / Bull / Neutral / Bear / Strong Bear |
| investment | Strong Buy / Buy / Hold / Pass / Strong Pass |
| risk-assessment | Critical / High / Medium / Low / Negligible |
| planning | Strongly Recommend / Recommend / Revise / Major Revise / Reject |
| default | Strong Agree / Agree / Neutral / Disagree / Strong Disagree |
skills/multi-ai-review/
├── SKILL.md # this file
├── council.config.yaml # member, routing, scoring config
├── presets/
│ ├── code-review.yaml
│ ├── market-regime.yaml
│ ├── investment.yaml
│ └── default.yaml
├── scripts/
│ └── council.sh # main execution
└── references/
├── evidence-rules.md # Chairman Evidence Weighting (detailed)
└── chairman-protocol.md # Stage 3 protocol (detailed)
Last Updated: 2026-04-01 (v4.2.0 — Council mode: planning preset + CTO/UX/Security personas + Council Skeptic rule)
npx claudepluginhub insightflo/claude-impl-tools --plugin claude-impl-toolsQueries multiple external AI agents (Codex, Gemini, OpenCode, Claude Code) in parallel for independent second opinions on code review, architecture decisions, security review, and ambiguous problems. Not for simple questions.
Starts AI council deliberation querying Codex, Gemini, and OpenCode in parallel for multi-perspective answers to coding questions or tasks. Returns task ID for async status checks.
Spawns parallel agents with distinct cognitive personas to deliberate on questions, research codebase files, and synthesize opinionated verdicts. For multi-viewpoint analysis of decisions, designs, or strategies.