Agent skill

Hypothesis Generation

by aipoch in aipoch/medical-research-skills

Structured scientific hypothesis formulation from observations; use when you have experimental observations or preliminary data and need testable hypotheses with predictions, mechanisms, and…

MITAuto-check passedResearch & Science

Install Hypothesis Generation

skills CLI
$ npx skills add aipoch/medical-research-skills --skill hypothesis-generation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aipoch/medical-research-skills hypothesis-generation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'scientific-skills/Protocol Design/hypothesis-generation' .claude/skills/hypothesis-generation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
hypothesis-generation
GitHub stars
2k
Token cost
~3.5k tokens
SKILL.md length
1,305 words
Files
3
Skills in repo
567
Repo updated
First seen
Licence
MIT

At a glance

Structured scientific hypothesis formulation from observations; use when you have experimental observations or preliminary data and need testable hypotheses with predictions, mechanisms, and…

  • Works in 5 steps: When to Use → Key Features → Dependencies → …
  • You have experimental observations
  • SKILL.md covers When to Use, Key Features, Dependencies and Example Usage, plus 14 more sections
  • Calls python

What it does

Hypothesis Generation is an agent skill from aipoch/medical-research-skills. Structured scientific hypothesis formulation from observations; use when you have experimental observations or preliminary data and need testable hypotheses with predictions, mechanisms, and validation experiments.

Its SKILL.md is about 3.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `POLISH_CHANGELOG.md` and `eval_report_hypothesis-generation_result.json`).

It sits in Research & Science, covering Hypothesis generation. The repository describes itself as: Hundreds of agent skills for medical research, including protocol design, data analysis, evidence insights, and academic writing. The licence is MIT.

When your agent uses it

  • You have experimental observations
  • Preliminary data and need testable hypotheses with predictions
  • Validation experiments

Example prompts

  • “/hypothesis-generation”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. When to Use
  2. Key Features
  3. Dependencies
  4. Example Usage
  5. Implementation Details

What it can do on your machine

Read from SKILL.md and the folder at commit 686e09d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Hypothesis Generation loads about 3.5k tokens when it runs. Until then it costs about 59 tokens; SKILL.md has 1,305 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~3.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from aipoch/medical-research-skills at commit 686e09d, republished under its MIT licence (© aipoch). 1,305 words, ~3,515 tokens.

Download SKILL.mdSave it as .claude/skills/hypothesis-generation/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
hypothesis-generation
description
Structured scientific hypothesis formulation from observations; use when you have experimental observations or preliminary data and need testable hypotheses with predictions, mechanisms, and validation experiments.
license
MIT
author
AIPOCH

Source: https://github.com/aipoch/medical-research-skills

Hypothesis Generation (Scientific)

When to Use

  • Use this skill when the request matches its documented task boundary.
  • Use it when the user can provide the required inputs and expects a structured deliverable.
  • Prefer this skill for repeatable, checklist-driven execution rather than open-ended brainstorming.

Key Features

  • Scope-focused workflow aligned to: Structured scientific hypothesis formulation from observations; use when you have experimental observations or preliminary data and need testable hypotheses with predictions, mechanisms, and validation experiments.
  • Documentation-first workflow with no packaged script requirement.
  • Reference material available in references/ for task-specific guidance.
  • Reusable packaged asset(s), including assets/FORMATTING_GUIDE.md.
  • Structured execution path designed to keep outputs consistent and reviewable.

Dependencies

  • Python: 3.10+. Repository baseline for current packaged skills.
  • Third-party packages: not explicitly version-pinned in this skill package. Add pinned versions if this skill needs stricter environment control.

Example Usage

text
Skill directory: 20260316/scientific-skills/Protocol Design/hypothesis-generation
No packaged executable script was detected.
Use the documented workflow in SKILL.md together with the references/assets in this folder.

Example run plan:

  1. Read the skill instructions and collect the required inputs.
  2. Follow the documented workflow exactly.
  3. Use packaged references/assets from this folder when the task needs templates or rules.
  4. Return a structured result tied to the requested deliverable.

