Scientific Hypothesis Generation
Turns observations or preliminary findings into evidence-bounded hypotheses, rival explanations, discriminating predictions, and preregistration-ready analysis plans.
EducationAdvanced★ 33,030⑂ 3,248AI score 8/10Last updated: Aug 9, 2026
What it does
- Freezes the observation (source, population, unit, uncertainty, exploratory vs. planned) before any interpretation.
- Frames the research question with the right template — PICO/PICOT, PECO, diagnostic accuracy, prognosis, or a domain construct frame — instead of forcing PICO everywhere.
- Records a dated evidence boundary: search date, databases, queries, filters, and limitations, so "not located" never becomes "does not exist".
- Generates rivals across distinct explanatory classes: measurement artifact, confounding, selection/attrition, collider conditioning, reverse causation, stochastic variation.
- Declares claim type and causal estimand, then derives predictions that genuinely discriminate between candidates, with real negative and procedural controls.
- Guards against HARKing with preregistration scaffolds, deviation logs, and replication planning.
- Ships deterministic, offline Python CLIs that validate structure and internal consistency only — they never score or pick a hypothesis.
Who it's for
- Graduate students and researchers drafting proposals, protocols, or theses
- Teams preparing OSF preregistrations or Registered Reports
- R&D and clinical research groups that must keep causal language disciplined
- Reviewers stress-testing a study design for hidden assumptions
Examples
- Feed in "patients using the app had fewer readmissions" and get a labeled candidate set (mechanism, confounding, selection, reverse causation) plus a prediction–rival matrix.
- Run
lint_causal_claims.pyon a manuscript draft to catch causal phrasing unsupported by an observational design. - Convert a completed hypothesis record JSON into a preregistration draft with
generate_preregistration_scaffold.py.
· · · Install guide · · ·
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/hypothesis-generation folder from the GitHub repo K-Dense-AI/scientific-agent-skills into my ~/.claude/skills/hypothesis-generation/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/K-Dense-AI/scientific-agent-skills.git && mkdir -p ~/.claude/skills && cp -r scientific-agent-skills/skills/hypothesis-generation ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and confirm Python 3.11+ is available:
python3 --version - Create the skills directory:
mkdir -p ~/.claude/skills - Clone the repository:
git clone https://github.com/K-Dense-AI/scientific-agent-skills.git - Copy just this skill:
cp -r scientific-agent-skills/skills/hypothesis-generation ~/.claude/skills/ - Restart Claude Code and confirm
hypothesis-generationappears in your skills list. - Trigger it with a prompt like "help me turn this observation into testable hypotheses and rival explanations".
- Smoke-test the bundled tools from the skill folder:
python3 scripts/validate_hypothesis_schema.py assets/hypothesis_record_template.json
View source on GitHub ↗License: MIT