agentleFS
firatcandfiratcand/roster/skills/second-opinion/SKILL.md

second-opinion

Skill19 starsChanged 3 months agoMITView on GitHub

Get an honest second opinion on any artifact — writing, design docs, product specs, or code — from a DIFFERENT AI model in a fresh process. Builds a review brief and dispatches it via `roster second-opinion` to the codex/gemini/claude CLI (whichever differs from the current host), then renders the structured verdict. Triggers on /second-opinion or when the user asks for another model's take / a cross-model review / fresh eyes on a draft, plan, or diff.

  • Installs packages

31 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use investigate, retro and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • VercelSkill

    investigate

    Investigate a specific issue report with strict, evidence-driven diagnosis.

    Also in 3 projects that use this

  • AWSSkill

    retro

    Conduct a retrospective on a coding session.

    Also in 4 projects that use this

  • allieraysSkill

    explain

    Explain what code does line by line so you can understand and learn from it.

    Also in 3 projects that use this

  • Google CloudSkill

    triage

    Gather context on a change or bug and plan the implementation.

    Also in 4 projects that use this

  • AnthropicSkill

    debug

    Structured debugging session — reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious.

    Also in 3 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 5 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 26 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before the FIRST dispatch in a session, state plainly and get a go-ahead:

    line 18
  2. Very specific:

    Check installs with roster doctor --json (or just try.

    line 34
  3. Very specific:

    Use --json and render the verdict yourself (below).

    line 48
  4. Distinctive:

    Not every finding is right.

    line 61

“Common” is measured: kept by at least 6 in 10 of the 26 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

second-opinion

Ask a different AI to review something — in a separate process, with its own model and no memory of this conversation. That independence is the point: the reviewer can't be primed by what you (or I) already concluded, so it catches what an agent inheriting this chat's context would rationalize away.

Works on anything: an essay draft, landing-page copy, a PRD, a design doc, a plan, a code diff. The engine is roster second-opinion; this skill is the chat front door that owns brief quality and host choice.

Data-egress notice (first use per session)

Before the FIRST dispatch in a session, state plainly and get a go-ahead:

This sends the artifact to the reviewer's provider — codex → OpenAI, gemini → Google, claude → Anthropic — under your own logged-in subscription for that tool. OK to proceed?

Skip the notice on subsequent dispatches in the same session unless the target host changes.

Host selection (always pass --host)

You know which tool you are running in; the CLI does not. Always pass --host set to the first installed host that differs from the current one, so the default is genuinely cross-model:

Running inTry in order
Claude Codecodex, then gemini
Codex CLIclaude, then gemini
Gemini CLIcodex, then claude

Check installs with roster doctor --json (or just try; HOST_NOT_INSTALLED / BINARY_NOT_FOUND name the fix). The user can override with an explicit host request — honor it, including same-model (fresh context still has value; say so).

Building the dispatch

  1. Identify the artifact(s). A file path is best (--stdin for pasted text, --diff [ref] for working-tree changes). Never re-type the artifact into the prompt — the CLI reads it.
  2. Sharpen the ask. Turn the user's request into 2-4 concrete review questions and pass them via --message. "Review this" produces mush; "Does the intro bury the lede? Is the pricing section credible to a CFO?" produces findings.
  3. Dispatch:
roster second-opinion draft.md --host codex \
  --message "1) Does the intro bury the lede? 2) Is the tone right for CTOs? 3) What would you cut?" \
  --json

Use --json and render the verdict yourself (below). Add --timeout <sec> for large artifacts (default 180).

Rendering the verdict

From the JSON envelope:

  • Lead with summary.
  • Then findings grouped major → minor → nit → praise, each with its location and confidence when present.
  • structured: false means the reviewer answered in prose — show raw and say it's unstructured. It does not mean approval.
  • On ok: false, show message and each failure's remedy verbatim — especially HOST_NOT_SUBSCRIPTION, which means the preflight refused to spawn so nothing bills an API key. Do not work around a preflight refusal; fix the environment or pick another host.

Evaluation discipline

Not every finding is right. Coach the user (or apply, if you're driving):

  • Factual/consistency findings — usually real; act.
  • Taste findings (tone, structure) — weigh against the artifact's audience; the reviewer doesn't know it.
  • "You should also do X" scope findings — defer unless blocking.
  • Cite adopted findings as "<host> 2nd-pass: …" so reasoning stays traceable.

Subscription safety (do not bypass)

The CLI fail-closes: each host has a preflight that refuses to spawn unless the child is provably on the user's logged-in subscription (no API keys in env, no apiKeyHelper, no Bedrock/Vertex). Never route around it — never invoke reviewer CLIs directly with API-key env vars, and never suggest exporting a key to "make it work". If the preflight refuses, surface the remedies and stop.

Failure modes

  • roster not on PATH → npm i -g @firatcand/roster.
  • HOST_NOT_INSTALLED / BINARY_NOT_FOUND → offer a different --host or the tool's install link.
  • HOST_NOT_SUBSCRIPTION → show remedies verbatim; suggest another host meanwhile.
  • TIMEOUT → retry with --timeout 360 or a smaller artifact.
  • Reviewer returns nothing useful → re-dispatch once with sharper --message questions; then report honestly.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.