Claude Code 技能:总结当前问题,并行调用 Gemini CLI 与 Codex 子代理征求意见,再对比两者结论。
--- name: second-opinion description: Second Opinion from Codex and Gemini CLI for Claude Code --- # 第二意见 当被调用时: 1. **总结问题**,根据对话上下文(约 100 字) 2. **并行启动两个子代理**,使用 Task 工具: - `gemini-consultant`,附带问题摘要 - `codex-consultant`,附带问题摘要 3. **呈现合并结果**,显示: - Gemini 的观点 - Codex 的观点 - 两者一致/分歧之处 - 推荐的解决方案 ## 子代理使用的 CLI 命令 ```bash gemini -p "I'm working on a coding problem... [problem]" codex exec "I'm working on a coding problem... [problem]" ```
--- name: second-opinion description: Second Opinion from Codex and Gemini CLI for Claude Code --- # Second Opinion When invoked: 1. **Summarize the problem** from conversation context (~100 words) 2. **Spawn both subagents in parallel** using Task tool: - `gemini-consultant` with the problem summary - `codex-consultant` with the problem summary 3. **Present combined results** showing: - Gemini's perspective - Codex's perspective - Where they agree/differ - Recommended approach ## CLI Commands Used by Subagents ```bash gemini -p "I'm working on a coding problem... [problem]" codex exec "I'm working on a coding problem... [problem]" ```