# Research harness plan

> Research harness plan is an open-source agent skill for health and science. Turns a study spec and data reports into a reviewable empirical analysis plan. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/maxwell2732/claudecode-research-harness-workflow/tree/main/skills/research-harness-plan
- **Repository:** https://github.com/maxwell2732/claudecode-research-harness-workflow
- **GitHub stars:** 42
- **License:** MIT
- **Skill name:** research-harness-plan
- **Collection:** https://github.com/maxwell2732/claudecode-research-harness-workflow
- **Categories:** [health and science](https://ai-powered.com/categories/health-and-science)
- **Listing updated:** 2026-12-03

## About

This skill produces an analysis_plan.md for empirical research projects. It reads the study specification, the data audit report and the cleaning report, then lays out analysis tasks in ordered stages covering descriptive statistics, main models, robustness checks, heterogeneity analysis and output figures and tables. Each task gets planned script, log and output paths, a definition of done, stated assumptions and an identification label.

The workflow is built to avoid overreach. Tasks that depend on variables missing from the cleaned data are marked blocked rather than invented, and instrumental variable or difference-in-differences designs appear only when the study spec or audit supports them. Unresolved research decisions are collected in limitations and open-question sections, and every task waits for explicit human approval before any analysis script runs.

The skill runs after the cleaning step and before the execution step in a paired research workflow. It stops with guidance if the spec, audit or cleaning report is missing, or if the analysis-ready dataset file is absent. Re-running it with an update flag revises an existing plan, and it asks before overwriting a plan that already exists.

## When your agent uses it

> RES: Generate an executable empirical analysis plan from study_spec.md, audit report, and cleaned data structure. Produces analysis_plan.md. Trigger: create analysis plan, plan analysis, generate analysis plan. Do NOT load for: cleaning, execution, review, release, setup.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/maxwell2732/claudecode-research-harness-workflow/tree/HEAD/skills/research-harness-plan)
- [Asks for: Read, Write, Edit, Glob](https://github.com/maxwell2732/claudecode-research-harness-workflow/blob/HEAD/skills/research-harness-plan/SKILL.md)
- [License: MIT](https://github.com/maxwell2732/claudecode-research-harness-workflow/tree/HEAD/skills/research-harness-plan)

## Features

- **Staged analysis plan:** Organizes work into descriptive, main model, robustness, heterogeneity and output stages.
- **Dependency-aware task list:** Marks tasks blocked when required variables are absent from the cleaned dataset.
- **Identification labels:** Tags each modeling task with its identification strength, such as correlational or quasi-experimental.
- **Definition of done per task:** Specifies script, log and output paths with acceptance criteria for each task.
- **Limitations and open questions:** Lists identification threats, data issues and decisions the researcher must make.
- **Approval gate:** Requires human sign-off on the plan before any analysis script is executed.

## Good for

- Draft an analysis plan from an approved study specification and cleaned data
- Add a robustness-check stage to an existing analysis plan
- Check which planned analyses are blocked by missing variables
- Document identification assumptions and open decisions before running models

## Install

### Claude Code

This skill ships in the `claudecode-research-harness-workflow` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add maxwell2732/claudecode-research-harness-workflow
/plugin install claudecode-research-harness-workflow@claudecode-research-harness-workflow
```

Or copy only this skill to `~/.claude/skills/research-harness-plan`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/research-harness-plan &&
cp -R "$tmp/skills/research-harness-plan" ~/.claude/skills/research-harness-plan &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/research-harness-plan` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/research-harness-plan` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/research-harness-plan &&
cp -R "$tmp/skills/research-harness-plan" ~/.agents/skills/research-harness-plan &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/research-harness-plan` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/research-harness-plan` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/research-harness-plan &&
cp -R "$tmp/skills/research-harness-plan" ~/.cursor/skills/research-harness-plan &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/research-harness-plan` inside it instead.

### Gemini CLI

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

```sh
gemini skills install https://github.com/maxwell2732/claudecode-research-harness-workflow.git --path skills/research-harness-plan
```

Or copy the folder to `~/.gemini/skills/research-harness-plan` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/research-harness-plan`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/research-harness-plan &&
cp -R "$tmp/skills/research-harness-plan" ~/.copilot/skills/research-harness-plan &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/research-harness-plan` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/maxwell2732/claudecode-research-harness-workflow.git
```

Then copy `claudecode-research-harness-workflow/skills/research-harness-plan` into your agent's skills folder as `research-harness-plan`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need before Research harness plan runs?

It needs study_spec.md, reports/data_audit_report.md, reports/data_cleaning_report.md and the analysis-ready dataset file. If any is missing, it stops and points to the setup, audit or cleaning step.

### Does Research harness plan run any analysis code?

No. It writes analysis_plan.md only and is forbidden from running analysis scripts; execution happens in a separate step after human approval.

### What happens if an analysis_plan.md already exists?

Without the update flag, it asks whether to overwrite or append rather than silently replacing the existing plan.

### Which tools does Research harness plan use?

It is limited to Read, Write, Edit and Glob, and it ships no scripts.

### How do I install Research harness plan in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/research-harness-plan to use it in all your projects, or to .claude/skills/research-harness-plan in one project. Or install the claudecode-research-harness-workflow plugin, which includes it: /plugin marketplace add maxwell2732/claudecode-research-harness-workflow, then /plugin install claudecode-research-harness-workflow@claudecode-research-harness-workflow.

### Does Research harness plan 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 Research harness plan?

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 Research harness plan?

The closest alternatives to Research harness plan are Research harness work, Ethics review, Research methodology, Food deep research and Research proposal.

## Where this comes from

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

## Alternatives

- [Research harness work](https://ai-powered.com/skills/research-harness-work): Research harness work is an open-source agent skill for analytics and data.
- [Ethics review](https://ai-powered.com/skills/ethics-review): Ethics review is an open-source agent skill for health and science.
- [Research methodology](https://ai-powered.com/skills/research-methodology): Research methodology is an open-source agent skill for health and science.
- [Food deep research](https://ai-powered.com/skills/food-deep-research): Food deep research is an open-source agent skill for health and science.
- [Research proposal](https://ai-powered.com/skills/research-proposal): Research proposal is an open-source agent skill for health and science.
- [Hypothesis testing](https://ai-powered.com/skills/hypothesis-testing): Hypothesis testing is an open-source agent skill for health and science.
- [Qualitative research](https://ai-powered.com/skills/qualitative-research): Qualitative research is an open-source agent skill for health and science.
- [Research synthesis](https://ai-powered.com/skills/research-synthesis): Research synthesis is an open-source agent skill for knowledge and memory.

---
Source: https://ai-powered.com/skills/research-harness-plan
