AgentSkillsCN

second-opinion

当用户提出“寻求第二意见”“请教其他 AI”“想听听 GPT 怎么说”“与其他 AI 咨询”或希望验证某种解决方案时,可借助外部 AI 代理(如 OpenAI、Gemini、GitHub)获取第二意见。

SKILL.md
--- frontmatter
name: second-opinion
description: Get second opinions from external AI agents (OpenAI, Gemini, GitHub). Use when user says "second opinion", "ask other AIs", "what would GPT say", "check with others", or wants to validate an approach.

Second Opinion

Query external agents, get answer, act on it.

Commands

CommandDescription
/second-opinionGet a second opinion on current context
/second-opinion setupConfigure which agents to enable
/second-opinion statusShow current configuration

Behavior

SituationAction
ConsensusProceed silently
No consensus, decidableDecide best option, proceed
No consensus, criticalAsk user (rare)

Do NOT:

  • Attribute opinions to specific agents
  • Show verbose breakdowns
  • Summarize what each agent said

DO:

  • Return actionable next step
  • Keep it brief
  • Only ask user when truly stuck

Usage

json
{
  "query": "Is this the right approach for handling auth?",
  "context": "<code or description>"
}

Output Examples

Consensus:

code
Use dependency injection. Add the service as a constructor param.

Decided:

code
Going with extracted module approach.

_Cleaner separation, easier to test._

Needs input (rare):

code
Need your input on this one:

- **Sync**: Simpler but blocks UI
- **Async**: More complex but responsive

First-Time Setup

If no agents are configured, run /second-opinion setup to:

  1. Select which AI agents to enable (interactive)
  2. Paste API keys when prompted (stored automatically)
  3. GitHub token auto-detected from gh auth token if installed

No file editing required - everything is configured interactively.