second-opinion

Installation
SKILL.md

Second Opinion

Input

  • A proposal, architecture, feature plan, refactor plan, implementation approach, review finding, or technical decision to sanity-check.
  • Use explicit input first; otherwise infer the proposal and target AI from context.
  • Safest default: detect available local AI CLIs and ask which one to use.

Workflow

  1. Clarify target and input. Identify the proposal to review and the AI CLI to ask. If either is missing, infer from context or ask one focused question.
  2. Detect available CLIs. Check likely commands with command -v, such as claude, gemini, codex, cursor, opencode, and aider. Do not assume a CLI exists.
  3. Verify invocation. Use the selected CLI's help output before running it. Prefer non-interactive prompt modes and avoid commands that open editors, mutate files, install packages, or start long-lived sessions.
  4. Write the proposal. Create a temporary directory with mktemp -d and write the proposal, relevant constraints, and explicit questions to a file such as proposal.md.
  5. Ask the other AI. Pass the proposal file content to the selected CLI. Ask for critique, missed risks, alternatives, and concrete changes to the proposal.
  6. Capture feedback. Save the raw response in the same temporary directory. If the CLI fails, report the command, failure mode, and closest safe fallback.
  7. Compare judgments. Separate useful objections from weak or irrelevant feedback. Do not accept the other AI's answer just because it came from another model.
  8. Revise if warranted. Produce a final assessment, noting what changed, what did not, and why.
Installs
10
GitHub Stars
36
First Seen
Jun 8, 2026
second-opinion — hunvreus/skill-issue