consensus
Cross-model review of an assessment and its implementation, with discussion rounds and user approval gates. Use when a complex design or implementation needs…
от Integralist★ 31 звезда на GitHub
Установить consensus в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Consensus
You're the host agent. Use one or more consulting agents, other AI CLIs run headlessly, as second reviewers of your assessment and your implementation, with the user approving at a gate between phases. Advance a phase only when every consultant has reviewed, discussion has converged or hit its cap, and the user has approved.
Workflow. Use the variant the user asked for, and confirm one before setup if they didn't: full (phase A and its gate, then phase B and its gate), assessment-only (phase A to its gate, no implementation), or implementation-only (phase B against an assessment or plan the user has approved). Single-agent can modify any of them: cheaper and less diverse, with the same phases and gates.
Setup
Consultants. Use the CLIs the user names ("use agy and codex").
Otherwise detect them with command -v agy gemini codex claude copilot,
excluding the host. Prefer agy (Google Antigravity, the Gemini CLI's
successor) and skip gemini when both exist, to avoid duplicate Google
coverage. If several are found and the user has no preference, ask,
defaulting to all of them. If none are found, tell the user and ask whether
to install one or go ahead without consensus; never skip consultation
silently.
agy -p "<prompt>": reads stdin, appended to the prompt.gemini -p "<prompt>" --output-format text: reads stdin; use a single-quoted heredoc for the prompt body.codex: checkcodex --helpbefore first use.claude -p "<prompt>": reads stdin; an independent-context reviewer whatever the host.copilot -p "<prompt>" --allow-all-tools: GitHub Copilot CLI.--allow-all-toolsis required headless,-pdoesn't read stdin so put the diff in the prompt body, and--model <id>pins a model.- Any other CLI: find its non-interactive prompt flag in
<cli> --helprather than guessing.
Prerequisites. At least one consultant on PATH and the repo checked out
locally, so git diff means something. Consultants send content to
third-party APIs, so redact secrets, .env files, credentials, private
keys, or anything you wouldn't paste into a third-party service, or ask the
user before sending.
Secondary lenses. In A3 and B2, give each consultant one lens on top of the full core focus, cycling when there are more consultants than lenses: evidence gaps and known unknowns; failure modes and hidden costs; the strongest success case and what to preserve; alternatives that change the trade-off; process, reversibility, and the smallest useful next step.
Phase A: assessment
Discover, in up to three rounds of reading code, tests, recent commits, and convention files. Round 1 forms a hypothesis; round 2 attacks it (what it assumes, which edge cases break it, whether the rejected alternative was dropped for a concrete reason); round 3 runs only if round 2 found material gaps. If the plan has fuzzy terms or hasn't been tested against the domain model, run the grill-with-docs skill here with the user. If only a legacy
CONTEXT.mdexists, use it and warn the user with⚠️to rename it toGLOSSARY.md. Done at the first round with no new findings.Write the assessment, specific enough to review: not "we will add a cache" but "in-process LRU keyed by
(tenant_id, query_hash), capacity 10k, TTL 5m, ininternal/cache/query.go". For a written plan or doc, run the critique skill on your draft first, so consultants spend their attention on harder problems. Done when it follows this shape:## Problem <task in your own words, with constraints> ## Proposed approach <plan with specific files / functions / changes> ## Key decisions and trade-offs <each non-obvious choice with rejected alternatives and concrete reasons> ## Risks and open questionsConsultant review. Send each consultant the review prompt in parallel, so each reaches its own view first, with the A3 focus, its lens, and the assessment. Merge duplicate findings into one stronger finding, noting who raised it. Mark each finding accept, reject with reason (a concrete fact: file, behaviour, constraint, number), or defer to user (a judgment call). Done when every finding is marked.
Discuss, up to two rounds per consultant: send the rebuttal prompt only to those whose findings you rejected. Carry a disagreement between two consultants into the gate rather than resolving it yourself. Done when each dispute has converged or hit the cap.
Gate. Show the revised assessment, which reviewers contributed what, and an evidence ledger separating verified facts, assumptions, and unknowns. Show unresolved positions side by side, each classed as a factual dispute, a value or trade-off dispute, or missing evidence; investigate factual ones where you can, and leave value disputes to the user rather than researching them. Then stop: implementation wai
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл consensus?
Cross-model review of an assessment and its implementation, with discussion rounds and user approval gates. Use when a complex design or implementation needs independent review from other AI CLIs.
Как установить скилл consensus?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл consensus запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…