Skip to content
Skill

Hypothesis testing

Turns observations into falsifiable hypotheses with variables, controls and a validation

Hypothesis testing is an open-source agent skill for health and science. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
143
Last commit
License
MIT
Listing updated

Similar skills

About Hypothesis testing

This skill guides the agent through scientific hypothesis development and experimental design. It walks from an initial observation to a refined research question, a null and alternative hypothesis with a stated causal mechanism, and a variable matrix that defines independent, dependent, control, confound, mediator and moderator roles with measurable definitions.

The workflow also covers choosing a design such as an RCT, quasi-experiment or observational study, planning confound mitigation, and defining the exact data patterns that would reject the alternative hypothesis. It adds checks for whether the study can actually test the hypothesis, including a pilot to confirm a mechanism proxy occurs and a test of any outcome scorer on real outputs before the plan is frozen.

The skill is a single SKILL.md file with no scripts. Its frontmatter lists web search, web fetch, and file read, grep and glob tools. It is distributed as a Claude Code plugin through a marketplace, and the repository is MIT licensed.

When your agent uses it

You must use this when formulating testable hypotheses, designing experimental controls, or defining falsification criteria.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (4 KB) on GitHub on 2 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the co-researcher plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add poemswe/co-researcher
/plugin install co-researcher@co-researcher-marketplace

Or copy only this skill to ~/.claude/skills/hypothesis-testing:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/poemswe/co-researcher.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/hypothesis-testing &&
cp -R "$tmp/skills/hypothesis-testing" ~/.claude/skills/hypothesis-testing &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/hypothesis-testing inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/hypothesis-testing to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/poemswe/co-researcher.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/hypothesis-testing &&
cp -R "$tmp/skills/hypothesis-testing" ~/.agents/skills/hypothesis-testing &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/hypothesis-testing inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/hypothesis-testing to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/poemswe/co-researcher.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/hypothesis-testing &&
cp -R "$tmp/skills/hypothesis-testing" ~/.cursor/skills/hypothesis-testing &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/hypothesis-testing inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/poemswe/co-researcher.git --path skills/hypothesis-testing

Or copy the folder to ~/.gemini/skills/hypothesis-testing yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/hypothesis-testing:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/poemswe/co-researcher.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/hypothesis-testing &&
cp -R "$tmp/skills/hypothesis-testing" ~/.copilot/skills/hypothesis-testing &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/hypothesis-testing inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/poemswe/co-researcher.git

Then copy co-researcher/skills/hypothesis-testing into your agent's skills folder as hypothesis-testing. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Hypothesis construction
Builds null and alternative hypotheses with a stated causal mechanism from an observation.
Variable mapping
Assigns roles to independent, dependent, control, confound, mediator and moderator variables with operational definitions.
Design selection
Compares RCTs, quasi-experiments and longitudinal or cross-sectional observational designs for a given question.
Falsification criteria
Specifies the concrete result patterns that would reject the alternative hypothesis.
Manipulation check
Plans a pilot to confirm the mechanism proxy and treatment step occur before pre-registration.
Scorer validation
Tests outcome parsers on awkward real outputs and sets a tie-break rule before analysis.

Good for

  • Turn an observed pattern in experiment logs into a testable hypothesis
  • Design a controlled experiment to compare two model prompts
  • Define what results would falsify a research claim
  • Map variables and confounds for a planned user study
  • Check whether an evaluation scorer is reliable before running it

Hypothesis testing FAQ

When does Hypothesis testing trigger?

Its description says to use it when formulating testable hypotheses, designing experimental controls, or defining falsification criteria.

Does Hypothesis testing need scripts or external services?

It includes no scripts. Its frontmatter lists web search, web fetch and file reading tools, and it works through instructions alone.

Which clients does Hypothesis testing support?

It is packaged as a Claude Code plugin through a marketplace, so it is listed for Claude Code.

What output does Hypothesis testing produce?

A structured write-up with a research question, H0 and H1, a mechanism, a variable matrix, design type, manipulation check, falsification criteria and a scorer check.

How do I install Hypothesis testing in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/hypothesis-testing to use it in all your projects, or to .claude/skills/hypothesis-testing in one project. Or install the co-researcher plugin, which includes it: /plugin marketplace add poemswe/co-researcher, then /plugin install co-researcher@co-researcher-marketplace.

Does Hypothesis testing run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Hypothesis testing?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Hypothesis testing?

The closest alternatives to Hypothesis testing are Hypothesis gen, Quantitative analysis, Research methodology, Qualitative research and Systematic review.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from poemswe/co-researcher

  1. Guides an agent to write research prose that reads as expert academic writing

    • Open source
    • 143 GitHub stars
    • Writing style
  2. Guides the agent to dissect claims, weigh evidence, and spot fallacies and biases

    • Open source
    • 143 GitHub stars
    • Knowledge and memory
  3. Guides an agent through research ethics risk review, privacy safeguards and IRB prep

    • Open source
    • 143 GitHub stars
    • Health and science
  4. Drafts grant proposals, sharpens research aims and aligns projects with agency priorities

    • Open source
    • 143 GitHub stars
    • Writing style
  5. Guides an agent through a systematic literature review with sourced, verified citations

    • Open source
    • 143 GitHub stars
    • Knowledge and memory
  6. Triangulates complex or conflicting claims across web, academic and official sources

    • Open source
    • 143 GitHub stars
    • Knowledge and memory