Skip to content
Skill

Research harness work

Runs approved analysis tasks as logged scripts and records verified evidence

Research harness work is an open-source agent skill for analytics and data. It is available on Claude Code.

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

Similar skills

About Research harness work

This skill executes analysis tasks that have already been approved in an analysis_plan.md file for a research project. For each task it reads the script, log, output, and definition-of-done details, writes a reproducible script in the study's language (R by default), runs it, and checks that the log and output files exist before marking the task complete.

The workflow is built around verification. Scripts record sample sizes, sample restrictions, model coefficients and standard errors in a log, and results reported back to the user are quoted from that log rather than interpreted. If a script fails, the agent gets up to three repair attempts; after that it records the error in the plan and marks the task blocked instead of inventing output. Tasks with unresolved questions or blocked status are not run without user direction.

It expects an analysis-ready dataset under data/processed/, a written analysis plan produced by a companion planning step, and an R, Stata, or Python environment capable of running the script. It is meant to run before a separate review skill that checks identification and causal claims.

When your agent uses it

RES: Execute approved analysis tasks from analysis_plan.md. Writes scripts, runs them, saves logs and outputs, updates task status. Trigger: run analysis, execute task, run regression, produce table, produce figure. Do NOT load for: planning, review, release, setup, audit, cleaning.

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 (8 KB) on GitHub on 5 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 claudecode-research-harness-workflow plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/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-work:

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-work &&
cp -R "$tmp/skills/research-harness-work" ~/.claude/skills/research-harness-work &&
rm -rf "$tmp"

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

Claude Code docs on skills

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

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-work &&
cp -R "$tmp/skills/research-harness-work" ~/.agents/skills/research-harness-work &&
rm -rf "$tmp"

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

Codex docs on skills

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

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-work &&
cp -R "$tmp/skills/research-harness-work" ~/.cursor/skills/research-harness-work &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/research-harness-work 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/maxwell2732/claudecode-research-harness-workflow.git --path skills/research-harness-work

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

Gemini CLI docs on skills

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

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-work &&
cp -R "$tmp/skills/research-harness-work" ~/.copilot/skills/research-harness-work &&
rm -rf "$tmp"

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

VS Code docs on skills

Get the folder:

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

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

The SKILL.md format

What it does

Plan-driven task execution
Runs only tasks listed and approved in analysis_plan.md, with status tracking from todo to done.
Reproducible script writing
Generates analysis scripts with header comments, project-relative paths, and a fixed random seed when needed.
Log-based result recording
Captures dataset size, restrictions, model output, and estimation sample size in a log file.
Evidence verification
Checks that the script exited cleanly and that log and output files exist before marking a task done.
Failure escalation
Retries failed scripts a limited number of times, then records the error and blocks the task.

Good for

  • Run the regression specified for task 1.1 in the analysis plan
  • Produce the descriptive summary table for stage 2
  • Generate the figure defined in the approved plan and save its log
  • Execute all todo tasks in the plan in sequence

Research harness work FAQ

What does the skill need before Research harness work runs?

It needs an analysis_plan.md file created by the planning step and the analysis-ready dataset under data/processed/.

Does Research harness work write results without checking them?

No. It reports only numbers present in the log file and requires the log and output files to exist before marking a task done.

What happens if the script keeps failing?

After three attempts it records the error and reason in analysis_plan.md, marks the task blocked, and asks the user to decide how to proceed.

Which programming language does Research harness work use?

It uses the language the study specifies, such as R, Stata, or Python, and defaults to R when none is given.

How do I install Research harness work in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/research-harness-work to use it in all your projects, or to .claude/skills/research-harness-work 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 work 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 work?

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 work?

The closest alternatives to Research harness work are Research harness clean, Research harness plan, Research harness audit, Data analysis and Rea analysis optimization.

Where this comes from

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

More from maxwell2732/claudecode-research-harness-workflow

  1. Drives a browser via the agent-browser CLI to open pages, fill forms and capture

    • Open source
    • 42 GitHub stars
    • Browser automation
  2. Guides an agent through adding Clerk, Supabase Auth or Stripe to an app with a security

    • Open source
    • 42 GitHub stars
    • Databases
  3. Triages failing CI pipelines and guides fixes without weakening tests

    • Open source
    • 42 GitHub stars
    • Developer tools
  4. Scaffolds CRUD endpoints, Zod validation and tests for an entity in your codebase

    • Open source
    • 42 GitHub stars
    • Developer tools
  5. Guides an agent through Vercel or Netlify deployment, analytics and health checks

    • Open source
    • 42 GitHub stars
    • Cloud and infrastructure
  6. Builds a one-page HTML acceptance demo to decide whether to ship, wait or reject

    • Open source
    • 42 GitHub stars
    • Developer tools