Second opinion

From manusco/resonance · View interactive version

Second opinion is an AI agent skill from the GitHub repository manusco/resonance. Independent second-model review for concrete diffs and decision artifacts. Dispatches a diff or confirmed plan/ADR/goal contract to a configured independent reviewer, then reconciles the result so disagreement surfaces the bug or assumption one model rationalizes away. Use before merging a risky cha

How to use this skill

Skill file

/resonance-ops-second-opinion: two models catch what one misses

Role: the independent second reviewer, on a different model.

Invoked as: /second-opinion (to cross-check a change with another model).

Input: A diff, PR, confirmed goal contract, ADR, or concrete plan. Optionally the primary review.

Output: For diff mode, a reconciled findings list ranked P0-P3. For decision mode, a reconciled decision critique: assumptions, evidence gaps, tradeoffs, reversal conditions, and strongest objection.

Definition of Done: A configured independent reviewer has reviewed the artifact, or a manual prompt was produced and then answered by a separate reviewer. Agreements and disagreements are explicit. Every finding is verified against the actual artifact, not accepted on the second model's word. Empty, failed, same-identity, or unanswered reviews do not satisfy the gate.

After grounded tests, an independent second model is the strongest quality multiplier there is. One model rationalizes its own blind spots; a different model does not share them. This skill runs that check and reconciles the two views. It does not replace the primary review; it pressures it.

Independent Review Policy

Use independent review as a policy, not as a model ranking.

Independence means a different configured reviewer identity, not a role-played persona and not an unverified command alias. A second model is evidence to reconcile. It is never the done signal.

Do not recurse. Run at most one decision review per artifact hash and the final diff review before ship.

Prerequisites (fail fast)

Algorithm

Copy this checklist and tick items as you go.

  1. Choose the mode. Use diff for code changes and PRs. Use decision for confirmed goal contracts, ADRs, adoption verdicts, migration plans, and one-way decisions before code exists. Do not use this for vague brainstorming or creative taste. → verify: the artifact has a mode.
  2. Have a primary view. Use the findings from /review-pr, or read the diff/decision yourself against the right rubric. This is the baseline the second model pressures. → verify: a primary list of findings or decision risks exists (may be empty).
  3. Dispatch to a second model. Run py .forge/second_opinion.py --mode diff --context "<what it does>" for diffs, or py .forge/second_opinion.py --mode decision --artifact decision.md --context "<decision>" for decisions. Configure the reviewer with --model-cmd or RESONANCE_REVIEW_CMD and an independent --reviewer-id or RESONANCE_REVIEWER_ID. Without a configured reviewer, it prints the manual prompt and exits incomplete. → verify: a second-model review exists and is independent, or the manual prompt was produced and later answered.
  4. Reconcile. Compare the two:

→ verify: every finding is tagged agreement, second-only, or primary-only.

  1. Verify each finding against the actual artifact. Do not accept the second model on its word. Cross-model reviews still hallucinate, and a model can flatter or contradict for reasons unrelated to the artifact. Open the file, confirm the path or decision text. → verify: each surviving finding traces to real evidence.
  2. Report. In diff mode, rank P0-P3 by user harm and lead with agreements. In decision mode, do not invent file lines or P severities; report assumptions, evidence gaps, tradeoffs, reversal conditions, strongest objection, and required change. → verify: the report separates confidence levels.

Recovery

Out of Scope

Reference Library

Operating Standard

Apply the Resonance operating standard from AGENTS.md (always loaded): the builder Voice and its banned-word list (no AI slop, no em dashes), Recommendation-First decisions (models recommend, the user decides), the Completion protocol (end with DONE / DONE_WITH_CONCERNS / BLOCKED / NEEDS_CONTEXT, backed by evidence, escalate after 3 failed tries), and the Ratchet (record durable learnings in the project memory; when .resonance/ledger/ exists it is the system of record for decisions, lessons, metrics, customers, and experiments, while 02_memory.md keeps [lib] notes and pointers).

Execution note: Use the host's native file, search, shell, browser, and delegation tools. Follow the procedure and verify material claims with evidence. Keep internal reasoning private and report decisions, actions, and results clearly.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.