跳到主要内容
知仓学习社ZHICANG

llm-council

Multi-LLM collaborative brainstorming and planning. Use when user explicitly requests consultation with multiple AI models (ChatGPT, Gemini, other L…

读凭据执行命令读文件联网严重 7 · 高危 6gcpdev/llm-council-skill

它会碰到什么

扫了多少3 个文本文件,14 KB
它会碰到什么读凭据执行命令读文件联网
命中总数18 处
命中统计严重 7 · 高 6 · 中 3 · 低 2
逐条看命中(13 条严重或高危)
  • 严重 references/SETUP.md:21cred-paths
    ### Creating the .env File
  • 严重 references/SETUP.md:23cred-paths
    Create a file named `.env` in your working directory with the following content:
  • 严重 references/SETUP.md:89cred-paths
    - The `.env` file should be in the same directory where you run Claude
  • 严重 scripts/query_llms.py:21cred-paths
    def load_env_file(env_path: str = ".env") -> Dict[str, str]:
  • 严重 scripts/query_llms.py:22cred-paths
    """Load environment variables from .env file."""
  • 严重 SKILL.md:27cred-paths
    The skill requires API keys and optional model configuration stored in a `.env` file in the working directory:
  • 严重 SKILL.md:60cred-paths
    If the `.env` file doesn't exist or keys are missing, inform the user and provide setup instructions.
  • scripts/query_llms.py:48exec-spawn
    result = subprocess.run(
  • scripts/query_llms.py:70exec-spawn
    result = subprocess.run(
  • scripts/query_llms.py:148cred-envread
    openai_key = env_vars.get("OPENAI_API_KEY") or os.environ.get("OPENAI_API_KEY")
  • scripts/query_llms.py:149cred-envread
    gemini_key = env_vars.get("GEMINI_API_KEY") or os.environ.get("GEMINI_API_KEY")
  • scripts/query_llms.py:153cred-envread
    env_vars.get("OPENAI_MODEL") or os.environ.get("OPENAI_MODEL") or "gpt-5-nano"
  • scripts/query_llms.py:157cred-envread
    or os.environ.get("GEMINI_MODEL")

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

LLM Council

Consult multiple AI models (ChatGPT and Gemini) for their perspectives before presenting implementation plans to users.

Workflow

When user requests consultation with other AI models, use phrases like:

  • "Consult with ChatGPT and Gemini about..."
  • "Ask other AI models what they think about..."
  • "Get perspectives from the council on..."
  • "Consult the LLM council: [your question]"

Process:

  1. Query external LLMs: Run scripts/query_llms.py with the user's prompt to get perspectives from both ChatGPT and Gemini
  2. Analyze responses: Review what each model suggests, identifying valuable insights, alternative approaches, and potential concerns
  3. Synthesize plan: Create an implementation plan that incorporates the best ideas from all three models (Claude's own analysis + ChatGPT + Gemini)
  4. Present to user: Show the final plan along with a brief summary of key contributions from each model

Setup Requirements

The skill requires API keys and optional model configuration stored in a .env file in the working directory:

OPENAI_API_KEY=sk-...
GEMINI_API_KEY=...

# Optional: Specify which models to use (defaults shown below)
OPENAI_MODEL=gpt-5-nano
GEMINI_MODEL=gemini-3-flash-preview

Default Models:

  • ChatGPT: gpt-5-nano (fastest, most cost-efficient - $0.05/1M input, $0.40/1M output)
  • Gemini: gemini-3-flash-preview (balanced speed and intelligence)

Upgrade Options for Better Collaboration:

OpenAI models (ordered by capability and cost):

  • gpt-5-nano - Fastest, most cost-efficient ($0.05/1M in, $0.40/1M out) - DEFAULT
  • gpt-5-mini - Faster, cost-efficient for well-defined tasks ($0.25/1M in, $2.00/1M out)
  • gpt-5.2 - Best for coding and agentic tasks ($1.75/1M in, $14.00/1M out)
  • gpt-5.2-pro - Smarter, more precise for complex problems ($21.00/1M in, $168.00/1M out)

All models support reasoning tokens, 400K context window, and image input.

Gemini models (ordered by capability):

  • gemini-2.5-flash-lite - Ultra-fast, optimized for throughput
  • gemini-2.5-flash - Best price-performance, large-scale processing
  • gemini-3-flash-preview - Balanced speed and frontier intelligence (default)
  • gemini-3-pro-preview - Most intelligent multimodal model, best for complex reasoning

Higher-tier models provide more sophisticated analysis but cost more per API call.

If the .env file doesn't exist or keys are missing, inform the user and provide setup instructions.

Usage Example

User input: "Consult the council: How should I architect a real-time data pipeline for IoT sensors?"

Claude's process:

  1. Execute: python3 scripts/query_llms.py "How should I architect a real-time data pipeline for IoT sensors?"
  2. Parse JSON responses from ChatGPT and Gemini
  3. Analyze their suggestions (e.g., ChatGPT suggests Kafka, Gemini recommends considering edge computing)
  4. Synthesize final plan incorporating valuable insights from all models
  5. Present the adapted plan to user with attribution

Output Format

Present the final implementation plan naturally, mentioning key insights from other models inline where relevant. For example:

"Based on consultation with ChatGPT and Gemini, here's the recommended architecture:

[Implementation plan with inline references like "ChatGPT highlighted the importance of..." or "Gemini suggested..."]

Key contributions:

  • ChatGPT: [brief summary]
  • Gemini: [brief summary]"

Error Handling

  • If API keys are missing, inform user and provide setup instructions
  • If an API call fails, note which model's perspective is unavailable and proceed with available responses
  • If both APIs fail, inform user and offer to provide Claude's own analysis without external consultation

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 442
本站分层T2
该仓技能数1
原文件路径llm-council/SKILL.md