Skip to content

Add second-opinion skill - #9

Open
gamellis wants to merge 5 commits into
mainfrom
second-opinion-skill
Open

Add second-opinion skill#9
gamellis wants to merge 5 commits into
mainfrom
second-opinion-skill

Conversation

@gamellis

Copy link
Copy Markdown
Owner

Puts the question you're stuck on to a different agent CLI — Codex, Cursor, or Claude Code — and reports its answer back verbatim, alongside where it diverges.

Why the transcript, not a briefing

The first version wrote a neutral briefing: the question, the background, the options, with the current agent's own recommendation deliberately withheld. That's worse than it sounds. A briefing you author is a briefing you frame — it fixes which options exist and which premises are settled, so the second opinion can only pick between decisions you already made.

Sending the raw transcript hands over the frame itself. Tested both ways on the same design question: the briefing run answered it well but accepted every premise, while the transcript run challenged three of them unprompted — including one that turned out to be load-bearing.

The fear that a transcript would anchor the other model, since it contains the current agent's recommendation and reasoning, didn't hold up. It diverged more, not less. A transcript reads as an argument to evaluate; a neutral briefing reads as a question to comply with.

What's in it

  • SKILL.md — export the transcript, pick a harness, relay the answer verbatim.
  • transcripts.md — extraction recipes. The Claude Code jq filter is written and tested; the Codex and Cursor entries point at the right stores and say to inspect before filtering, rather than guessing a shape.

Deliberately minimal on instruction. Verification, frame challenge, and argument all happened without being told to — lines telling the agent to do them were no-ops. The one appended instruction that earns its place is which question is live, since that's the only thing the transcript can't supply.

Needs jq and at least one other agent CLI. It ships the session to another vendor, so there's a privacy note in the skill.

🤖 Generated with Claude Code

gamellis and others added 5 commits July 30, 2026 07:41
Sends the whole session transcript, verbatim, to a different agent CLI and
reports its answer back unedited.

An authored briefing frames the question: it fixes which options exist and
which premises are settled, so the second opinion can only choose between
decisions already made. Passing the transcript hands over the frame itself,
and in testing the other model challenged premises unprompted.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Flag syntax is CLI trivia the agent can recall or look up, and a table of
flags rots. Keep only the three constraints it wouldn't default to:
read-only, transcript in as the prompt, answer captured to a file.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Skill bodies arrive as user messages, so the extraction captured this
skill's own text. Its closing line — ask the user which harness — became
the transcript's last live instruction, and codex answered that instead
of the question. Observed on a real run.

Also close the transcript with the question in full rather than a bare
Answer Q{N}, which wasn't enough to outrank a trailing block of
instructions.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Ablation on a real question, same transcript and model, one variable: with
the clause the other harness listed three premises it disputed; without it
the answer stayed inside the frame and audited nothing. Disagreement with
the recommendation happened either way — challenging the question did not.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant