/claudecode-research-harness-workflow:research-harness-audit [--file PATH] [--all]from claudecode-research-harness-workflow
Read-only audit of raw data files: variable inventory, missingness, IDs, units, merge keys, feasibility. Produces a structured data_audit_report.md.
Ships in claudecode-research-harness-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Perform a read-only audit of raw data files. No data file is modified. The only output is a structured audit report and a log.
This skill runs after /research-harness-setup and before /research-harness-clean.
| Input | Action |
|---|---|
/research-harness-audit | Audit all files listed in study_spec.md §3 |
/research-harness-audit --file data/raw/X.csv | Audit a specific file |
/research-harness-audit --all | Audit everything found under data/raw/ |
Before starting:
study_spec.md. If it does not exist, stop and tell the user to run /research-harness-setup first.study_spec.md §3 exists. If it does not, report the missing path and stop.logs/audit_YYYYMMDD.log.For each file under data/raw/ (or the file specified by --file):
wc -l, head, column-sniffing) where possibleLog each file to logs/audit_YYYYMMDD.log.
For each file, record:
| Variable | Inferred type | Non-missing count | Missing count | Missing % | Min | Max | Sample values |
|---|
Use the actual variable names from the file headers. Do not rename or interpret variable names — record them as-is. If a variable name is ambiguous, note it in the audit report under §6 Open Issues; do not infer its meaning from the name alone.
For each file:
id, hhid, person_id, pid, any variable ending in _id or _code)Do not assume that two variables with similar names are the same ID. Report the candidate match and leave it as unknown if not confirmed by the data dictionary.
Identify candidate time variables (e.g., year, wave, date, month). For each:
high missingnessFor each file:
List pairs of files that appear to share a common ID variable. For each pair:
likely merge key, possible merge key, or unclearDo not perform any merge in this step.
Compare the raw data to study_spec.md:
Record each check as feasible, partially feasible, or infeasible with a one-line reason.
Infeasibility gate: If any required element is infeasible, the overall assessment is infeasible. Tell the user what is missing and that study_spec.md must be revised before cleaning can begin. Do not proceed to cleaning with an infeasible design.
Copy templates/data_audit_report.md to reports/data_audit_report.md and fill in all sections from Steps 1–9.
Save logs/audit_YYYYMMDD.log.
data/raw/reports/data_audit_report.md exists and all sections are populatedlogs/audit_YYYYMMDD.log existsdata/raw/ were modified (verify with git status data/raw/ or file-size check)feasible / infeasible verdictreports/data_audit_report.md existslogs/audit_YYYYMMDD.log existsTell the user:
Audit complete. Review
reports/data_audit_report.md.If the feasibility verdict is
infeasible: revisestudy_spec.mdbefore continuing.If
feasibleorpartially feasible: fill intemplates/data_cleaning_plan.md, save it asreports/data_cleaning_plan.md, review it, then run/research-harness-clean.
What SKILL.md sets; muted values are Claude Code's defaults
mediumThree short reads, in order
data-audit, data-quality, missingness, data-inventory, research-harness
npx claudepluginhub maxwell2732/claudecode-research-harness-workflow --plugin claudecode-research-harness-workflow32 skills in this plugin
/agent-browserBrowser automation through the repo agent-browser CLI. Explicit helper for navigation, forms, screenshots, scraping, and web-app checks. Prefer Browser Use or Playwright when available. Do NOT load for: sharing URLs, embedding links, or editing screenshot files./authExplicit helper for authentication and payment implementation with Clerk, Supabase Auth, or Stripe. Do NOT load for: general UI work, database design, or non-auth features./ciCI red? Call us. Pipeline fire brigade deploys. Use when user mentions CI failures, build errors, test failures, or pipeline issues. Do NOT load for: local builds, standard implementation work, reviews, or setup.Other plugins' skills for the same job