Implementation Details

  • Execution model: validate the request, choose the packaged workflow, and produce a bounded deliverable.
  • Input controls: confirm the source files, scope limits, output format, and acceptance criteria before running any script.
  • Primary implementation surface: instruction-only workflow in SKILL.md.
  • Reference guidance: references/ contains supporting rules, prompts, or checklists.
  • Packaged assets: reusable files are available under assets/.
  • Parameters to clarify first: input path, output path, scope filters, thresholds, and any domain-specific constraints.
  • Output discipline: keep results reproducible, identify assumptions explicitly, and avoid undocumented side effects.

1. When to Use

Use this skill when you need to turn observations into testable, mechanistic hypotheses and a validation plan, for example:

  • You have experimental observations (e.g., an unexpected phenotype, trend, or anomaly) and need 3-5 competing explanations with clear mechanisms.
  • You have preliminary data and must propose testable predictions and decisive experiments to discriminate between hypotheses.
  • You are preparing a mechanistic study plan (molecular/cellular/system/population) and need a structured framework for causal reasoning.
  • You are doing literature-grounded hypothesis development and want to identify gaps, contradictions, and plausible mechanisms.
  • You need a publication-ready hypothesis report (LaTeX) with concise main claims and a detailed appendix.

2. Key Features

  • Scientific workflow: observation framing → literature search → evidence synthesis → competing hypotheses → quality evaluation → experiments → predictions → structured report.
  • Competing hypotheses (3-5): distinct, mechanistic explanations at appropriate biological/physical scales.
  • Quality criteria: testability, falsifiability, parsimony, explanatory power, scope, consistency, novelty (see references/hypothesis_quality_criteria.md).
  • Experiment design patterns: lab, observational, clinical, computational; controls, confounders, and measurement plans (see references/experimental_design_patterns.md).
  • Prediction-first outputs: quantitative/conditional predictions that differentiate hypotheses and specify falsifiers.
  • Report packaging: LaTeX template with colored boxes and a strict main-body length budget (see assets/hypothesis_report_template.tex, assets/hypothesis_generation.sty, assets/FORMATTING_GUIDE.md).
  • Mandatory visuals: every hypothesis report must include at least 1-2 AI-generated schematics created via the scientific-schematics skill.

3. Dependencies

  • LaTeX engine: XeLaTeX or LuaLaTeX
  • BibTeX: for reference compilation
  • Required LaTeX packages (used by assets/hypothesis_generation.sty):
    • tcolorbox, xcolor, fontspec, fancyhdr, titlesec, enumitem, booktabs, natbib
  • Python (optional, for schematic generation script): Python 3.10+ recommended
  • Related skill dependency (mandatory for reports): scientific-schematics (for 1-2+ diagrams per report)

4. Example Usage

A) Generate required schematics (at least 1-2)
bash
python scripts/generate_schematic.py "Diagram showing 3 competing mechanistic hypotheses linking Observation X to Outcome Y, with key intermediates and predicted readouts." -o figures/hypothesis_framework.png

python scripts/generate_schematic.py "Experimental design flowchart comparing interventions A/B and controls, with primary/secondary endpoints and decision points." -o figures/experimental_design.png
B) Create a LaTeX report using the provided template
  1. Copy the template assets into a working directory:
bash
mkdir -p hypothesis_report figures
cp assets/hypothesis_report_template.tex hypothesis_report/hypothesis_report.tex
cp assets/hypothesis_generation.sty hypothesis_report/
  1. Edit hypothesis_report/hypothesis_report.tex to include:
  • Executive summary
  • 3-5 hypothesis boxes (each on a fresh page)
  • Predictions and critical comparisons
  • Appendix A-D with detailed literature, protocols, and evaluations
  • References (BibTeX)
  1. Compile:
bash
cd hypothesis_report
xelatex hypothesis_report.tex
bibtex hypothesis_report
xelatex hypothesis_report.tex
xelatex hypothesis_report.tex
C) Minimal LaTeX snippet demonstrating the required structure
latex
\documentclass{article}
\usepackage{hypothesis_generation}
\usepackage{natbib}

\begin{document}

\begin{summarybox}
\textbf{Executive Summary.} Observation X shows pattern Y under condition Z. We propose 3 competing mechanisms and outline decisive experiments and predictions.
\end{summarybox}

\newpage
\begin{hypothesisbox1}[Hypothesis 1: Mechanism A]
\textbf{Mechanistic explanation.} Brief causal chain describing how A produces Y under Z.

\textbf{Key supporting evidence.}
\begin{itemize}
  \item Evidence point 1 \citep{author2023}.
  \item Evidence point 2 \citep{author2021}.
