HY

hey-yvan/llm-council-plugin

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

20 stars 质量 45 趋势 10

一个多模型共识引擎,集成了OpenAI Codex CLI、Google Gemini CLI和Claude CLI,实现协作代码审查和问题解决。

概览

一个多模型共识引擎,集成了OpenAI Codex CLI、Google Gemini CLI和Claude CLI,实现协作代码审查和问题解决。 LLM理事会召集多个AI模型讨论您的技术问题。每个模型提供其视角,审查同行的回答,主席将所有内容综合成最终结论。 安装插件前,确保以下关键依赖关系可用: :没有 jq,所有安全验证都被禁用:- ❌ 命令注入检测 - ❌ 敏感数据泄漏检测(API 密钥、令牌)- ❌ 理事会法定人数验证 - ❌ 命令长度限制 要实现完整的三模式议会功能,请安装以下可选CLI: :该插件仅支持 Claude CLI,但多模型审议提供了更丰富的视角。 完整的安装和调试教程请参见 docs/INSTALL.md。 脚本在仓库中已经设置了执行权限。

概述(AI 翻译)

一个多模型共识引擎,集成了OpenAI Codex CLI、Google Gemini CLI和Claude CLI,实现协作代码审查和问题解决。

概述

LLM理事会召集多个AI模型讨论您的技术问题。每个模型提供其视角,审查同行的回答,主席将所有内容综合成最终结论。

工作原理

快速启动

先决条件

必需依赖

安装插件前,确保以下关键依赖关系可用:

依赖 目的 安装
jq 用于钩子安全验证的JSON解析 macOS: brew install jq Ubuntu/Debian: sudo apt-get install jq Alpine: apk add jq Verify: jq --version
克洛德 CLI 议会审议所需 参见 code.claude.com/docs/setup

** ⚠️ 重要**:没有jq,所有安全验证都将被禁用:

  • ❌ 命令注入检测
  • ❌ 敏感数据泄漏检测(API密钥、令牌)
  • ❌ 理事会法定人数核查
  • ❌ 命令长度限制

可选依赖(多模型议会)

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

LLM Council Plugin for Claude Code

A multi-model consensus engine that integrates OpenAI Codex CLI, Google Gemini CLI, and Claude CLI for collaborative code review and problem-solving.

Overview

The LLM Council summons multiple AI models to deliberate on your technical questions. Each model provides its perspective, reviews its peers’ answers, and a chairman synthesizes everything into a final verdict.

How It Works

┌─────────────────────────────────────────────────────────────┐
│                    LLM COUNCIL WORKFLOW                      │
├─────────────────────────────────────────────────────────────┤
│                                                             │
│  Stage 1: Opinion Collection (Parallel)                     │
│  ┌─────────┐   ┌─────────┐   ┌─────────┐                   │
│  │ Claude  │   │  Codex  │   │ Gemini  │                   │
│  └────┬────┘   └────┬────┘   └────┬────┘                   │
│       │             │             │                         │
│       v             v             v                         │
│  Stage 2: Peer Review (Cross-examination)                   │
│  ┌─────────────────────────────────────┐                   │
│  │ Each model reviews others' answers  │                   │
│  └─────────────────────────────────────┘                   │
│                      │                                      │
│                      v                                      │
│  Stage 3: Chairman Synthesis                                │
│  ┌─────────────────────────────────────┐                   │
│  │ Claude Opus synthesizes the verdict │                   │
│  └─────────────────────────────────────┘                   │
│                                                             │
└─────────────────────────────────────────────────────────────┘

Quick Start

Prerequisites

Required Dependencies

Before installing the plugin, ensure these critical dependencies are available:

Dependency Purpose Installation
jq JSON parsing for hook security validations macOS: brew install jqUbuntu/Debian: sudo apt-get install jqAlpine: apk add jqVerify: jq --version
Claude CLI Required for council deliberations See code.claude.com/docs/setup

⚠️ IMPORTANT: Without jq, all security validations are disabled:

  • ❌ Command injection detection
  • ❌ Sensitive data leak detection (API keys, tokens)
  • ❌ Council quorum verification
  • ❌ Command length limits

Optional Dependencies (for multi-model council)

For full three-model council functionality, install these optional CLIs:

CLI Installation Purpose
Codex npm install -g @openai/codex Adds OpenAI perspective
Gemini npm install -g @google/gemini-cli Adds Google perspective
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add hey-yvan/llm-council-plugin
新手?先看 mcpskill.org 教程 →