Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

llm-councilLLM council 搜索

Agent Skill

llm-council 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

703

周安装

29

GitHub Stars

25

下载量

230
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:llm-council(LLM council 搜索)
来源仓库:https://github.com/oimiragieo/agent-studio
仓库路径:skills/llm-council
安装命令:
npx skills add https://github.com/oimiragieo/agent-studio --skill llm-council
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/oimiragieo/agent-studio --skill llm-council

简介

llm-council 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于需要根据关键词或任务场景从仓库中提取线索的场景。
  • 通过 npx skills add 命令从 GitHub 安装,结合原始 README 核验具体用法。
  • 安装前需确认权限范围和维护状态,注意是否触发联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

LLM Council Skill

Council Protocol

Stage 1: Independent Responses

Dispatch the user's prompt to all available omega CLIs in parallel:

# Check availability
node .claude/skills/omega-gemini-cli/scripts/verify-setup.mjs && HAS_GEMINI=1
node .claude/skills/omega-codex-cli/scripts/verify-setup.mjs && HAS_CODEX=1
node .claude/skills/omega-claude-cli/scripts/verify-setup.mjs && HAS_CLAUDE_CLI=1
node .claude/skills/omega-cursor-cli/scripts/verify-setup.mjs && HAS_CURSOR=1

# Parallel dispatch to available CLIs
TMPDIR=$(mktemp -d)
[ "$HAS_GEMINI" = "1" ] && node .claude/skills/omega-gemini-cli/scripts/ask-gemini.mjs "$PROMPT" --timeout-ms 120000 > "$TMPDIR/gemini.txt" 2>"$TMPDIR/gemini.err" &
[ "$HAS_CODEX" = "1" ] && node .claude/skills/omega-codex-cli/scripts/ask-codex.mjs "$PROMPT" --timeout-ms 120000 > "$TMPDIR/codex.txt" 2>"$TMPDIR/codex.err" &
[ "$HAS_CLAUDE_CLI" = "1" ] && node .claude/skills/omega-claude-cli/scripts/ask-claude.mjs "$PROMPT" --timeout-ms 120000 > "$TMPDIR/claude.txt" 2>"$TMPDIR/claude.err" &
[ "$HAS_CURSOR" = "1" ] && node .claude/skills/omega-cursor-cli/scripts/ask-cursor.mjs "$PROMPT" --yolo --trust --timeout-ms 120000 > "$TMPDIR/cursor.txt" 2>"$TMPDIR/cursor.err" &
wait

Stage 2: Anonymized Peer Review

  1. Collect all successful Stage 1 responses
  2. Assign anonymous labels: Response A, Response B, Response C,...
  3. Maintain label_to_model mapping (e.g., A=gemini, B=codex, C=claude)
  4. Send all anonymized responses back to each available model with:
You are reviewing responses to this question: "$PROMPT"

Response A:
[content]

Response B:
[content]

Response C:
[content]

Evaluate each response for accuracy, completeness, and reasoning quality.
Then provide your FINAL RANKING (best to worst):
1. Response [X]
2. Response [Y]
3. Response [Z]
  1. Parse FINAL RANKING from each reviewer's output using regex: \d+\.\s*Response [A-Z]
  2. Compute aggregate ranking (average position across all reviewers)

Stage 3: Chairman Synthesis

Send to chairman model (default: current Claude session or ask-claude.mjs):

You are the Chairman synthesizing a multi-model council discussion.

Original question: "$PROMPT"

Stage 1 Responses (with de-anonymized model names):
[Model]: [Response]
...

Stage 2 Peer Review Rankings:
Aggregate ranking: [best to worst with scores]

Synthesize the best insights from all responses into a single comprehensive answer.
Highlight areas of consensus and dissent. Provide the strongest possible answer.

Usage

Full council (all available models)

Skill({ skill: 'llm-council' })
# Then in agent: run full council protocol above

Quick consultation (skip peer review)

# Stage 1 only -- parallel dispatch, collect responses, skip ranking
# Use when speed matters more than rigorous evaluation

