multi-llm-consult
咨询外部 LLM(Gemini、OpenAI/Codex、Qwen)以获取第二意见、替代方案、独立审查或委托任务。当用户请求另一个模型的观点、想要比较答案或请求将子任务委托给 Gemini/Codex/Qwen 时使用。
📖 中文导读:咨询外部 LLM(Gemini、OpenAI/Codex、Qwen)以获取第二意见、替代方案、独立审查或委托任务。当用户请求另一个模型的观点、想要比较答案或请求将子任务委托给 Gemini/Codex/Qwen 时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: multi-llm-consult description: Consult external LLMs (Gemini, OpenAI/Codex, Qwen) for second opinions, alternative plans, independent reviews, or delegated tasks. Use when a user asks for another model's perspective, wants to compare answers, or requests delegating a subtask to Gemini/Codex/Qwen.
Multi-LLM Consult
Overview
Use a bundled script to query external LLM providers with a sanitized prompt and return a concise comparison.
Setup
- Configure API keys in the TUI: open the Command Palette (Ctrl+P) and run Configure LLM Providers.
- Keys are stored in
settings.jsonunderllm_providers.
Workflow
- Identify the purpose (
second-opinion,plan,review,delegate). - Summarize the task and sanitize sensitive data before sending it out.
- Run the consult script with the chosen provider.
- Compare responses and reconcile with your own plan before acting.
Consult Script
Always run --help first:
python scripts/consult_llm.py --help
Example: second opinion
python scripts/consult_llm.py \
--provider gemini \
--purpose second-opinion \
--prompt "We plan to refactor module X. What risks or gaps do you see?"
Example: delegate a review
python scripts/consult_llm.py \
--provider qwen \
--purpose review \
--prompt-file /tmp/review_request.md \
--context-file /tmp/patch.diff
Example: plan check with Codex (OpenAI)
python scripts/consult_llm.py \
--provider codex \
--purpose plan \
--prompt "Draft a 5-step plan for implementing feature Y."
Output Handling
- Treat responses as advisory; verify against repo constraints and current state.
- Summarize the external response in 3-6 bullets before acting.
- If responses conflict, call out the differences explicitly and choose a path.
References
- Provider defaults and configuration:
references/providers.md