Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

hypothesis-generation

Skill by davila7

Generates testable scientific hypotheses from observations. It proposes competing explanations, experiments and predictions, and writes a LaTeX report for researchers across scientific domains.

  • Score 94
  • 34k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install hypothesis-generation

Built from the published package, never by AI.

git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/hypothesis-generation ~/.claude/skills/hypothesis-generation

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install hypothesis-generation in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The hypothesis-generation skill guides an assistant through a structured process for building testable scientific explanations. It starts by clarifying the observation or phenomenon, then searches the literature. For biomedical topics it uses WebFetch with PubMed URLs, and for other domains it uses WebSearch. The assistant synthesizes the evidence and proposes 3 to 5 competing mechanistic hypotheses.

Each hypothesis is checked against quality criteria such as testability, falsifiability and parsimony. The skill then proposes experimental designs and quantitative predictions. It produces a LaTeX report from a template, with colored boxes and appendices. The source says reports should include at least one or two figures made with the scientific-schematics skill. It is aimed at researchers doing scientific inquiry across domains.

Written from the project's SKILL.md and checked against it.

What it can do

  • Phenomenon framingClarifies the observation, its scope, constraints and what is already known.
  • Literature searchSearches PubMed for biomedical topics and the web for other scientific domains.
  • Competing hypothesesDevelops 3 to 5 distinct hypotheses, each with a mechanistic explanation.
  • Quality evaluationAssesses each hypothesis for testability, falsifiability, parsimony, scope and novelty.
  • Experimental designProposes tests with measurements, controls, sample sizes and confound handling.
  • Testable predictionsStates quantitative predictions that separate competing hypotheses.
  • LaTeX reportProduces a structured report from the included template with main text and appendices.
  • Schematic figuresCreates diagrams through the scientific-schematics skill and generate_schematic.py.

What you need

  • Python, to run scripts/generate_schematic.py
  • XeLaTeX or LuaLaTeX, to compile the report
  • LaTeX packages: tcolorbox, xcolor, fontspec, fancyhdr, titlesec, enumitem, booktabs, natbib
  • The scientific-schematics skill, for figures

Try asking

  • Generate competing hypotheses to explain this unexpected experimental result
  • Design experiments to test three hypotheses about this observation
  • Write a LaTeX hypothesis report with predictions and schematic figures

Good to know

  • The main text is limited to 4 pages, with details moved to appendices.
  • Figures are described as mandatory and depend on the scientific-schematics skill.
  • The report template requires XeLaTeX or LuaLaTeX rather than standard pdfLaTeX.

Security check

B
  • Allowed to use Write, Edit, Bash without limitsIn SKILL.md

Checked automatically: cli-tool/components/skills/scientific/hypothesis-generation/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadWriteEditBash

  • SKILL.md13 KB
  • assets/FORMATTING_GUIDE.md19 KB
  • assets/hypothesis_generation.sty7 KB
  • assets/hypothesis_report_template.tex20 KB
  • references/experimental_design_patterns.md14 KB
Show all 7 files
  • references/hypothesis_quality_criteria.md8 KB
  • references/literature_search_strategies.md16 KB

Alternatives to hypothesis-generation

All alternatives →

Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database

hypothesis-generation: common questions

Does this skill produce a written report?

Yes. It generates a LaTeX document using the template in assets/hypothesis_report_template.tex, with colored boxes and appendices.

Where does the literature search come from?

For biomedical topics it uses WebFetch with PubMed URLs. For all domains it uses WebSearch to find papers, preprints and reviews.

How many hypotheses does it generate?

The workflow asks for 3 to 5 distinct hypotheses, each with a mechanistic explanation and tests.

How do I install hypothesis-generation?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is hypothesis-generation free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is hypothesis-generation safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit, bash without limits). Review the code before you install. How grades work.

What are alternatives to hypothesis-generation?

Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.

hypothesis-generation Install

Add to stack

Loading.