\end{itemize}

\textbf{Core assumptions.}
\begin{itemize}
  \item Assumption 1.
\end{itemize}
\end{hypothesisbox1}

\newpage
\begin{hypothesisbox2}[Hypothesis 2: Mechanism B]
% Keep concise; move details to Appendix.
\end{hypothesisbox2}

\begin{predictionbox}
\textbf{Testable predictions.}
\begin{itemize}
  \item If Hypothesis 1 is correct, intervention I increases readout R by ~20-40\% under Z.
  \item If Hypothesis 2 is correct, R does not change, but marker M shifts directionally.
\end{itemize}
\end{predictionbox}

\begin{comparisonbox}
\textbf{Critical comparisons.} Prioritize experiments that maximally separate predictions across hypotheses.
\end{comparisonbox}

\end{document}

5. Implementation Details

  1. Define the phenomenon
    • State the observation/pattern to explain, scope, constraints, and what is known vs unknown.
  2. Literature search
    • Use domain-appropriate sources (e.g., PubMed for biomedical topics; general scholarly search otherwise).
    • Apply strategies in references/literature_search_strategies.md.
  3. Evidence synthesis
    • Summarize consensus mechanisms, contradictions, and gaps; extract candidate causal links.
  4. Generate 3-5 competing hypotheses
    • Each must be mechanistic (how/why), distinct, and grounded in evidence or plausible analogies.
  5. Evaluate hypothesis quality
    • Use criteria in references/hypothesis_quality_criteria.md:
      • Testability, falsifiability, parsimony, explanatory power, scope, consistency, novelty.
    • Record strengths/weaknesses explicitly.
  6. Design experimental tests
    • Use patterns in references/experimental_design_patterns.md.
    • Specify: measurements, controls, comparisons, confounders, sample size/statistics (as appropriate).
  7. Formulate testable predictions
    • Provide discriminative predictions (direction, magnitude when possible), boundary conditions, and falsifiers.
  8. Produce structured report
    • Use assets/hypothesis_report_template.tex and assets/hypothesis_generation.sty.
    • Include 1-2+ schematics generated via scientific-schematics.
5.2 Mandatory schematic requirement
  • Every hypothesis generation report must include at least 1-2 diagrams (framework, mechanism, experimental flowchart, decision tree, causal graph).
  • Reports without visuals are considered incomplete.
  • Recommended placement: one schematic in the main body (overview), additional schematics in the appendix (mechanisms/experimental details).
Show full SKILL.md (542 more words)Show less
5.3 LaTeX formatting constraints (overflow prevention)
  • The main body should be ≤ 4 pages (template-guided).
  • Insert \newpage before each hypothesis box; tcolorbox environments do not reliably break across pages.
  • Keep each hypothesis box to roughly 0.5-0.6 page:
    • Mechanism: 1-2 short paragraphs (≈ 6-10 sentences)
    • Evidence: 2-3 bullets with key citations
    • Assumptions: 1-2 bullets
  • Move extended rationale, extra citations, and protocol details to the appendix.
5.4 Citation targets
  • Main body: ~10-15 carefully selected citations (only the most decisive evidence).
  • Appendix A: ~40-70+ citations for comprehensive coverage.
  • Total references goal: 50+ entries when the topic warrants it.
  • Use \citep{author2023} for parenthetical citations (per template conventions).
5.5 Included repository resources
  • references/hypothesis_quality_criteria.md: evaluation rubric for hypothesis strength.
  • references/experimental_design_patterns.md: reusable experimental design templates.
  • references/literature_search_strategies.md: search tactics for PubMed and general scientific sources.
  • assets/hypothesis_generation.sty: colored box environments and report styling.
  • assets/hypothesis_report_template.tex: full report template (main body + appendix).
  • assets/FORMATTING_GUIDE.md: examples and troubleshooting for box usage and layout.

When Not to Use

  • Do not use this skill when the required source data, identifiers, files, or credentials are missing.
  • Do not use this skill when the user asks for fabricated results, unsupported claims, or out-of-scope conclusions.
  • Do not use this skill when a simpler direct answer is more appropriate than the documented workflow.

