agentleFS
preetamnathpreetamnath/agent-skills/skills/second-opinion/SKILL.md

second-opinion

Skill4 starsChanged 7 months agoMITView on GitHub

Second opinion on one concrete proposal: stress-test it, rank alternatives, or both. TRIGGER when: user says 'second opinion', '2nd opinion', 'rate my fix', or 'weigh in on my approach'; user wants a candidate edit/decision evaluated. SKIP when: multiple decisions on a larger artifact — use `validate-answer`.

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 5 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

  • 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

  • AWSSkill

    ship

    Finalize dev work on an issue branch — update docs, push, and open a PR.

    Also in 3 projects that use this

  • SentrySkill

    commit

    Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 26 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When there's no concrete anchor (a specific edit, chosen option, or phrasing under review), ask the user for one.

    line 12
  2. Very specific:

    When ambiguous, default to sanity-checker — the cheaper, more common need.

    line 22

“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

Steps

Step 1 — Anchor, then route

When there's no concrete anchor (a specific edit, chosen option, or phrasing under review), ask the user for one.

Route by what the proposal needs:

The proposal needsRunPass it as
"Is this worth doing? what am I missing?"sanity-checkerSubject
"Is there a better option, and how does mine rank?"propose-alternativesCurrent approach
Want both, or high-stakes and unsureboth, in parallelas above

When ambiguous, default to sanity-checker — the cheaper, more common need.

Brief each agent with: the file path / surrounding context and constraints; the proposal verbatim and the problem it solves; alternatives the user already ruled out, with reasons.

Step 2 — Synthesize only what ran

Present the chat output under a Second opinion: heading, including only the parts whose agent ran:

  • Table (only if propose-alternatives ran) — proposal plus alternatives in one confidence frame, ordered by confidence:

    #OptionTradeoffConf.
    1Proposal — [content]…0.xx
    2Alt — [content]…0.xx
  • Worth-it verdict (only if sanity-checker ran) — [verdict] — [blind spots and open concerns | none].
  • Disagreement (only if both ran) — [what they split on for keep-vs-replace: propose-alternatives ranks an alternative above the proposal while sanity-checker calls it sound, or the reverse | none — they agreed].
  • Recommendation — [your pick] — [brief reasoning] (confidence 0.xx, distinct from the agents'). Spot-check the load-bearing claims behind your pick against the cited code first.
  • Checkpoint — call AskUserQuestion with the top 2–3 options.

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.