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.
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-generationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/hypothesis-generation ~/.gemini/antigravity-cli/skills/hypothesis-generationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install hypothesis-generation in Antigravity CLI
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 →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
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.