Required Inputs

  • A clearly specified task goal aligned with the documented scope.
  • All required files, identifiers, parameters, or environment variables before execution.
  • Any domain constraints, formatting requirements, and expected output destination if applicable.
  1. Validate the request against the skill boundary and confirm all required inputs are present.
  2. Select the documented execution path and prefer the simplest supported command or procedure.
  3. Produce the expected output using the documented file format, schema, or narrative structure.
  4. Run a final validation pass for completeness, consistency, and safety before returning the result.

Output Contract

  • Return a structured deliverable that is directly usable without reformatting.
  • If a file is produced, prefer a deterministic output name such as hypothesis_generation_result.md unless the skill documentation defines a better convention.
  • Include a short validation summary describing what was checked, what assumptions were made, and any remaining limitations.

Validation and Safety Rules

  • Validate required inputs before execution and stop early when mandatory fields or files are missing.
  • Do not fabricate measurements, references, findings, or conclusions that are not supported by the provided source material.
  • Emit a clear warning when credentials, privacy constraints, safety boundaries, or unsupported requests affect the result.
  • Keep the output safe, reproducible, and within the documented scope at all times.

Failure Handling

  • If validation fails, explain the exact missing field, file, or parameter and show the minimum fix required.
  • If an external dependency or script fails, surface the command path, likely cause, and the next recovery step.
  • If partial output is returned, label it clearly and identify which checks could not be completed.

Input Validation

This skill accepts requests that match the documented purpose of hypothesis-generation and include enough context to complete the workflow safely.

Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:

hypothesis-generation only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.

Quick Validation

Run this minimal verification path before full execution when possible:

text
No local script validation step is required for this skill.

Expected output format:

text
Result file: hypothesis_generation_result.md
Validation summary: PASS/FAIL with brief notes
Assumptions: explicit list if any

© aipoch, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files in scientific-skills/Protocol Design/hypothesis-generation of aipoch/medical-research-skills.

  • SKILL.md
  • POLISH_CHANGELOG.md
  • eval_report_hypothesis-generation_result.json

Open the folder on GitHubat commit 686e09d

Compare with similar skills

Hypothesis Generation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Hypothesis Generation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Hypothesis Generation this skillaipoch/medical-research-skills2k—~3.5kAutomated safety check: PassMIT
Hypothesis Generationspacering-net/codeg3.8k15 repos~3.6kAutomated safety check: NotesMIT
Nature Paper CardYuan1z0825/nature-skills46k2 repos~2.1kAutomated safety check: PassApache-2.0
Hypothesis GenerationK-Dense-AI/claude-scientific-writer2.4k2 repos~3.9kAutomated safety check: PassMIT
Good QuestionRimagination/good-question3051 repos~4.3kAutomated safety check: PassMIT
Claim-Driven Experiment PlannerzjYao36/Auto-Research-Refine1287 repos~2.3kAutomated safety check: NotesNone

Similar skills

  • Hypothesis Generation

    spacering-net/codeg

    Structured hypothesis formulation from observations. An agent skill from spacering-net/codeg.

    3.8k GitHub starsUsed in 15 repos~3.6k tokens
    Research & ScienceAuto-check: notes
  • Nature Paper Card

    Yuan1z0825/nature-skills

    Builds a structured deep-reading card for one scientific paper, covering methods, how experiments support claims, limitations and research ideas, with a script to prepare the source.

    46k GitHub starsUsed in 2 repos~2.1k tokens
    Research & ScienceAuto-check passed
  • Hypothesis Generation

    K-Dense-AI/claude-scientific-writer

    Formulate evidence-bounded scientific questions, candidate hypotheses, rival explanations, causal or associational claims, discriminating predictions, measurements, and preregistration-ready…

    2.4k GitHub starsUsed in 2 repos~3.9k tokens
    Research & ScienceAuto-check passed
  • Good Question

    Rimagination/good-question

    A skill your agent uses when a researcher is choosing, framing, refining, or stress-testing a research question, hypothesis, thesis topic, project idea, grant direction, paper angle, or stalled…

    305 GitHub starsUsed in 1 repo~4.3k tokens
    Research & ScienceAuto-check passed
  • Claim-Driven Experiment Planner

    zjYao36/Auto-Research-Refine

    Turns a refined research proposal into a claim-to-evidence-to-run-order roadmap instead of a sprawling benchmark wishlist.

    128 GitHub starsUsed in 7 repos~2.3k tokens
    Research & ScienceAuto-check: notes
  • High Stakes Analytics Decision Lab

    limingrui679-design/high-stakes-analytics-decision-lab

    Build or review source-backed descriptive, diagnostic, predictive, and prescriptive analysis for consequential decisions.

    989 GitHub stars~2.2k tokensUpdated 2 days ago
    Research & ScienceAuto-check passed

