Skip to content
Skill

Research harness audit

Read-only audit of raw research data: variables, missingness, IDs, merge keys

Research harness audit 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 audit

This skill inspects raw data files for a social science or econometrics study without modifying them. It inventories each file's format, size, row and column counts, then profiles every variable with type, missing counts, range and sample values. It also checks candidate identifiers for uniqueness and overlap across files, reviews time variables, flags high missingness, duplicate rows, apparent unit mismatches and unusual missing-value codes, and lists possible merge keys without performing any merge.

The workflow runs in ten steps and ends by filling a report template into reports/data_audit_report.md and saving a dated log. It compares the raw data against the study specification and gives each required element a feasible, partially feasible or infeasible verdict. An infeasible result tells the user to revise the spec before cleaning begins. The skill forbids changing raw files, recoding variables, running models, or inferring meanings from variable names that a data dictionary does not confirm.

It expects a study_spec.md created by the companion setup skill, raw data under data/raw/, and the research harness folder layout. It is packaged as a Claude Code plugin skill and uses Read, Write, Bash, Glob and Grep.

When your agent uses it

RES: Read-only audit of raw data: variable inventory, missingness, IDs, units, merge keys, feasibility. Produces data_audit_report.md. Trigger: audit data, inspect data, data audit, check raw data. Do NOT load for: cleaning, analysis, review, release, setup.

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 (7 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-audit:

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

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

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/research-harness-audit 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-audit &&
cp -R "$tmp/skills/research-harness-audit" ~/.agents/skills/research-harness-audit &&
rm -rf "$tmp"

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

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/research-harness-audit 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-audit &&
cp -R "$tmp/skills/research-harness-audit" ~/.cursor/skills/research-harness-audit &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/research-harness-audit 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-audit

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

Gemini CLI docs on skills

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

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

For one project only, put the folder in .github/skills/research-harness-audit 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-audit into your agent's skills folder as research-harness-audit. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Variable inventory profiling
Records type, missing counts, range and sample values for each variable as named in the file headers.
ID and merge key checks
Tests candidate identifiers for uniqueness and value overlap across files, leaving unconfirmed matches unresolved.
Missingness and coding review
Flags variables missing over half their values and suspicious sentinel codes such as -9 or 9999.
Time variable inspection
Reports ranges and formats of year, wave or date fields and notes panel gaps or mixed formats.
Feasibility verdict
Checks whether outcome, exposure, sample restrictions and sample size can be built from the raw data.
Read-only audit log
Writes a dated log and report while forbidding edits to files under data/raw/.

Good for

  • Audit all raw survey files before starting a cleaning step
  • Check whether a candidate ID is unique within a CSV or Stata file
  • Find out which datasets can be merged on a shared identifier
  • Confirm whether the planned outcome can be built from the raw variables
  • Flag variables with heavy missingness or sentinel codes in a raw dataset

Research harness audit FAQ

What does the skill need before Research harness audit runs?

It needs a study_spec.md file, which the setup skill produces, and raw data at the path listed in that spec's section 3. If the spec is missing, it stops and asks you to run setup first.

Does Research harness audit change my raw data?

No. The skill forbids modifying any file under data/raw/, and it does not clean, reshape or recode variables. Its only outputs are the audit report and a log.

What is the output?

It fills a template and saves reports/data_audit_report.md along with logs/audit_YYYYMMDD.log.

When should I not use Research harness audit?

The skill's trigger notes say not to load it for cleaning, analysis, review, release or setup tasks.

Does Research harness audit perform merges?

No. It only lists candidate merge key pairs with overlap percentages and labels them as likely, possible or unclear.

How do I install Research harness audit in Claude Code?

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

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

The closest alternatives to Research harness audit are Research harness clean, Research harness work, Data analysis, Data scientist and Datanalysis credit risk.

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