council
Run a read-only second-opinion code review across Copilot, Vertex, and Bedrock models using Pi subagents.
от Integralist★ 31 звезда на GitHub
Установить council в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Get an independent, read-only second opinion on a code change from three
different model providers (github-copilot, google-vertex, and
amazon-bedrock), always avoiding the model currently active in this session.
Never edit code, change git state, or post PR comments.
Pre-flight checks
- Require
pi-subagents. Verifyspawn_inline_subagentandget_subagent_resultare available in this session. If missing, stop and tell the user to installgit:github.com/Integralist/pi-subagentsand reload Pi. - Identify the active model. Read
$PI_PROVIDERand$PI_MODEL. If auto-routed (pi-auto-model/auto), check which physical model ran (or ask if unknown). Strip any Bedrockglobal.prefix when comparing model IDs soanthropic.claude-opus-5-5matchesglobal.anthropic.claude-opus-5-5.
Choose the review target
Accept these source arguments in any position, plus optional focus instructions:
| Argument | Source |
|---|---|
--target=<pr-url> or --target=<owner/repo#number> |
Remote PR via gh pr view and gh pr diff |
--branch |
Local branch commits vs. default branch (main, master, or origin/HEAD) |
--uncommitted |
git diff HEAD plus untracked files (git ls-files --others --exclude-standard) |
--all-changes |
git diff "$BASE" plus untracked files against default branch |
--target=<path> or --target=<glob> |
Explicit files plus git diff HEAD -- <paths> |
If no source argument is given:
- If only uncommitted changes exist, use
--uncommitted. - If the working tree is clean and the branch is ahead of the default branch,
use
--branch. - If both exist, ask the user which target to review.
- If neither has changes, report "No changes to review" and stop.
Write the diff once to a temp file (DIFF_PATH under $TMPDIR) alongside the
changed-file list (appending git diff --no-index /dev/null <file> for
untracked files) so all subagents review the exact same snapshot. For PR or
--branch reviews, warn reviewers if the local working tree differs from
headRefOid or HEAD (or extract changed files at that revision into temp
files). If the diff is empty and no files match, report "No changes to review"
and stop.
Select one model per provider
Pass allow_model_fallback: false, thinking: "high", max_turns: 40, and
read-only tools (["read", "grep", "find", "ls"]) to every
spawn_inline_subagent call so an unavailable model fails loudly instead of
silently reusing the active model. (If Copilot models fail as unavailable,
note that make install-pi PI_MODELS=true installs .pi/agent/models.json.)
| Provider | Default model | Alternate when default is active |
|---|---|---|
github-copilot |
github-copilot/gpt-6.2-astra |
github-copilot/gpt-6.2-sol |
google-vertex |
google-vertex/gemini-4-carbon |
google-vertex/gemini-4-hydrogen |
amazon-bedrock |
amazon-bedrock/global.anthropic.claude-opus-5-5 |
amazon-bedrock/global.anthropic.claude-sonnet-5-5 |
Use Claude models only on amazon-bedrock (never GPT on Bedrock), and swap
between gemini-4-carbon and gemini-4-hydrogen on google-vertex (never
gemini-4-argon).
Launch subagents and handle Bedrock auth
Check Bedrock auth non-interactively. Run:
aws sts get-caller-identity --profile bedrock >/dev/null 2>&1Start Copilot and Vertex right away. Spawn the
github-copilotandgoogle-vertexsubagents immediately viaspawn_inline_subagent. If step 1 did not succeed, passwake_on_finish: falseon both so background completion does not interrupt the user while they log in. Give each a concisesystem_prompt(independent, read-only senior reviewer; citepath:line; end withCOMPLETEorINCOMPLETEplus any skipped files). Inprompt, passDIFF_PATH, the changed-file list, any user focus note, and ask what is missing, wrong, risky, or overlooked.Handle Bedrock.
- If step 1 succeeded, spawn the
amazon-bedrocksubagent immediately too. - If step 1 did not succeed, alert the user that Bedrock requires
authentication, tell them to run
aws sso login --profile=bedrock(noting a browser window will open), and wait for their go-ahead before spawning theamazon-bedrocksubagent. If they prefer to skip Bedrock, proceed with the two running models.
- If step 1 succeeded, spawn the
Verify and synthesize
Collect every spawned subagent with get_subagent_result (if it returns
"still working", wait and poll again, or let the user cancel). Check claimed
defects against the actual diff and files so false positives are not passed
along as facts, then report:
- Agreements: Confirmed bugs, gaps, or risks raised by multiple models.
- Unique findings and disagreements: Notable catches or differing takes attributed to each model.
- Coverage gaps: Any skipped, unverified, or unsuccessful provider run.
- Next step: One concise recommendation (do not
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл council?
Run a read-only second-opinion code review across Copilot, Vertex, and Bedrock models using Pi subagents.
Как установить скилл council?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл council запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…