More from aipoch/medical-research-skills

All 567 skills in this repo
  • Academic Poster Generator

    aipoch/medical-research-skills

    Complete workflow for generating academic research posters from PDF literature; use when you need to extract paper content from PDFs and produce a LaTeX-based poster…

    2k GitHub stars~2.2k tokensUpdated 21 days ago
    Auto-check passed
  • Diagnostic Study Quality Assessment Quadas

    aipoch/medical-research-skills

    Analyzes clinical diagnostic accuracy studies for bias using the QUADAS-2 tool.

    2k GitHub stars~1.4k tokensUpdated 21 days ago
    Auto-check passed
  • Exploratory Data Analysis

    aipoch/medical-research-skills

    Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats.

    2k GitHub stars~3.7k tokensUpdated 21 days ago
    Auto-check passed
  • Iso Certification

    aipoch/medical-research-skills

    A toolkit for preparing ISO 13485:2016 certification documentation for medical device QMS.

    2k GitHub stars~1.8k tokensUpdated 21 days ago
    Auto-check passed
  • Journal Skills

    aipoch/medical-research-skills

    Recommends target journals for manuscript submission by analyzing the paper topic/abstract and the journal distribution of similar PubMed literature; use when users ask for journal…

    2k GitHub stars~1.7k tokensUpdated 21 days ago
    Auto-check passed
  • Latex Posters

    aipoch/medical-research-skills

    Creates academic-poster writing packages for LaTeX using beamerposter, tikzposter, or baposter.

    2k GitHub stars~1.3k tokensUpdated 21 days ago
    Auto-check passed

Questions about Hypothesis Generation

What does Hypothesis Generation do?

Structured scientific hypothesis formulation from observations; use when you have experimental observations or preliminary data and need testable hypotheses with predictions, mechanisms, and…. Hypothesis Generation is an agent skill from aipoch/medical-research-skills. Structured scientific hypothesis formulation from observations; use when you have experimental observations or preliminary data and need testable hypotheses with predictions, mechanisms, and validation experiments.

When should I use Hypothesis Generation?

Hypothesis Generation fits situations like: you have experimental observations; preliminary data and need testable hypotheses with predictions; validation experiments.

How do I install Hypothesis Generation in Claude Code?

Run `npx skills add aipoch/medical-research-skills --skill hypothesis-generation -a claude-code`. Or copy the skill folder (scientific-skills/Protocol Design/hypothesis-generation in aipoch/medical-research-skills) into .claude/skills/hypothesis-generation in your project. Claude Code loads it when a task matches its description.

How do I install Hypothesis Generation in Codex?

Run `npx skills add aipoch/medical-research-skills --skill hypothesis-generation -a codex`. Or copy the skill folder (scientific-skills/Protocol Design/hypothesis-generation in aipoch/medical-research-skills) into .agents/skills/hypothesis-generation in your project. Codex loads it when a task matches its description.

Can I use Hypothesis Generation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aipoch/medical-research-skills --skill hypothesis-generation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hypothesis-generation, .gemini/skills/hypothesis-generation, .github/skills/hypothesis-generation and .opencode/skills/hypothesis-generation in your project.

What does Hypothesis Generation need to run?

Going by SKILL.md and its folder, Hypothesis Generation needs the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Hypothesis Generation access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Hypothesis Generation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Hypothesis Generation use?

Hypothesis Generation is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Hypothesis Generation use?

About 3.5k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Hypothesis Generation?

Skills that share tags, products or a category with Hypothesis Generation: Hypothesis Generation (spacering-net/codeg, 3.8k stars), Nature Paper Card (Yuan1z0825/nature-skills, 46k stars), Hypothesis Generation (K-Dense-AI/claude-scientific-writer, 2.4k stars) and Good Question (Rimagination/good-question, 305 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Hypothesis Generation?

aipoch (a GitHub organization) maintains it in aipoch/medical-research-skills, which has 1,974 GitHub stars. The repository holds 567 skills in this directory. The repository was last updated on September 17, 2026.

Source: aipoch/medical-research-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.