agentleFS
supportersimulatorsupportersimulator/3-surgeons/skills/cross-examination/SKILL.md

cross-examination

Skill2 starsChanged 9 months agoMITView on GitHub

Deep 3-phase multi-model analysis — cross-examine a claim using multiple AI models

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    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:

    Do NOT ignore disagreements: If the synthesis says the surgeons disagree, investigate that specific point.

    line 90
  2. Distinctive:

    Do NOT cherry-pick: If you already had an opinion and one surgeon agrees while the other disagrees, you must genuinely consider the …

    line 91
  3. Very specific:

    Every cross-examination is automatically logged to the evidence store (~/.3surgeons/evidence.db).

    line 101
  4. Very specific:

    If you need both surgeons' opinions but do NOT need cross-review or synthesis, use 3s consult "topic" instead.

    line 108

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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

Cross-Examination

When to Trigger

Cross-examination is the heavyweight tool. Use it when the stakes justify the cost and latency:

  • Major architectural decisions -- changing core data flow, adding new subsystems, restructuring modules
  • Conflicting evidence -- two sources disagree, logs contradict expectations, behavior is non-deterministic
  • High-risk changes -- touching authentication, payment flows, safety systems, production data
  • Wide-impact changes -- modifying >3 files, changing shared interfaces, altering database schemas
  • Persistent bugs -- root cause unclear after 15+ minutes of investigation

Do NOT use for: trivial fixes, style changes, single-file edits with clear scope, questions with obvious answers.

How to Invoke

CLI

3s cross-exam "Should we migrate from REST to GraphQL for the patient API?"

MCP Tool

cross_examine(topic="Should we migrate from REST to GraphQL for the patient API?", depth="full")

The depth parameter defaults to "full" (3-phase). There is currently one depth level; future versions may support "quick".

The 3-Phase Process

Phase 1: Independent Analysis

Both the Cardiologist (GPT-4.1-mini) and Neurologist (Qwen3-4B) analyze the topic independently. Neither sees the other's work. This prevents anchoring bias -- each model forms its own opinion from scratch.

Phase 2: Cross-Review

Each surgeon reviews the other's Phase 1 analysis. The Cardiologist reviews the Neurologist's work, looking for weaknesses, blind spots, and errors. The Neurologist does the same for the Cardiologist. This adversarial review is where most value is generated.

Phase 3: Synthesis

The Cardiologist (broader perspective from the external API model) synthesizes both analyses and both cross-reviews into a final report. The synthesis explicitly emphasizes disagreements -- where the surgeons diverge is the most valuable signal.

Interpreting Results

The result contains four key fields:

FieldWhat It Tells You
cardiologist_reportInitial analysis + cross-review of neurologist's work
neurologist_reportInitial analysis + cross-review of cardiologist's work
synthesisCombined view emphasizing disagreements
total_costUSD spent on external API calls

Reading the Synthesis

  1. Look for disagreements first. Agreements are low-value -- both models trained on similar data will often agree on easy questions. The disagreements are where your decision actually matters.
  2. Weight by model strengths. The Cardiologist (GPT-4.1-mini) is stronger on broad reasoning and world knowledge. The Neurologist (Qwen3-4B) is better at pattern matching and catching subtle local issues.
  3. Check the cross-reviews. Each surgeon's cross-review section (marked --- Cross-Review ---) highlights what the other missed. These blind spots are the highest-value findings.

Example Output Structure

--- Cardiologist ---
[Initial analysis of the topic]

--- Cross-Review ---
[Cardiologist's critique of Neurologist's analysis]

--- Neurologist ---
[Initial analysis of the topic]

--- Cross-Review ---
[Neurologist's critique of Cardiologist's analysis]

--- Synthesis ---
[Combined findings, disagreements highlighted]

Cost: $0.0042 | Latency: 3200ms

What NOT to Do

  • Do NOT ignore disagreements. If the synthesis says the surgeons disagree, investigate that specific point. The disagreement IS the answer.
  • Do NOT cherry-pick. If you already had an opinion and one surgeon agrees while the other disagrees, you must genuinely consider the dissenting view. Confirmation bias is the failure mode this system is designed to prevent.
  • Do NOT override without evidence. Atlas (Claude) synthesizes but does not override. If you disagree with both surgeons, state your reasoning explicitly and present all three views to the human for the final call.
  • Do NOT run on trivial topics. Each full cross-exam makes 5 LLM calls across two models. Reserve it for decisions that justify the cost ($0.003-0.01 per run).

Graceful Degradation

If one surgeon is unavailable (endpoint down, timeout), the cross-examination still completes with the available surgeon. The result will have None for the missing surgeon's report. This is expected -- a one-surgeon analysis is still better than no analysis. Run 3s probe if a surgeon is persistently unavailable.

Evidence Trail

Every cross-examination is automatically logged to the evidence store (~/.3surgeons/evidence.db). This means:

  • You can search past cross-exams by topic
  • Cost is tracked per surgeon per operation
  • The system builds institutional memory over time

Quick Alternative: Consult

If you need both surgeons' opinions but do NOT need cross-review or synthesis, use 3s consult "topic" instead. This runs Phase 1 only (independent analysis) at roughly 1/3 the cost and latency.

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.