Hypothesis Generation logo

Hypothesis Generation

CommunityPopular
brycewang-stanford
hypothesis-generation

Generate testable hypotheses. Formulate from observations, design experiments, explore competing explanations, develop predictions, propose mechanisms, for scientific inquiry across domains.

Overview

Publisherbrycewang-stanford
RepositoryAuto-Empirical-Research-Skills
Skill namehypothesis-generation
Stars
3.8K
Forks
479
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by brycewang-stanford on GitHub. Read the source before you install it.

Installation

Install the Hypothesis Generation AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills.git /tmp/Auto-Empirical-Research-Skills
mkdir -p .claude/skills
cp -r /tmp/Auto-Empirical-Research-Skills/skills/04-K-Dense-AI-claude-scientific-writer/hypothesis-generation .claude/skills/hypothesis-generation
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Hypothesis Generation in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Hypothesis Generation on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Hypothesis Generation is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Scientific Hypothesis Generation

Overview

Hypothesis generation is a systematic process for developing testable explanations. Formulate evidence-based hypotheses from observations, design experiments, explore competing explanations, and develop predictions. Apply this skill for scientific inquiry across domains.

When to Use This Skill

This skill should be used when:

  • Developing hypotheses from observations or preliminary data
  • Designing experiments to test scientific questions
  • Exploring competing explanations for phenomena
  • Formulating testable predictions for research
  • Conducting literature-based hypothesis generation
  • Planning mechanistic studies across scientific domains

Visual Enhancement with Scientific Schematics

⚠️ MANDATORY: Every hypothesis generation report MUST include at least 1-2 AI-generated figures using the scientific-schematics skill.

This is not optional. Hypothesis reports without visual elements are incomplete. Before finalizing any document:

  1. Generate at minimum ONE schematic or diagram (e.g., hypothesis framework showing competing explanations)
  2. Prefer 2-3 figures for comprehensive reports (mechanistic pathway, experimental design flowchart, prediction decision tree)

How to generate figures:

  • Use the scientific-schematics skill to generate AI-powered publication-quality diagrams
  • Simply describe your desired diagram in natural language
  • Nano Banana Pro will automatically generate, review, and refine the schematic

How to generate schematics:

bash
python scripts/generate_schematic.py "your diagram description" -o figures/output.png

The AI will automatically:

  • Create publication-quality images with proper formatting
  • Review and refine through multiple iterations
  • Ensure accessibility (colorblind-friendly, high contrast)
  • Save outputs in the figures/ directory

When to add schematics:

  • Hypothesis framework diagrams showing competing explanations
  • Experimental design flowcharts
  • Mechanistic pathway diagrams
  • Prediction decision trees
  • Causal relationship diagrams
  • Theoretical model visualizations
  • Any complex concept that benefits from visualization

For detailed guidance on creating schematics, refer to the scientific-schematics skill documentation.


Workflow

Follow this systematic process to generate robust scientific hypotheses:

1. Understand the Phenomenon

Start by clarifying the observation, question, or phenomenon that requires explanation:

  • Identify the core observation or pattern that needs explanation
  • Define the scope and boundaries of the phenomenon
  • Note any constraints or specific contexts
  • Clarify what is already known vs. what is uncertain
  • Identify the relevant scientific domain(s)

2. Conduct Comprehensive Literature Search

Search existing scientific literature to ground hypotheses in current evidence. Use both PubMed (for biomedical topics) and general web search (for broader scientific domains):

For biomedical topics:

  • Use WebFetch with PubMed URLs to access relevant literature
  • Search for recent reviews, meta-analyses, and primary research
  • Look for similar phenomena, related mechanisms, or analogous systems

For all scientific domains:

  • Use WebSearch to find recent papers, preprints, and reviews
  • Search for established theories, mechanisms, or frameworks
  • Identify gaps in current understanding

Search strategy:

  • Begin with broad searches to understand the landscape
  • Narrow to specific mechanisms, pathways, or theories
  • Look for contradictory findings or unresolved debates
  • Consult references/literature_search_strategies.md for detailed search techniques

3. Synthesize Existing Evidence

Analyze and integrate findings from literature search:

  • Summarize current understanding of the phenomenon
  • Identify established mechanisms or theories that may apply
  • Note conflicting evidence or alternative viewpoints
  • Recognize gaps, limitations, or unanswered questions
  • Identify analogies from related systems or domains

4. Generate Competing Hypotheses

Develop 3-5 distinct hypotheses that could explain the phenomenon. Each hypothesis should:

  • Provide a mechanistic explanation (not just description)
  • Be distinguishable from other hypotheses
  • Draw on evidence from the literature synthesis
  • Consider different levels of explanation (molecular, cellular, systemic, population, etc.)

Strategies for generating hypotheses:

  • Apply known mechanisms from analogous systems
  • Consider multiple causative pathways
  • Explore different scales of explanation
  • Question assumptions in existing explanations
  • Combine mechanisms in novel ways

5. Evaluate Hypothesis Quality