When to Use

  • High-stakes architectural decisions requiring multiple perspectives
  • Code review where diverse model viewpoints reduce blind spots
  • Plan critique and validation
  • Resolving disagreements about implementation approach
  • Cross-validation of security analysis
  • When the user explicitly requests "council", "multiple perspectives", or "cross-validate"

Iron Laws

  1. ALWAYS check CLI availability before dispatch -- never assume a model is present
  2. ALWAYS anonymize responses before peer review -- model identity bias is real
  3. NEVER skip Stage 2 for high-stakes decisions -- the peer review is the core innovation
  4. ALWAYS preserve all 3 stages in output for transparency
  5. ALWAYS set per-model timeout to prevent one slow model from blocking the council

Anti-Patterns

Anti-PatternWhy BadCorrect Approach
Dispatching to unavailable CLIsSilent failure, missing responsesRun verify-setup.mjs first
Showing model names during peer reviewIntroduces identity biasUse anonymous labels (Response A, B, C)
Using only 2 models for councilPeer review meaningless with 2Require minimum 3 for ranking value
Ignoring failed model responsesMay miss degradationLog failures, include in metadata
Running council for simple questionsMassive overhead for trivial queriesReserve for high-stakes decisions

Exit Codes

CodeMeaning
0Council completed successfully (at least 2 models responded)
1Council failed (fewer than 2 models available or all timed out)

Configuration

Env VarDefaultPurpose
LLM_COUNCIL_TIMEOUT_MS120000Per-model timeout for Stage 1 and Stage 2
LLM_COUNCIL_MIN_MODELS2Minimum models required for council to proceed
LLM_COUNCIL_CHAIRMAN(current session)Chairman model for Stage 3 synthesis

Integration Notes

  • This skill does NOT require the llm-council-master FastAPI server
  • Uses omega wrapper scripts directly via Bash backgrounding for parallelism
  • Anonymized peer review is preserved from llm-council-master's design (its core innovation)
  • Chairman synthesis can use the current Claude session (no additional CLI call needed)
  • Temporary files stored in system temp dir, cleaned up after council completes
  • Minimum 2 available models required for council to proceed

Collaboration Templates

Templates constrain each model's focus during council sessions, producing higher-quality synthesis than sending the same generic prompt to all models. Without a --template flag, the council operates in its default mode (all models receive the same prompt).

Available Templates

Review Template

FieldValue
Agents2-3 (minimum 2)
FocusEach agent reviews from their model's strengths (correctness, security, performance)
SynthesisChairman merges non-overlapping findings, deduplicates shared findings

Roles:

roles:
  - name: correctness-reviewer
    focus: 'Review for logic errors, edge cases, off-by-one bugs, and correctness'
  - name: performance-reviewer
    focus: 'Review for performance bottlenecks, algorithmic complexity, and scalability'
  - name: security-reviewer
    focus: 'Review for security vulnerabilities, injection vectors, and data exposure'
synthesis_strategy: 'merge-by-category'

When to use: Code reviews, PR reviews, audit passes where multiple review dimensions matter.

Implementation Template

FieldValue
Agents2-4 (minimum 2)
FocusPlan, execute, verify staged workflow with sequential handoff
SynthesisSequential -- architect output feeds implementer, verifier checks result

Roles:

roles:
  - name: architect
    focus: 'Design the approach, define interfaces, data flow, and module boundaries'
  - name: implementer
    focus: "Write the implementation following the architect's design exactly"
  - name: verifier
    focus: 'Verify the implementation matches the design and passes acceptance criteria'
synthesis_strategy: 'sequential'

When to use: Feature implementation where design and coding benefit from separation of concerns.

Research Template

FieldValue
Agents2-3 (minimum 2)
FocusIndependent investigation of the same topic, then cross-compare findings
SynthesisSide-by-side comparison matrix highlighting contradictions and agreements

Roles:

roles:
  - name: researcher-a
    focus: 'Research the topic independently, cite sources, provide evidence-backed findings'
  - name: researcher-b
    focus: 'Research the same topic independently from a different angle, cite sources'
synthesis_strategy: 'compare-and-converge'

When to use: Technology evaluation, best-practice research, exploring solution spaces.

Debug Template

