da-jia-dou-lai-hui-da
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "da-jia-dou-lai-hui-da" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b2128bcb2edb94f4678140a597595a5712820c59e3037bb90ca0e608893559ab. Verify the upstream source and version against https://skillhub.cn/skills/user_c18b02ff/da-jia-dou-lai-hui-da before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Parallel multi-model Q&A tool: sends the same question in parallel to multiple large models configured on the user's system, automatically detects and lists selectable models for the user to check, and presents answers side-by-side in multiple columns. The user only needs to select models to start the comparison. Example trigger phrases include: "everyone answer", "three-way comparison", "compare answers".
Introduction source: third_party · user_c18b02ff · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: da-jia-dou-lai-hui-da
slug: da-jia-dou-lai-hui-da
version: 1.0.0
displayName: 大家都来回答
description: |
一个问题同时问多个已配置的大模型,并行发问、多栏对比呈现各模型回答。
主 Agent 自动探测用户系统上已配置的大模型,列出让用户勾选,然后并行调用、多栏对比。全程用户只需勾选模型,无需手动配置。
触发词:大家都来回答、三路对比、多个 AI 都回答、对比回答、大家怎么看、你们几个怎么看大家都来回答
概述
用户给出一个问题时,主 Agent 自动探测用户系统上已配置的大模型,将其列出来让用户勾选,然后并行发问,最终以多栏对比形式呈现各模型回答。
核心设计:Discovery 由当前 LLM 通过内置提示词完成,Skill 负责读配置、解析、调度、对比。全程用户只需"勾选模型",无需手动配置任何东西。
触发词
以下任一触发即激活本 Skill:
- 大家都来回答
- 三路对比
- 多个 AI 都回答
- 对比回答
- A/B/C 回答
- 大家怎么说
- 你们几个怎么看
- 不同 AI 回答对比
排除:用户只是在闲聊、没有明确的"希望多个 AI 回答"意图时,不触发。
执行流程
第 1 步:Discovery — 注提示词给当前 LLM
向当前运行的 LLM 注入以下提示词,获取用户系统的模型配置文件路径:
请输出你当前系统中所有已配置的大模型相关的配置文件绝对路径。
每行一个路径,只输出路径,不要任何解释说明。
常见位置包括但不限于:
- ~/.qclaw/ 下的配置文件
- ~/.config/ 下的模型配置文件
- ~/.openclaw/ 下的配置文件
- ~/.ollama/ 下的配置
- ~/.workbuddy/ 下的配置
- 环境变量中引用的配置文件路径
- 用户目录下的 .env 文件(包含 API Key 配置)
- One API / OpenWebUI 等统一代理的配置文件
如果找不到任何配置文件路径,请输出:NONE
执行方式:将该提示词作为下一轮 system 级别指令注入(通过 sessions_send 或直接注入上下文),LLM 回复后解析出路径列表。
第 2 步:并行读取配置文件
对第 1 步得到的每个路径,Skill 并行执行 read:
- 文件存在 → 读取内容
- 文件不存在 / 权限不足 → 跳过,记录为"不可读"
- .env 类文件 → 提取其中
API_KEY、BASE_URL、MODEL等关键变量
第 3 步:解析模型列表
从读取到的文件中,按以下规则提取模型配置:
| 文件类型 | 解析方式 |
|---|---|
| JSON(gateway.json 等) | 解析 models[] / channels[] 字段 |
| YAML | 解析 channels: / models: / endpoints: 段落 |
| .env | 提取 BASE_URL_*、API_KEY_*、MODEL_* 变量组 |
解析后统一成内部模型对象:
{
"id": str, # 唯一标识,如 "model_1"
"name": str, # 模型显示名,如 "qwen-max"
"base_url": str, # 调用地址,如 "https://api.openai.com/v1"
"api_key": str, # 密钥(env 变量引用则尝试展开)
"model": str, # 模型名,如 "qwen-max"
"source": str, # 来源文件路径
"enabled": bool # 默认全部 True,除非文件明确标注 false
}
第 4 步:展示模型列表,让用户勾选
将解析出的模型列表以交互方式展示给用户:
🔍 找到以下已配置的模型,请勾选你想对比的几个:
(直接回复对应编号,可多选,空格或逗号分隔,默认全选)
[A] qwen-max → https://dashscope.aliyuncs.com/v1 from ~/.qclaw/gateway.json
[B] gpt-4o → https://api.openai.com/v1 from ~/.env
[C] llama-3.1 → http://localhost:11434/v1 from ~/.ollama/
[D] hunyuan → https://api.hunyuan.cloud.tencent.com/v1 from ~/.qclaw/config.json
请选择(如 A C):__
用户回复处理:
- 用户回复编号 → 映射到对应模型
- 用户回复
全部或直接回车 → 全选 - 用户回复
取消→ 终止本次 Skill 执行
第 5 步:并行调用选中的模型
对每个选中的模型,并行发起 OpenAI 兼容 API 调用:
import openai
import asyncio
async def ask_model(model_config, question):
client = openai.OpenAI(
base_url=model_config["base_url"],
api_key=model_config["api_key"]
)
response = client.chat.completions.create(
model=model_config["model"],
messages=[{"role": "user", "content": question}]
)
return model_config["id"], response.choices[0].message.content
# 并行
tasks = [ask_model(cfg, question) for cfg in selected_models]
results = await asyncio.gather(*tasks)
错误处理:
- 单个模型调用失败 → 该栏显示"❌ 调用失败:{简要原因}",不影响其他模型
- 全部失败 → 提示用户检查配置,Skill 终止
第 6 步:格式化对比输出
将结果以多栏对比格式呈现,栏数等于选中模型数(通用,不限 3 栏):
╔════════════════════════════════════════════════════════════════╗
║ 📊 问题:{用户问题} ║
╠══════════════════╦══════════════════╦══════════════════════╣
║ [A] qwen-max ║ [B] gpt-4o ║ [C] llama-3.1 ║
╠══════════════════╬══════════════════╬══════════════════════╣
║ {回答内容A} ║ {回答内容B} ║ {回答内容C} ║
╚══════════════════╩══════════════════╩══════════════════════╝
- 回答内容超长时,每栏独立截断(保留约 800 字),末尾加"…"
- 调用失败的模型栏显示错误原因,不占栏
- 最后加一行注:"以上回答由各模型独立生成,仅供参考"
错误处理总览
| 场景 | 处理方式 |
|---|---|
LLM 返回 NONE 或无路径 |
提示"未找到任何配置文件,请确认是否已配置大模型",给出建议路径 |
| 所有配置文件均不可读 | 提示用户手动提供 base_url + model + key |
| 单模型调用失败 | 该栏显示错误,其余正常显示 |
| 全部调用失败 | 汇总原因,提示检查配置 |
| 用户未勾选任何模型 | 提示后重新展示列表,最多重复 2 次 |
安全约束
- 不读取 Skill 目录外的未经用户确认的路径
- API Key 不出现在回复内容中,用
***脱敏后显示 - 配置文件仅读不写,不做任何修改
- 不将 Key 写入任何日志或 Skill 文件
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 实现了多模型并行问答与对比功能,解决用户实际需求
- 自动探测用户系统已配置模型,降低使用门槛
- 支持多栏对比展示,提升信息对比效率
Highlights
- 触发词覆盖全面,包括多种表达方式
- 边界清晰,能有效识别用户对比意图
- 排除机制合理,避免误触发
Areas to improve
-
description 内容重复 Reported severity: Minor
顶层 frontmatter 和 skill_body 内部都存在 description 字段,内容重复
Recommendation: 建议只保留一处 description,避免冗余
Highlights
- 执行流程分6个清晰步骤,逻辑完整
- 包含详细的错误处理和安全约束说明
- 提供了完整的代码示例和交互示例
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 55, 71, 92, 135, 189
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- api.hunyuan.cloud.tencent.com
- api.openai.com
- dashscope.aliyuncs.com
- localhost
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.