brycewang-stanford/auto-empirical-research-skills/audit-replication
Claude Code and agent skill by brycewang-stanford/auto-empirical-research-skills
- community
Checking that the SKILL.md file is still in the repository.
Validate the replication package for the sewage-house-prices project. Runs 10 checks covering script execution, file integrity, output freshness, dependency verification, data provenance, and README completeness (AEA format). This skill should be used when asked to "audit replication", "check the package", or "verify reproducibility".
Install
npx vskill@latest install brycewang-stanford/auto-empirical-research-skills/audit-replicationSKILL.md
The same SKILL.md was published earlier as brycewang-stanford/auto-empirical-research-skills/audit-replication.
Audit Replication Package
Run end-to-end validation of the replication package for the sewage-house-prices project.
Input: $ARGUMENTS — directory containing the replication package (Replication/ by default), or here for the current project root.
Project-Specific Context
Expected Structure
- Pipeline scripts:
scripts/R/01_data_ingestion/throughscripts/R/06_analysis_datasets/ - Analysis scripts:
scripts/R/09_analysis/ - Utilities:
scripts/R/utils/ - Python:
scripts/python/ - Data:
data/raw/,data/processed/,data/final/ - Output:
output/tables/,output/figures/ - Manuscript:
docs/overleaf/ - R packages:
renv.lock
Workflow
Step 1: Locate Package
- If
$ARGUMENTSis a directory path: use it - If
$ARGUMENTSishereor empty: useReplication/if it exists, otherwise project root - Verify the directory exists and contains scripts
Step 2: Run 10 Verification Checks
Standard Checks (1-4)
- Script syntax — All
.Rfiles parse without syntax errors - File references — All
read_parquet(),readRDS(),read.csv()targets exist or are documented as inputs - File integrity — No orphaned scripts (referenced but missing), no orphaned outputs (generated but unreferenced)
- Output freshness — Output files are newer than their source scripts (no stale outputs)
Submission Checks (5-10)
- Package inventory — Scripts are logically ordered, master script exists
- Dependency verification —
renv.lockpresent, R version documented, Python deps documented - Data provenance — Every dataset has documented source, access date, and restrictions
- Path hygiene — No hardcoded absolute paths, all paths use
here::here() - Output cross-reference — Every table/figure in the manuscript traces to a specific script
- README completeness — AEA format: data availability, computational requirements, program descriptions, instructions
Step 3: Handle Failures
If failures found:
- Display specific error with file and line number
- Suggest concrete fix
- Ask user if they want to fix and re-audit (max 3 iterations)
Step 4: Present Results
Save to output/log/replication_audit_[date].md.
Principles
- Read and analyse only. Do not modify the package during audit.
- Specific errors. "Script 03_robustness.R references
data/final/panel.parquetwhich does not exist" beats "file reference error." - AEA Data Editor standards. The target is full compliance.
- Path checking is critical. Any
setwd()or absolute path is a FAIL for Check 8. - Restricted data awareness. Land Registry and Zoopla data may have access restrictions — document, don't block.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/41-sticerd-eee-sewage-econometrics-check/skills/audit-replication/SKILL.md
Popularity
- Repository stars
- 4,455
- Repository forks
- 532
- 7-day trend score
- 42
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/brycewang-stanford/auto-empirical-research-skills/audit-replication)