From claude-commands
Provides token-efficient second opinions via /advice. Extracts the decision point and artifact, then fans out to parallel reviewers: Opus subagent, research, and multi-model opinion. Replaces advisor().
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-commands:adviceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Replaces `advisor()`. Never call advisor() — use this instead.**
Replaces advisor(). Never call advisor() — use this instead.
/advice [optional: specific question] — invoked manually or automatically at a decision point.
From the current conversation, extract:
If no specific question was passed, infer from most recent context. If relevant context exceeds 150 lines, summarize the excess into 2–3 sentences prepended before the artifact.
Spawn all three in a single message:
Reviewer A — Fallback chain (try in order, stop at first success):
A1 — Opus subagent (primary): Spawn an Agent:
You are a senior engineer giving a focused second opinion.
DECISION:
[decision, 3–5 sentences]
ARTIFACT:
[≤150 lines]
Return exactly:
VERDICT: [recommended approach, one line]
REASONING: [3–4 sentences]
RISK: [main risk, one sentence]
CONFIDENCE: [high / medium / low]
A2 — cursor (fallback if A1 errors):
cursor agent -p --force "Senior engineer second opinion.\n\nDECISION:\n[decision]\n\nARTIFACT:\n[artifact]\n\nReturn VERDICT, REASONING (3-4 sentences), RISK, CONFIDENCE."
A3 — agy (fallback if A2 errors):
agy --print --dangerously-skip-permissions "Senior engineer second opinion.\n\nDECISION:\n[decision]\n\nARTIFACT:\n[artifact]\n\nReturn VERDICT, REASONING (3-4 sentences), RISK, CONFIDENCE."
Note: agy is the Antigravity CLI (reads CLAUDE.md on startup like any CC session, but starts fresh — no current conversation history). Independent perspective, slightly slower than cursor.
A1.1 — claude -p (first-class choice when invoked outside Claude Code; fallback if A3 errors):
claude -p --dangerously-skip-permissions "Senior engineer second opinion.\n\nDECISION:\n[decision]\n\nARTIFACT:\n[artifact]\n\nReturn VERDICT, REASONING (3-4 sentences), RISK, CONFIDENCE."
Note: Same Claude Code context inheritance as agy. For a cleaner isolated call: add --cwd /tmp.
If all options fail, note "Reviewer A unavailable" in the synthesis table.
Reviewer B — Research:
Invoke /research [decision topic distilled to 6 words]
Reviewer C — Secondo:
Invoke /secondo with the decision + artifact (same text as Reviewer A).
Present:
| Reviewer | Verdict | Key concern | Confidence |
|-----------|----------------------|---------------------|------------|
| A (source)| ... | ... | high/med/low |
| Research | [consensus finding] | [main caveat] | — |
| Secondo | ... | ... | — |
| Reviewer | Tokens sent |
|---|---|
| Reviewer A | Decision + artifact ≈ 1,500–2,500 tokens |
| /research | Web queries only |
| /secondo | Decision + artifact ≈ 1,500–2,500 tokens |
| Total | ~5,000 tokens vs ~80,000–140,000 for advisor() |
96–97% fewer input tokens per review cycle.
| Priority | CLI | When |
|---|---|---|
| A1 | Claude subagent (Opus) | Primary (inside Claude Code) |
| A1.1 | claude -p --dangerously-skip-permissions | First-class choice when invoked outside Claude Code; fallback if A3/agy errors |
| A2 | cursor agent -p --force | Opus unavailable |
| A3 | agy --print --dangerously-skip-permissions | cursor errors |
Note: codex removed — gpt-4.5 unsupported with ChatGPT account + quota exhausted as of 2026-06-24.
npx claudepluginhub jleechanorg/claude-commands --plugin claude-commandsProactively suggests second opinions from other LLMs on architectural decisions, design trade-offs, critical code reviews, and security-sensitive logic.
Queries AI models via OpenRouter, Gemini, or OpenAI APIs for second opinions on code, architecture, strategy, or prompting. Supports consensus, single opinion, and devil's advocate modes.
Consults subagent for second opinions on code reviews, designs, and implementations by crafting context-based prompts, handling 1-2 rounds of dialogue, and summarizing results.