/social-science-research:quality-gate [paper file path, or leave blank to auto-detect]from Social Science Research
Cross-checks every quantitative claim in a paper against analysis output files to verify consistency before submission.
Ships in Social Science Research. 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.
Cross-check every numerical claim in the paper against analysis output files. Reports only — never edits.
Input: $ARGUMENTS — path to the paper draft, or leave blank to auto-detect.
Read ${CLAUDE_PLUGIN_ROOT}/rules/quality-gates.md before assigning the final verdict and severity.
If $ARGUMENTS is provided, use that path. Otherwise glob for:
manuscripts/**/*.texmanuscripts/**/*.qmdmanuscripts/**/*.mdIf multiple drafts found, use AskUserQuestion to let the user pick:
Read the full manuscript and extract every quantitative claim:
Record location (section, paragraph, line number if available) for each claim.
Glob for all output files:
output/tables/**/*.tex — regression and summary tablesoutput/tables/**/*.html — HTML versionsoutput/figures/**/*.pdf, output/figures/**/*.png — figuresoutput/**/*.rds, output/**/*.pkl, output/**/*.parquet, output/**/*.csv — saved objectsBuild an inventory with file paths and sizes.
Dispatch the verifier agent via Task to perform the heavy verification work. Pass it:
Task prompt: "You are the verifier agent. Paper draft: [path].
Bibliography: [bib path].
CLAIMS TO VERIFY:
[paste the full claims list from Step 2]
OUTPUT FILE INVENTORY:
[paste the inventory from Step 3]
Verify each claim against the output files. Then do a reverse check —
find output files NOT referenced in the paper. Then check all citation
keys against the bibliography. Follow the verifier agent instructions
and return your full verification report."
After the verifier completes, collect its results:
Save to quality_reports/quality_gate_[YYYY-MM-DD]_[paper-name].md:
# Quality Gate Report: [Paper Name]
**Date:** [YYYY-MM-DD]
**Paper:** [file path]
## Verdict: PASS / CONDITIONAL PASS / FAIL
PASS = all claims matched, no missing citations, no unexplained unreferenced outputs
CONDITIONAL PASS = minor unverified claims or informational unreferenced outputs
FAIL = unverified critical claims or missing citations
## Claim Verification
| Claim | Location | Found in Output? | Source File | Status |
|-------|----------|-----------------|-------------|--------|
| β = 0.23 (SE = 0.04) | Section 4, para 2 | Yes | output/tables/main_regs.tex | MATCHED |
| N = 4,521 | Table 2 note | Yes | output/tables/main_regs.tex | MATCHED |
| 42% of firms | Intro, para 1 | No | — | UNVERIFIED |
## Unreferenced Outputs
Files in output/ not referenced in the paper:
| File | Size | Recommended Action |
|------|------|-------------------|
| output/tables/robustness_het.tex | 4.2 KB | Reference in Section 7 or explain exclusion |
## Missing Citations
| Key | Used At | Status |
|-----|---------|--------|
| SmithJones2021 | Section 3, para 1 | NOT IN BIBLIOGRAPHY — CRITICAL |
## Summary
- Claims verified: N / M total
- Claims unverified: K (see table above)
- Unreferenced outputs: J
- Missing citations: L
## Recommended Actions (Priority Order)
1. [BLOCKING] ...
2. [RECOMMENDED] ...
What SKILL.md sets; muted values are Claude Code's defaults
run quality gate, check paper matches analysis, verify consistency, does paper match results, check my numbers, are my tables right, quality check before submission, verify claims, everything consistent, double-check paper against output, pre-submission integrity check
npx claudepluginhub felpix-studios/social-science-research --plugin social-science-research13 skills in this plugin
/data-analysisEnd-to-end data analysis in R or Python — exploration through regression to publication-ready tables and figures. Use when running empirical analysis, writing analysis code, or producing output from data./data-finderFind and assess datasets for a research question. Explorer agents search data source categories; Explorer-Critic stress-tests candidates and produces ranked list with feasibility grades. Use when identifying or evaluating data sources, not searching papers or running analysis./lit-reviewStructured literature review via parallel Librarian agents. Searches top journals, working paper repos (NBER, SSRN, IZA); traces citation chains from key papers. Use when surveying existing research on a topic, not finding datasets or writing a paper./new-projectStart a new research project. Structured interview formalizes the idea; generates research questions with identification strategies and a project spec. Use when developing or documenting a new research idea, not searching literature or data./proofreadProofread papers and manuscripts. Checks grammar, typos, layout, consistency, writing quality. Produces report without editing files. Use when finding surface-level errors, not substantive academic critique./research-setupInteractive wizard that configures the social-science-research plugin for a new project. Asks about field, institution, journals, datasets, key researchers, R palette; writes answers to references/domain-profile.md and CLAUDE.md. Use first when starting fresh or configuring the plugin.Other plugins' skills for the same job