FieldValue
Agents2-3 (minimum 2)
FocusEach agent independently diagnoses the same bug and proposes a fix
SynthesisConvergence analysis -- if 2+ agents agree on root cause, high confidence

Roles:

roles:
  - name: diagnostician-a
    focus: 'Independently reproduce and diagnose the bug, propose root cause and fix'
  - name: diagnostician-b
    focus: 'Independently reproduce and diagnose the bug, propose root cause and fix'
synthesis_strategy: 'convergence'

When to use: Hard-to-diagnose bugs where independent analysis reduces bias.

Template Invocation

# Invoke with template
Skill({ skill: 'llm-council', args: '--template review' })
Skill({ skill: 'llm-council', args: '--template implementation' })
Skill({ skill: 'llm-council', args: '--template research' })
Skill({ skill: 'llm-council', args: '--template debug' })

Template Dispatch Behavior

When a --template is specified:

  1. Stage 1: Each model receives the base prompt PLUS its role-specific focus instruction from the template
  2. Stage 2: Peer review proceeds as normal (anonymized, ranked)
  3. Stage 3: Chairman uses the template's synthesis_strategy to guide synthesis:

- merge-by-category: Merge findings by review category, deduplicate - sequential: Present outputs in role order, highlight handoff points - compare-and-converge: Build side-by-side comparison matrix - convergence: Report agreement/disagreement on root cause, confidence score


Council Watchdog

Per-model idle monitoring with two-tier thresholds to detect hung or stalled models during council sessions.

Two-Tier Monitoring

TierThresholdAction
Idle Warning90 seconds of no outputLog warning, optionally send nudge prompt
Stall Timeout180 seconds of no outputTerminate model process, exclude from results

Configuration

watchdog:
  idle_warning_seconds: 90
  stall_timeout_seconds: 180
  nudge_prompt: 'Please continue with your analysis.'
  action_on_stall: 'exclude' # exclude | retry | fail
Env VarDefaultPurpose
LLM_COUNCIL_IDLE_WARNING_S90Seconds before idle warning
LLM_COUNCIL_STALL_TIMEOUT_S180Seconds before stall auto-exclude

Integration with Stage 1

During parallel dispatch, each backgrounded model process is monitored independently:

  1. Start a per-model timer when the process launches
  2. If no output file growth after idle_warning_seconds, log a warning
  3. If no output file growth after stall_timeout_seconds, kill the process and set stall_timeout: true in council metadata
  4. Continue council with remaining models (graceful degradation)

Watchdog Output Metadata

{
  "watchdog": {
    "gemini": { "status": "completed", "duration_s": 45 },
    "codex": { "status": "stall_timeout", "duration_s": 180, "excluded": true },
    "claude": { "status": "completed", "duration_s": 62 }
  }
}

Backward Compatibility

The watchdog is additive to the existing --timeout-ms global timeout. --timeout-ms remains the hard ceiling for the entire council session. The watchdog provides per-model granularity within that ceiling.


Inter-Agent Message Bus

Optional JSONL message file protocol that enables council members to share partial outputs during deliberation.

Overview

By default, council models work in complete isolation during Stage 1. The message bus enables optional partial-output sharing, useful for long deliberations where early findings from one model can inform others.

Opt-In

Enable with --enable-messaging flag. Without this flag, no message directory is created and the council operates in default isolated mode.

Message Protocol

Location: .claude/context/tmp/council-<session-id>/messages.jsonl

Message Schema:

{
  "id": "msg-001",
  "session_id": "council-2026-03-21-abc123",
  "from": "gemini",
  "to": "team",
  "type": "partial_output",
  "content": "Partial finding: JWT implementation has XSS risk in refresh flow",
  "timestamp": "2026-03-21T10:30:00Z"
}

Message Types:

TypePurposeWhen Sent
partial_outputShare an intermediate finding or observationDuring Stage 1, when a model has a partial result
questionAsk the team a clarifying questionDuring Stage 1, when a model needs input
agreementSignal agreement with another model's findingDuring Stage 2, after reading peer outputs
disagreementSignal disagreement with reasoningDuring Stage 2, after reading peer outputs

