Co-Scientist hypothesis tournament
Generate → review → rank → evolve, with the state kept in a ledger so a
tournament survives the end of this context window. Adapted from the open-source
co-scientist implementation of Gottweis et al., Nature (2026); the rating
math, scheduling policy, and duplicate gate run in code, not in prose.
Not a confirmatory analysis, and not a source of results. Generated hypotheses
recombine published knowledge. Never invent a citation, DOI, paper title, or
number.
Is this a hypothesis ask at all
Most people describe a problem, not a task. Decide from what they need back, not
from the presence of the word "hypothesis":
| What they say |
What it is |
Go to |
| "why does X happen", "what could explain this", "we expected A and got B" |
needs candidate explanations |
generating-scientific-hypotheses (one pass), this skill if they want them ranked and kept |
| "what should I test next", "give me something falsifiable", "novel target for Y" |
needs a testable claim |
same split as above |
| "which of these is strongest", "rank them", "a shortlist I can defend", "we will revisit this next month" |
needs a kept ranking |
co-scientist-tournament |
| "more candidates, and better ones", "evolve/improve these", "run another round" |
needs generate-critique-evolve |
co-scientist-tournament |
| "does X cause Y in this data", "run the test", "is my result significant" |
chosen outcome + question |
framing-research-questions, designing-the-analysis — not hypothesis generation |
| "what is known about X", "summarize the literature" |
a survey |
literature-review / search tools |
| "review this paper", "write the discussion" |
manuscript work |
the writing and review skills |
Two rules that survive everything else:
- Search before proposing. A hypothesis is a claim about what is not yet
published; say it is novel only after searching, and mark anything you could not
verify
[VERIFY].
- A generated hypothesis is not a finding. It is a recombination of
published knowledge offered as something worth testing. If the user is about to
act on it as evidence, stop and say so.
If the ask is ambiguous between one pass and a tournament, ask one question —
"Do you want these ranked and kept, or is a short list enough for now?" — rather
than silently starting a tournament that costs debate matches.
What the tools own
coscientist and coscientist_rank (state under .dsh/coscientist/<slug>/).
They decide; you dispatch. Do not reimplement any of this in your own
reasoning — do not compute ratings, pick matchups, or decide whether the loop
should continue.
| The tool enforces |
You cannot talk it out of |
A near-duplicate add is discarded with its similarity score |
Distinct claims must differ in mechanism, not wording |
add refuses past the hypothesis cap |
— |
Review stages run in order; a fail at initial/full rejects |
A rejected hypothesis never re-enters; add a new one |
Only active hypotheses compete; withheld ones cannot be matched |
Quarantine is a human release, with a name and a reason |
Ratings move only through record and feedback |
Prose praise changes nothing |
feedback takes the experiment's outcome (supports, refutes or inconclusive) as the direction of the reward |
Say what the result showed; do not leave it to a keyword reading of your prose, which can score "did not improve ... no significant effect" as neutral. Ask the scientist when it is unclear; use inconclusive rather than guessing |
next samples the task; status/next say when to stop |
You do not choose when the tournament ends |
next never samples a task the ledger cannot execute |
At the cap there is no generation/evolution; reflection needs a pending review |
| A pair that has never met plays before a repeat |
Complete the first ranking instead of replaying one matchup |
| Both presentation orders are needed, or the match is flagged |
A single-order verdict is position-biased |
next returns one sampled task and one line of guidance. The four generation
strategies and six evolution mutations are in references/briefs.md; the rating
and termination rules are in references/tournament.md.
Loop
- Start. Restate the goal, constraints, and what a useful output looks like.
Ask one question only if a missing constraint would change the search.
Run
coscientist priors before anything else — if a sibling tournament in this
workspace already refuted, rejected, or withheld something similar, say so
rather than generating another version of it. Then run the goal-parse brief
(references/briefs.md §1) in a subagent, then
coscientist start with its parsed title, domain, keywords, rubric, and seed
queries. Keep the defaults: 5 hypotheses, 36 steps. Five is the smallest
pool where one review veto and one dual-use withholding still leave three
ideas competing — at three the tournament stalls on no_competitors — and
past five each pair starts meeting less than twice, which buys breadth at the
cost of a head-to-head ranking. Raise both together and only when the user
asks for a deeper search, and say what it costs: 15 matches is at least 30
judging calls, more if any pair goes to debate. A bigger pool on the same
budget ends on budget_exhausted rather than on converged rankings.
- Dispatch. Ask
next, do exactly that task, record the result, ask again.
One task per turn is fine; several is fine while each is recorded.
generation → search, then one strategy brief, then add. A discard is a
normal outcome: report the score and the neighbour, then go generate a
genuinely different claim.
reflection → pick one pending_review hypothesis, run the five stage
briefs in order, review after each. Verify its citations with
coscientist_verify citations, or by hand with
paper_resolve / crossref_lookup, plus integrity_check for retraction.
Anything you could not resolve is unverified — never counted as verified.
For the novelty claim, coscientist_verify novelty retrieves a small prior-art
set (two by default), stores it, and pins the reading to verbatim quote spans.
The score is a lexical reading over that set, not a literature verdict; report
not_checked when retrieval fails. Pass your own novelty_score only when a
subagent actually read the retrieved references, and still keep the stored quotes.
ranking → coscientist_rank propose, then two judge subagents, one at
a time, one per presentation order, then record with both verdicts.
Use the same brief for both, swapping only the A/B slots. Report
verdict_ab and verdict_ba as the presented slot that won, so
agreement is A + B — see references/tournament.md §3 before recording.
If a judge settles as failed with no closing message, retry the identical
brief (see Delegation); never shorten or rephrase one orientation relative
to the other, because that is what makes the two verdicts comparable.
evolution → run the named mutation brief on a top hypothesis, then add
with parent_ids and strategy: evolution:<name>. Read the failed/pruned
experiment traces the dispatch carries first — a mutation that re-proposes an
assumption the record already refuted is not a new candidate.
proximity → coscientist_rank similarity; surface any duplicate pair to
the scientist rather than quietly deleting one.
meta_review → synthesize a cross-cutting critique and synthesize it; it
steers later generation.
- Stop when the tools say stop.
next returns terminate with a reason.
Then: record any open limitations, run select to freeze the champion, design
its protocol, write the research overview, export, and report. An explicit stop
bound in the user's request is binding: translate it to max_matches when you
start — "first ranking" means one match for every active pair, C(n,2) — and
stop as soon as next reports match_cap_reached. Do not continue into
evolution, meta-review, or extra matches because the step budget still has room.
- Show the structure.
coscientist graph builds a Mermaid diagram from the
ledger alone — solid arrows are parentage, dotted ones are similarity, limitation
coupling, or prior art, and a paper node exists only because a recorded claim or
novelty reference named it. Write it with export format: "mermaid" and hand the
file to mermaid_render for SVG. Explain the edges you show; a diagram the
scientist cannot read is decoration.
- Cosine is opt-in.
coscientist embed is the only tournament call that
needs GEMINI_API_KEY and the network, so it is never automatic. Reach for it
when the pool is large or the user suspects paraphrases are passing the lexical
gate; it moves the gate to upstream's 0.92 cosine. A pool that is only partly
embedded is reported as mixed — embed the rest before trusting a similarity
number, and never present a mixed score as semantic.
- Report honestly. Give the leaderboard with rating, RD, and matches played.
A hypothesis that played 1 match is not established; say so. Never render a
rating as confidence, probability, or scientific merit.
- Log it.
notebook with kind: "hypothesis" per kept hypothesis, and
later results with relatesTo and stance. The tournament ledger holds the
detail; the notebook holds the thread.
Limitations, traces, and selection
The tournament records the method's weaknesses and freezes the chosen idea; it does
not repair the method and does not accept it.
For focused work load limitation-mining or novelty-triage; for staged
testing use subset-first-eval, and for the four advisory checks use
integrity-audit. A scoped tournament-slug#h1 experiment parameter prevents
ambiguous bare idea ids from being attributed across tournaments.
- Record a limitation, do not edit one.
coscientist limitation limitation_action: "add"
takes the methodological flaw, the verbatim source quote span, why it limits the
method, and at least two remedy families. The quote is checked against the
named hypothesis or workspace text file before the record exists. A refinement is
a new record: never rewrite, renumber, or delete an earlier limitation.
- Sufficiency is binary and round-capped.
limitation_action: "verify" records
sufficient or insufficient with a reason. The cap is CO_SCIENTIST_LIMITATION_ROUNDS
(default 16) or an explicit max_rounds; a spent cap is reported exhausted, not
accepted. limitation_action: "status" is the coverage view — what is covered by an
active idea, what is open, and which ideas address nothing.
- Couple ideas to limitations. Pass
addresses_limitation: ["l1"] on add; the
limitation must already be recorded. The join appears in status, graph, and the
exports, so a claim of coverage is checkable.
- Read failure logs before evolving.
coscientist trace reads experiment_log
runs, failed and pruned first. An evolution dispatch carries the same evidence;
state the constraint you are carrying forward in one line.
- Select on evidence, not preference.
coscientist select needs an active
champion, a rationale, and the surviving candidates it was compared against. It
stores the tournament readings, review scores, citation/novelty checks, and any
experiment traces, plus a digest. The result is a frozen choice for drafting and
ablation, not an acceptance decision; a later cycle can append another selection.
- A novelty number is only as good as its quotes.
coscientist_verify novelty
retrieves the reference set and pins the score to verbatim spans. The formula is
this plugin's lexical reading (10 × (1 − max token coverage)), not the paper's;
the paper specifies only that two references are retrieved. Say "lexical prior-art
reading" and keep not_checked when retrieval fails.
Resuming
coscientist status reads the ledger as it stands. Say which tournament you
resumed, its round, and its matches, then continue dispatching. Never start a
second slug for the same goal — pass resume: true to adjust budgets.
Safety
A review stage that raises a dual-use or harm concern sets safety_flag.
Run the safety-classifier brief and record it with coscientist safety — the tool
applies the threshold and withholds the hypothesis for you. A withheld hypothesis
stays in the ledger, out of the tournament, and is reported as withheld with its
severity. Only the user releases one, and only with a named reason. Releasing does
not make the idea safe — it makes it eligible to be ranked.
Never produce an executable protocol for enhancing a pathogen, weaponizing an
agent, or evading a diagnostic. Refuse that half of the request, keep the benign
hypotheses, and say what you withheld.
Delegation
subagent returns immediately and the answer arrives as a completion notice;
never poll. Run the two orientations of one match sequentially, one subagent at
a time, not as a parallel pair: concurrent children multiply the number of
startup and provider failures, and a failed orientation then costs two retries
instead of one. Put the specialist name in description and the brief plus the
concrete pair in prompt — a judge needs both hypotheses in full, the provenance
line, and the rubric.
If a child settles as failed before it finished with no closing message, retry
the identical brief. After two failures, report that orientation as
unavailable (the match stays flagged position_controlled: false); do not invent
a verdict, and do not re-run only one orientation with a different prompt and
treat the pair as comparable.
Read next
references/briefs.md — every subagent brief and its exact JSON contract.
references/tournament.md — ratings, RD, matchups, judging order, termination.
generating-scientific-hypotheses — the single-pass version of this work.
experiment-designer — controls, power, and analysis plan once one hypothesis
is chosen.
1---2name: co-scientist-tournament3description: >4 Run a persistent, ranked multi-round hypothesis tournament, and the ledger that5 keeps it: generate diverse candidates from the literature, review each through6 five stages, debate them head-to-head onto a Glicko-2 leaderboard, evolve the7 best, and export a ranked shortlist that survives across sessions. Use when the8 user wants hypotheses *ranked and kept* rather than listed: a shortlist to9 defend or compare, which of these is strongest and why, a set they will resume,10 extend, or revisit later, iterative generate-critique-evolve rounds, more11 candidates than one pass should hold, or a mention of a tournament,12 leaderboard, Elo/Glicko ranking, head-to-head comparison, or Co-Scientist.13 Also use when they hand over a puzzle and want the candidates scored against14 each other before choosing. Do not use for one pass of ideation (that is15 generating-scientific-hypotheses), for analyzing chosen outcome data16 (framing-research-questions, designing-the-analysis), for a literature review,17 or for manuscript writing.18license: MIT19metadata:20 source: https://skillmd.com/skills/raktim-mondol/co-scientist-tournament21 version: "1.0"22---2324# Co-Scientist hypothesis tournament2526Generate → review → rank → evolve, with the state kept in a ledger so a27tournament survives the end of this context window. Adapted from the open-source28`co-scientist` implementation of Gottweis et al., *Nature* (2026); the rating29math, scheduling policy, and duplicate gate run in code, not in prose.3031Not a confirmatory analysis, and not a source of results. Generated hypotheses32recombine published knowledge. Never invent a citation, DOI, paper title, or33number.3435## Is this a hypothesis ask at all3637Most people describe a problem, not a task. Decide from what they need back, not38from the presence of the word "hypothesis":3940| What they say | What it is | Go to |41|---|---|---|42| "why does X happen", "what could explain this", "we expected A and got B" | needs candidate explanations | `generating-scientific-hypotheses` (one pass), this skill if they want them ranked and kept |43| "what should I test next", "give me something falsifiable", "novel target for Y" | needs a testable claim | same split as above |44| "which of these is strongest", "rank them", "a shortlist I can defend", "we will revisit this next month" | needs a kept ranking | `co-scientist-tournament` |45| "more candidates, and better ones", "evolve/improve these", "run another round" | needs generate-critique-evolve | `co-scientist-tournament` |46| "does X cause Y in this data", "run the test", "is my result significant" | chosen outcome + question | `framing-research-questions`, `designing-the-analysis` — not hypothesis generation |47| "what is known about X", "summarize the literature" | a survey | `literature-review` / search tools |48| "review this paper", "write the discussion" | manuscript work | the writing and review skills |4950Two rules that survive everything else:5152- **Search before proposing.** A hypothesis is a claim about what is not yet53 published; say it is novel only after searching, and mark anything you could not54 verify `[VERIFY]`.55- **A generated hypothesis is not a finding.** It is a recombination of56 published knowledge offered as something worth testing. If the user is about to57 act on it as evidence, stop and say so.5859If the ask is ambiguous between one pass and a tournament, ask one question —60"Do you want these ranked and kept, or is a short list enough for now?" — rather61than silently starting a tournament that costs debate matches.6263## What the tools own6465`coscientist` and `coscientist_rank` (state under `.dsh/coscientist/<slug>/`).66They decide; you dispatch. **Do not reimplement any of this in your own67reasoning** — do not compute ratings, pick matchups, or decide whether the loop68should continue.6970| The tool enforces | You cannot talk it out of |71|---|---|72| A near-duplicate `add` is discarded with its similarity score | Distinct claims must differ in mechanism, not wording |73| `add` refuses past the hypothesis cap | — |74| Review stages run in order; a `fail` at `initial`/`full` rejects | A rejected hypothesis never re-enters; add a new one |75| Only `active` hypotheses compete; withheld ones cannot be matched | Quarantine is a human release, with a name and a reason |76| Ratings move only through `record` and `feedback` | Prose praise changes nothing |77| `feedback` takes the experiment's `outcome` (`supports`, `refutes` or `inconclusive`) as the direction of the reward | Say what the result showed; do not leave it to a keyword reading of your prose, which can score "did not improve ... no significant effect" as neutral. Ask the scientist when it is unclear; use `inconclusive` rather than guessing |78| `next` samples the task; `status`/`next` say when to stop | You do not choose when the tournament ends |79| `next` never samples a task the ledger cannot execute | At the cap there is no generation/evolution; reflection needs a pending review |80| A pair that has never met plays before a repeat | Complete the first ranking instead of replaying one matchup |81| Both presentation orders are needed, or the match is flagged | A single-order verdict is position-biased |8283`next` returns one sampled task and one line of guidance. The four generation84strategies and six evolution mutations are in `references/briefs.md`; the rating85and termination rules are in `references/tournament.md`.8687## Loop88891. **Start.** Restate the goal, constraints, and what a useful output looks like.90 Ask **one** question only if a missing constraint would change the search.91 Run `coscientist priors` before anything else — if a sibling tournament in this92 workspace already refuted, rejected, or withheld something similar, say so93 rather than generating another version of it. Then run the goal-parse brief94 (`references/briefs.md` §1) in a `subagent`, then95 `coscientist start` with its parsed title, domain, keywords, rubric, and seed96 queries. Keep the defaults: **5 hypotheses, 36 steps**. Five is the smallest97 pool where one review veto and one dual-use withholding still leave three98 ideas competing — at three the tournament stalls on `no_competitors` — and99 past five each pair starts meeting less than twice, which buys breadth at the100 cost of a head-to-head ranking. Raise both together and only when the user101 asks for a deeper search, and say what it costs: 15 matches is at least 30102 judging calls, more if any pair goes to debate. A bigger pool on the same103 budget ends on `budget_exhausted` rather than on converged rankings.1042. **Dispatch.** Ask `next`, do exactly that task, record the result, ask again.105 One task per turn is fine; several is fine while each is recorded.106 - `generation` → search, then one strategy brief, then `add`. A discard is a107 normal outcome: report the score and the neighbour, then go generate a108 genuinely different claim.109 - `reflection` → pick one `pending_review` hypothesis, run the five stage110 briefs in order, `review` after each. Verify its citations with111 `coscientist_verify citations`, or by hand with112 `paper_resolve` / `crossref_lookup`, plus `integrity_check` for retraction.113 Anything you could not resolve is unverified — never counted as verified.114 For the novelty claim, `coscientist_verify novelty` retrieves a small prior-art115 set (two by default), stores it, and pins the reading to verbatim quote spans.116 The score is a lexical reading over that set, not a literature verdict; report117 `not_checked` when retrieval fails. Pass your own `novelty_score` only when a118 subagent actually read the retrieved references, and still keep the stored quotes.119 - `ranking` → `coscientist_rank propose`, then **two judge subagents, one at120 a time**, one per presentation order, then `record` with both verdicts.121 Use the **same brief** for both, swapping only the A/B slots. Report122 `verdict_ab` and `verdict_ba` as the *presented* slot that won, so123 agreement is `A` + `B` — see `references/tournament.md` §3 before recording.124 If a judge settles as failed with no closing message, retry the **identical**125 brief (see Delegation); never shorten or rephrase one orientation relative126 to the other, because that is what makes the two verdicts comparable.127 - `evolution` → run the named mutation brief on a top hypothesis, then `add`128 with `parent_ids` and `strategy: evolution:<name>`. Read the failed/pruned129 experiment traces the dispatch carries first — a mutation that re-proposes an130 assumption the record already refuted is not a new candidate.131 - `proximity` → `coscientist_rank similarity`; surface any duplicate pair to132 the scientist rather than quietly deleting one.133 - `meta_review` → synthesize a cross-cutting critique and `synthesize` it; it134 steers later generation.1353. **Stop when the tools say stop.** `next` returns `terminate` with a reason.136 Then: record any open limitations, run `select` to freeze the champion, design137 its protocol, write the research overview, export, and report. An explicit stop138 bound in the user's request is binding: translate it to `max_matches` when you139 `start` — "first ranking" means one match for every active pair, `C(n,2)` — and140 stop as soon as `next` reports `match_cap_reached`. Do not continue into141 evolution, meta-review, or extra matches because the step budget still has room.1424. **Show the structure.** `coscientist graph` builds a Mermaid diagram from the143 ledger alone — solid arrows are parentage, dotted ones are similarity, limitation144 coupling, or prior art, and a paper node exists only because a recorded claim or145 novelty reference named it. Write it with `export format: "mermaid"` and hand the146 file to `mermaid_render` for SVG. Explain the edges you show; a diagram the147 scientist cannot read is decoration.1485. **Cosine is opt-in.** `coscientist embed` is the only tournament call that149 needs `GEMINI_API_KEY` and the network, so it is never automatic. Reach for it150 when the pool is large or the user suspects paraphrases are passing the lexical151 gate; it moves the gate to upstream's 0.92 cosine. A pool that is only partly152 embedded is reported as **mixed** — embed the rest before trusting a similarity153 number, and never present a mixed score as semantic.1546. **Report honestly.** Give the leaderboard with rating, RD, and matches played.155 A hypothesis that played 1 match is not established; say so. Never render a156 rating as confidence, probability, or scientific merit.1577. **Log it.** `notebook` with `kind: "hypothesis"` per kept hypothesis, and158 later results with `relatesTo` and `stance`. The tournament ledger holds the159 detail; the notebook holds the thread.160161## Limitations, traces, and selection162163The tournament records the method's weaknesses and freezes the chosen idea; it does164not repair the method and does not accept it.165For focused work load `limitation-mining` or `novelty-triage`; for staged166testing use `subset-first-eval`, and for the four advisory checks use167`integrity-audit`. A scoped `tournament-slug#h1` experiment parameter prevents168ambiguous bare idea ids from being attributed across tournaments.169170- **Record a limitation, do not edit one.** `coscientist limitation limitation_action: "add"`171 takes the methodological flaw, the verbatim source quote span, why it limits the172 method, and **at least two remedy families**. The quote is checked against the173 named hypothesis or workspace text file before the record exists. A refinement is174 a new record: never rewrite, renumber, or delete an earlier limitation.175- **Sufficiency is binary and round-capped.** `limitation_action: "verify"` records176 `sufficient` or `insufficient` with a reason. The cap is `CO_SCIENTIST_LIMITATION_ROUNDS`177 (default 16) or an explicit `max_rounds`; a spent cap is reported `exhausted`, not178 accepted. `limitation_action: "status"` is the coverage view — what is covered by an179 active idea, what is open, and which ideas address nothing.180- **Couple ideas to limitations.** Pass `addresses_limitation: ["l1"]` on `add`; the181 limitation must already be recorded. The join appears in `status`, `graph`, and the182 exports, so a claim of coverage is checkable.183- **Read failure logs before evolving.** `coscientist trace` reads `experiment_log`184 runs, failed and pruned first. An `evolution` dispatch carries the same evidence;185 state the constraint you are carrying forward in one line.186- **Select on evidence, not preference.** `coscientist select` needs an active187 champion, a rationale, and the surviving candidates it was compared against. It188 stores the tournament readings, review scores, citation/novelty checks, and any189 experiment traces, plus a digest. The result is a frozen choice for drafting and190 ablation, not an acceptance decision; a later cycle can append another selection.191- **A novelty number is only as good as its quotes.** `coscientist_verify novelty`192 retrieves the reference set and pins the score to verbatim spans. The formula is193 this plugin's lexical reading (`10 × (1 − max token coverage)`), not the paper's;194 the paper specifies only that two references are retrieved. Say "lexical prior-art195 reading" and keep `not_checked` when retrieval fails.196197## Resuming198199`coscientist status` reads the ledger as it stands. Say which tournament you200resumed, its round, and its matches, then continue dispatching. Never start a201second slug for the same goal — pass `resume: true` to adjust budgets.202203## Safety204205A review stage that raises a dual-use or harm concern sets `safety_flag`.206Run the safety-classifier brief and record it with `coscientist safety` — the tool207applies the threshold and withholds the hypothesis for you. A withheld hypothesis208stays in the ledger, out of the tournament, and is reported as withheld with its209severity. Only the user releases one, and only with a named reason. Releasing does210not make the idea safe — it makes it eligible to be ranked.211212Never produce an executable protocol for enhancing a pathogen, weaponizing an213agent, or evading a diagnostic. Refuse that half of the request, keep the benign214hypotheses, and say what you withheld.215216## Delegation217218`subagent` returns immediately and the answer arrives as a completion notice;219never poll. Run the two orientations of one match **sequentially, one subagent at220a time**, not as a parallel pair: concurrent children multiply the number of221startup and provider failures, and a failed orientation then costs two retries222instead of one. Put the specialist name in `description` and the brief plus the223concrete pair in `prompt` — a judge needs both hypotheses in full, the provenance224line, and the rubric.225226If a child settles as `failed before it finished` with no closing message, retry227the **identical** brief. After two failures, report that orientation as228unavailable (the match stays flagged `position_controlled: false`); do not invent229a verdict, and do not re-run only one orientation with a different prompt and230treat the pair as comparable.231232## Read next233234- `references/briefs.md` — every subagent brief and its exact JSON contract.235- `references/tournament.md` — ratings, RD, matchups, judging order, termination.236- `generating-scientific-hypotheses` — the single-pass version of this work.237- `experiment-designer` — controls, power, and analysis plan once one hypothesis238 is chosen.