Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

council-orchestrator

БесплатноЗапускает вложенные скриптыНе проверен

Orchestrates multi-model LLM consensus through a three-phase deliberation protocol. Use when you need collaborative AI review, multi-model problem-solving…

hey-yvanот hey-yvan★ 21 звезда на GitHub18 установок в других каталогах

Об этом скилле

Council Orchestration Protocol

Overview

Three-phase consensus protocol coordinating multiple LLMs for collaborative decision-making.

Architecture:

  • Phase 1: Parallel opinion collection from available LLMs
  • Phase 2: Cross-examination peer review
  • Phase 3: Chairman synthesis of consensus

Council Members:

  • Claude CLI (required minimum)
  • OpenAI Codex CLI (optional, enhances consensus)
  • Google Gemini CLI (optional, enhances consensus)

Quick Start

Prerequisites Check

# Resolve path to council_utils.sh
if -n "${COUNCIL_PLUGIN_ROOT:-}"; then
    UTILS_PATH="${COUNCIL_PLUGIN_ROOT}/skills/council-orchestrator/scripts/council_utils.sh"
elif -n "${CLAUDE_PLUGIN_ROOT:-}"; then
    UTILS_PATH="${CLAUDE_PLUGIN_ROOT}/skills/council-orchestrator/scripts/council_utils.sh"
else
    UTILS_PATH="${CLAUDE_PROJECT_DIR}/skills/council-orchestrator/scripts/council_utils.sh"
fi

source "$UTILS_PATH"
get_cli_status

Quorum Requirements:

  • Minimum: 1 CLI (Claude) - single-model mode for testing
  • Recommended: 2+ CLIs - enables peer review and synthesis
  • Optimal: All 3 CLIs - full consensus protocol

See detailed prerequisites for CLI installation.


Execution Flow

Phase 1: Opinion Collection

Quick Start:

# Initialize working directory
council_init

# Validate user input (security)
validate_user_input "$user_query" || exit 1

# Execute parallel opinion collection
PLUGIN_ROOT=$(get_plugin_root)
"${PLUGIN_ROOT}/skills/council-orchestrator/scripts/run_parallel.sh" "$query" .council

What it does:

  • Consults all available LLMs in parallel
  • Captures opinions to .council/stage1_*.txt
  • Validates outputs and marks absent members
  • Checks quorum for proceeding

Output Files:

  • .council/stage1_claude.txt (required)
  • .council/stage1_openai.txt (if Codex available)
  • .council/stage1_gemini.txt (if Gemini available)

Manual Execution: See Phase 1 detailed guide


Phase 2: Peer Review

Quick Start:

PLUGIN_ROOT=$(get_plugin_root)
"${PLUGIN_ROOT}/skills/council-orchestrator/scripts/run_peer_review.sh" "$original_question" .council

What it does:

  • Each LLM reviews peers' responses anonymously
  • Uses structured review template from templates/review_prompt.txt
  • Executes reviews in parallel
  • Outputs to .council/stage2_review_*.txt

Cross-Review Matrix:

Reviewer Reviews
Claude Codex (A) + Gemini (B)
Codex Claude (A) + Gemini (B)
Gemini Claude (A) + Codex (B)

Output Files:

  • .council/stage2_review_claude.txt
  • .council/stage2_review_openai.txt
  • .council/stage2_review_gemini.txt

Manual Execution: See Phase 2 detailed guide


Phase 3: Chairman Synthesis

Quick Start:

# Generate chairman invocation prompt
PLUGIN_ROOT=$(get_plugin_root)
CHAIRMAN_PROMPT=$("${PLUGIN_ROOT}/skills/council-orchestrator/scripts/run_chairman.sh" \
    "$original_question" \
    .council)

# Invoke chairman sub-agent
# Use Task tool: council-chairman agent

Prompt for Chairman:

Use the council-chairman agent to synthesize the council's responses.

$CHAIRMAN_PROMPT

After chairman completes:

# Retrieve final report for this run
cat .council/final_report.md

What it does:

  • Chairman agent reads all Stage 1/2 files
  • Analyzes for consensus and disagreements
  • Generates comprehensive verdict report
  • Writes to .council/final_report.md

Context Isolation:

  • Chairman operates in isolated context
  • Only has Read/Write tools (no Bash, no external CLIs)
  • Ensures unbiased synthesis based solely on files

Manual Execution: See Phase 3 detailed guide


Error Handling

Error Handling Details
CLI missing Proceed with available members See quorum requirements
Rate limit (429) Exponential backoff, retry once Rate limit handling
Empty output Mark member absent in report Empty output handling
Timeout (>120s) Terminate, mark absent Timeout configuration
Quorum failure Abort council session Quorum check

Graceful Degradation:

  • Council proceeds with available members (minimum 1 required)
  • Absent members are noted in final report
  • Peer review skipped if <2 responses
  • Single-model mode if only Claude available

Security Best Practices

⚠️ Important: This skill executes external CLI tools with user-provided input. Follow security guidelines to prevent command injection and ensure safe operation.

Key Security Measures

  • **Input Validati
Полный SKILL.md на GitHub

Установить council-orchestrator в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

EXAMPLES.mdMETADATA.mdREFERENCE.mdSECURITY.mdscripts/check_codex_env.shscripts/council_utils.shscripts/query_claude.shscripts/query_codex.shscripts/query_gemini.shscripts/run_chairman.shscripts/run_parallel.shscripts/run_peer_review.shscripts/source_utils.shtemplates/chairman_prompt.txttemplates/review_prompt.txt

FAQ

Что делает скилл council-orchestrator?

Orchestrates multi-model LLM consensus through a three-phase deliberation protocol. Use when you need collaborative AI review, multi-model problem-solving, code review from multiple perspectives, or consensus-based decision making. Coordinates OpenAI Codex, Google Gemini, and Claude CLIs for opinion collection, peer review, and chairman synthesis.

Как установить скилл council-orchestrator?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл council-orchestrator запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить council-orchestrator с