Read/Write Protocol

  • Write: Each model appends messages to messages.jsonl during Stage 1 execution
  • Read (optional): Models can read messages.jsonl between Stage 1 and Stage 2 for informed review
  • Chairman read: Chairman reads all messages during Stage 3 synthesis for additional context

Cleanup

The session directory (.claude/context/tmp/council-<session-id>/) is deleted after the council completes, including the messages file.


Worktree Isolation

Optional per-agent git worktree isolation for council sessions where agents modify code.

When to Use

Worktree isolation is relevant only for templates that modify code:

TemplateWorktree Applicable?Reason
ReviewNoRead-only analysis
ImplementationYesAgents write code that may conflict
ResearchNoRead-only research
DebugYesAgents may apply experimental fixes

Opt-In

Enable with --use-worktrees flag. Only takes effect when combined with --template implementation or --template debug.

Worktree Lifecycle

  1. Create: For each participating agent, create a worktree: git worktree add.claude/context/tmp/council-<session-id>/<agent-name> -b council/<session-id>/<agent-name>
  2. Execute: Each agent operates within its isolated worktree directory. File modifications do not conflict across agents.
  3. Merge: After council completes, the chairman reviews diffs from each worktree branch and merges non-conflicting changes back to the source branch.
  4. Cleanup: Remove worktrees and branches: git worktree remove.claude/context/tmp/council-<session-id>/<agent-name> git branch -D council/<session-id>/<agent-name>

Conflict Resolution

When worktrees have overlapping changes to the same files:

  1. Chairman identifies conflicting hunks from each agent's diff
  2. Chairman selects the best version based on Stage 2 peer review rankings
  3. If ranking is inconclusive, chairman presents both versions with rationale for human decision

Platform Note

Worktree isolation follows existing agent-studio worktree safety rules. On Windows, ensure paths stay under the OS path length limit. Reference .claude/rules/ for worktree safety patterns.


Multi-Turn Council Sessions

Persistent session state that allows council deliberations to span multiple turns with user feedback between rounds.

Overview

By default, each council invocation is one-shot. Multi-turn sessions enable iterative refinement: the user reviews the synthesis, provides feedback, and the council continues deliberation with the additional context.

Opt-In

  • --multi-turn: Create a resumable session (generates a session ID)
  • --resume SESSION_ID: Continue a previous session with new user input

Session State

Location: .claude/context/tmp/council-<session-id>/session.json

Schema:

{
  "session_id": "council-2026-03-21-abc123",
  "status": "active",
  "turn_count": 2,
  "max_turns": 5,
  "original_prompt": "Review this auth implementation",
  "template": "review",
  "models": ["gemini", "codex", "claude"],
  "turns": [
    {
      "turn": 1,
      "stage_1_responses": { "gemini": "...", "codex": "...", "claude": "..." },
      "stage_2_rankings": { "aggregate": ["gemini", "claude", "codex"] },
      "stage_3_synthesis": "...",
      "user_feedback": "Focus more on the JWT refresh flow"
    }
  ],
  "created_at": "2026-03-21T10:00:00Z",
  "last_active": "2026-03-21T10:15:00Z"
}

Continuation Protocol

When --resume SESSION_ID is used:

  1. Load session.json from the session directory
  2. Verify session is not expired (24-hour TTL from last_active)
  3. Include previous turns' synthesis and user feedback in the next Stage 1 prompt: Previous council synthesis: [Stage 3 output from last turn] User feedback: [feedback text] Continue the analysis with this additional context.
  4. Models receive full conversation history for context continuity
  5. Increment turn_count and update last_active

Configuration

Env VarDefaultPurpose
LLM_COUNCIL_MAX_TURNS5Maximum turns per session before forced closure

Session Expiry

Sessions older than 24 hours are considered expired. Attempting to --resume an expired session returns an error with the session's last synthesis as context.

Cleanup

Session directories are cleaned up when:

  • The session reaches max_turns
  • The user does not resume within 24 hours
  • The user explicitly closes the session (no --resume after final turn)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38%
按下载量换算87

Claude

28.24%
按下载量换算65

Cursor

17.33%
按下载量换算40

Gemini CLI

8.44%
按下载量换算19

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills