Hypothesis generate literature
Skill panjose/Co-Scientist/skills/hypothesis-generate-literature
Scientific agent skills for Claude Code and Codex that turn research goals into auditable hypothesis generation, review, ranking, evolution, and synthesis.
npx -y skills add panjose/Co-Scientist --skill hypothesis-generate-literatureAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Generate exactly one literature-grounded hypothesis candidate for the active round.
SKILL.md
5.6 KB, as published. Nobody here has run it
hypothesis-generate-literature
Goal:
- Generate exactly one literature-grounded hypothesis candidate for the active round.
Inputs:
research_plan/RESEARCH_PLAN.jsonstate/STRATEGY_PLAN.jsonliterature/queries/<query_id>/EVIDENCE_BUNDLE.jsonproduced bytools.search_literature(...)- optional parent hypothesis and review artifacts when the round is part of an evolution continuation
Outputs:
hypotheses/<id>/HYPOTHESIS.jsonhypotheses/<id>/HYPOTHESIS.mdhypotheses/<id>/ORIGIN.jsonliterature/queries/<query_id>/*search bridge artifacts for the evidence query used by this generation
Context Loading:
- Open
skills/shared-references/schema-index.md. - Open
skills/shared-references/literature-search-contract.md. - Read
packages/agent_contracts/literature.pybefore building or consuming any search bridge request or evidence bundle. - Read
research_plan/RESEARCH_PLAN.json. - Treat
research_goalas the task anchor. - Treat
preferencesas the quality axes that the hypothesis should optimize for. - Treat
constraintsas hard boundaries that the hypothesis and experiment design must satisfy. - Read
state/STRATEGY_PLAN.jsonand confirm that the current round allowsliterature_exploration_generation. - If the round is parented, read the selected parent hypothesis and its latest review summary before generating a child. Improve the known weaknesses instead of paraphrasing the parent.
Execution Prompt Contract:
- System Intent:
- You are generating one scientifically grounded candidate hypothesis from literature exploration.
- Required Reasoning Focus:
- Before generating the candidate, call
tools.search_literature(run_dir, request)withconsumer="hypothesis-generate-literature"and use the returnedEvidenceBundleContractas the formal external evidence input. - Use relevant prior work, gaps, contradictions, or unexplored connections from the evidence bundle to motivate the candidate.
- Produce a specific falsifiable claim with a mechanism and a concrete experiment path.
- Make the mechanism explicit enough that another reviewer can critique it step by step.
- When novelty depends on a conjectural link, keep that link explicit rather than hiding it in vague wording.
- Before generating the candidate, call
- Do Not Do:
- Do not merely restate established literature.
- Do not emit multiple final candidates in one round.
- Do not ignore explicit constraints from the research plan.
- Do not write an informal summary in place of the canonical hypothesis artifact.
- Do not invent papers, DOIs, arXiv IDs, venues, citation counts, abstracts, or literature claims not present in the evidence bundle.
- Do not treat model memory as a substitute for
tools.search_literature(...).
- Output Shape:
- Wrap the final result into the canonical shared
HypothesisContract. origin.content.statement: 2-3 sentences maximum.origin.content.mechanism: 2-3 sentences maximum.origin.content.experimental_design: one concise multiline string with 3-6 numbered steps.origin.content.experimental_designmust remain one string field containing embedded line breaks; do not emit it as a list, array, or nested object.origin.content.summary: one concise sentence.origin.content.category: 1-5 words.
- Wrap the final result into the canonical shared
Execution Steps:
- Open
skills/shared-references/schema-index.md,skills/shared-references/literature-search-contract.md, then readpackages/agent_contracts/hypothesis.pyandpackages/agent_contracts/literature.pybefore writinghypotheses/<id>/HYPOTHESIS.jsonor consuming search bridge artifacts. - Read the required artifacts.
- Confirm that this round is allowed to use literature exploration.
- Build a focused
SearchRequestContractfor the active research goal and calltools.search_literature(run_dir, request). - Read the returned
EvidenceBundleContract. Ifretrieval_metadata.statusisblocked, stop or return a degraded state; do not write a literature-grounded hypothesis. - Identify one literature-grounded gap or underexplored mechanism from the evidence bundle that can answer the active research goal.
- Generate exactly one candidate hypothesis for this round.
- Wrap the result into the canonical
HypothesisContract. Anyorigin.retrieval_resultsentries must be derived from the evidence bundle rather than invented in prompt text. - Write
hypotheses/<id>/HYPOTHESIS.json,hypotheses/<id>/HYPOTHESIS.md, andhypotheses/<id>/ORIGIN.json. - Validate the emitted artifacts before declaring success.
Artifact Rules:
hypotheses/<id>/HYPOTHESIS.jsonis the authoritative artifact and must serialize the canonical shared contract.ORIGIN.jsonmay mirror the generation payload and grounding notes, but it does not replace the canonical hypothesis artifact.- Formal external evidence must be traceable to
literature/queries/<query_id>/EVIDENCE_BUNDLE.json. - Because
origin.strategyisliterature_exploration_generation, the canonical hypothesis origin must include non-emptyretrieval_results,evidence_bundle_ids, andliterature_query_idsderived from the returned evidence bundle; validation fails if these bridge linkages are omitted or point to unknown artifacts. - Any literature search or evidence-gathering notes that are not in the canonical evidence bundle should live in the trace, not be mixed into the contract fields.
Completion Rule:
- This skill is complete only when exactly one new canonical hypothesis artifact has been written from a non-blocked evidence bundle and the emitted files validate for downstream review.