AgentSkillsCN

querying-council

通过在选定的 AI 提供商(Gemini、OpenAI、Grok、Perplexity)上运行查询管道来执行理事会查询,以格式化后的原文形式展示响应,并生成共识、分歧及建议的综合分析。在标准(非代理)理事会查询期间,通过 ask 命令调用此技能。

SKILL.md
--- frontmatter
name: querying-council
description: Executes council queries by running the query pipeline across selected AI providers (Gemini, OpenAI, Grok, Perplexity), displaying formatted responses verbatim, and generating a synthesis of consensus, divergence, and recommendations. Invoked by the ask command during standard (non-agent) council queries.

Council Query Execution

Step 1: Run Query and Save to File

bash
bash ${CLAUDE_PLUGIN_ROOT}/scripts/run-council.sh --providers=gemini,openai -- "Your question"

This outputs the path to the saved file (e.g., .claude/council-cache/council-1734567890.md).

Flag syntax: Use = with no spaces: --providers=gemini,openai

CRITICAL: Always place -- before the prompt to prevent prompt text containing dashes from being parsed as flags.

Step 2: Read and Display the Output VERBATIM

Use the Read tool to read the output file path returned by Step 1.

CRITICAL: Display the file content EXACTLY as written. Do NOT:

  • Reformat or reinterpret any text
  • Add your own headers or structure
  • Summarize or abbreviate responses
  • Skip any lines including separator lines (---)

Simply copy-paste the entire file content into your response.

Step 3: Complete the Synthesis Section

The file ends with a ## Synthesis header. Write your synthesis UNDER that header:

  • Consensus: Where providers agree
  • Divergence: Where they disagree
  • Recommendation: Best approach

Step 4: Notify User of Saved Output

After displaying the synthesis, tell the user:


(use this emoji 💾) Full output saved to .claude/council-cache/council-TIMESTAMP.md (use the actual filename)

This lets them review the complete responses later.

Output Format: Provider Names

The output file uses emoji prefixes to visually distinguish providers. Preserve this format when displaying results:

ProviderPrefix
Gemini🟦 Gemini
OpenAI🔳 OpenAI
Grok🟥 Grok
Perplexity🟩 Perplexity