Assess each hypothesis against established quality criteria from references/hypothesis_quality_criteria.md:

Testability: Can the hypothesis be empirically tested? Falsifiability: What observations would disprove it? Parsimony: Is it the simplest explanation that fits the evidence? Explanatory Power: How much of the phenomenon does it explain? Scope: What range of observations does it cover? Consistency: Does it align with established principles? Novelty: Does it offer new insights beyond existing explanations?

Explicitly note the strengths and weaknesses of each hypothesis.

6. Design Experimental Tests

For each viable hypothesis, propose specific experiments or studies to test it. Consult references/experimental_design_patterns.md for common approaches:

Experimental design elements:

  • What would be measured or observed?
  • What comparisons or controls are needed?
  • What methods or techniques would be used?
  • What sample sizes or statistical approaches are appropriate?
  • What are potential confounds and how to address them?

Consider multiple approaches:

  • Laboratory experiments (in vitro, in vivo, computational)
  • Observational studies (cross-sectional, longitudinal, case-control)
  • Clinical trials (if applicable)
  • Natural experiments or quasi-experimental designs

7. Formulate Testable Predictions

For each hypothesis, generate specific, quantitative predictions:

  • State what should be observed if the hypothesis is correct
  • Specify expected direction and magnitude of effects when possible
  • Identify conditions under which predictions should hold
  • Distinguish predictions between competing hypotheses
  • Note predictions that would falsify the hypothesis

8. Present Structured Output

Generate a professional LaTeX document using the template in assets/hypothesis_report_template.tex. The report should be well-formatted with colored boxes for visual organization and divided into a concise main text with comprehensive appendices.

Document Structure:

Main Text (Maximum 4 pages):

  1. Executive Summary - Brief overview in summary box (0.5-1 page)
  2. Competing Hypotheses - Each hypothesis in its own colored box with brief mechanistic explanation and key evidence (2-2.5 pages for 3-5 hypotheses)
    • IMPORTANT: Use ewpage before each hypothesis box to prevent content overflow
    • Each box should be ≤0.6 pages maximum
  3. Testable Predictions - Key predictions in amber boxes (0.5-1 page)
  4. Critical Comparisons - Priority comparison boxes (0.5-1 page)

Keep main text highly concise - only the most essential information. All details go to appendices.

Page Break Strategy:

  • Always use ewpage before hypothesis boxes to ensure they start on fresh pages
  • This prevents content from overflowing off page boundaries
  • LaTeX boxes (tcolorbox) do not automatically break across pages

Appendices (Comprehensive, Detailed):

  • Appendix A: Comprehensive literature review with extensive citations
  • Appendix B: Detailed experimental designs with full protocols
  • Appendix C: Quality assessment tables and detailed evaluations
  • Appendix D: Supplementary evidence and analogous systems

Colored Box Usage:

Use the custom box environments from hypothesis_generation.sty:

  • hypothesisbox1 through hypothesisbox5 - For each competing hypothesis (blue, green, purple, teal, orange)
  • predictionbox - For testable predictions (amber)
  • comparisonbox - For critical comparisons (steel gray)
  • evidencebox - For supporting evidence highlights (light blue)
  • summarybox - For executive summary (blue)

Each hypothesis box should contain (keep concise for 4-page limit):

  • Mechanistic Explanation: 1-2 brief paragraphs (6-10 sentences max) explaining HOW and WHY
  • Key Supporting Evidence: 2-3 bullet points with citations (most important evidence only)
  • Core Assumptions: 1-2 critical assumptions

All detailed explanations, additional evidence, and comprehensive discussions belong in the appendices.

Critical Overflow Prevention:

  • Insert ewpage before each hypothesis box to start it on a fresh page
  • Keep each complete hypothesis box to ≤0.6 pages (approximately 15-20 lines of content)
  • If content exceeds this, move additional details to Appendix A
  • Never let boxes overflow off page boundaries - this creates unreadable PDFs

Citation Requirements:

Aim for extensive citation to support all claims:

  • Main text: 10-15 key citations for most important evidence only (keep concise for 4-page limit)
  • Appendix A: 40-70+ comprehensive citations covering all relevant literature
  • Total target: 50+ references in bibliography

Main text citations should be selective - cite only the most critical papers. All comprehensive citation and detailed literature discussion belongs in the appendices. Use `

Frequently asked questions

What does the Hypothesis Generation AI skill do?

Generate testable hypotheses. Formulate from observations, design experiments, explore competing explanations, develop predictions, propose mechanisms, for scientific inquiry across domains.

Why use Hypothesis Generation on TypingMind?

Because you install it once and use it with any model. Hypothesis Generation is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Hypothesis Generation in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills/tree/main/skills/04-K-Dense-AI-claude-scientific-writer/hypothesis-generation. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Hypothesis Generation?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Hypothesis Generation?

As many as you like. As long as a model supports skills, you can use Hypothesis Generation with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Hypothesis Generation AI skill free?

It is published on GitHub by brycewang-stanford. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