Reproducibility check

From aipoch/medical-research-skills · View interactive version

Reproducibility check is an AI agent skill from the GitHub repository aipoch/medical-research-skills. Comprehensive reproducibility tool — audit Methods completeness for replication AND promote open science best practices (pre-registration, FAIR data, code sharing, replication design, reporting transparency); trigger when preparing a manuscript, reviewing methodological comple...

How to use this skill

Skill file

Source: https://github.com/aipoch/medical-research-skills

When to Use

Use this skill when you need to assess or improve research reproducibility, for example:

Mode A — Methods Completeness Audit (diagnostic)

  1. Pre-submission self-check to ensure the Methods section is complete before journal submission.
  2. Replication feasibility review to determine whether another lab/team could repeat the work.
  3. Peer review / methodological audit to identify missing details, ambiguities, or under-specified procedures.
  4. Internal lab documentation check to improve protocol clarity and reduce tacit knowledge.
  5. Meta-research / reproducibility screening to triage papers by reproducibility risk.

Mode B — Open Science Best Practices (prescriptive)

  1. Pre-registration guidance for hypotheses, methods, and analysis plans before data collection.
  2. FAIR data management to make data findable, accessible, interoperable, and reusable.
  3. Code and computational environment sharing (Docker, Binder, GitHub, Zenodo).
  4. Replication study design (direct/conceptual replication, safeguard power analysis).
  5. Reporting transparency following CONSORT, STROBE, ARRIVE, PRISMA guidelines.
  6. Open science practices (badges, registered reports, preprints, open access).

Trigger condition: if the user provides only an abstract/results/discussion without the full Methods section for Mode A, request the complete Methods section first.

Key Features

Mode A — Methods Completeness Audit

Mode B — Open Science Best Practices

Dependencies

Key Platforms and Tools

Example Usage

Input (user)

Please check whether the following Methods section is complete and reproducible. Identify missing items (high/low priority), unclear descriptions, and provide a reproducibility risk rating with suggestions.

[PASTE FULL METHODS SECTION HERE]

Optional context:
- Equipment list: [models, manufacturers]
- Software: R 4.3.1, Python 3.11, packages: ...
- Statistical plan: ...
- Data processing workflow: ...

Output (assistant)

## Reproducibility Check (Methods Section)

### 1) Missing Information
**High Priority (required for replication)**
1. **Sample size determination**: No power analysis or rationale provided for n=...
   - Location in text: "..."
   - Why it matters: affects statistical validity and replication planning.
2. **Randomization procedure**: Randomization mentioned but method not specified (e.g., block randomization, RNG seed).
   - Location in text: "..."
3. **Reagent/source details**: Antibody X lacks catalog number, clone, vendor, and lot.
   - Location in text: "..."

**Low Priority (improves robustness/clarity)**
1. **Environmental conditions**: Temperature/humidity not reported for assay Y.
   - Location in text: "..."

### 2) Unclear or Ambiguous Descriptions
1. **“Performed as previously described”** without a complete protocol or sufficient parameters.
   - Location in text: "..."
   - Clarification needed: step-by-step parameters, timing, volumes, thresholds.

### 3) Reproducibility Risk Assessment
**Risk Level: Medium**
- Rationale: Core workflow is described, but key replication-critical parameters (randomization, reagent identifiers, preprocessing thresholds) are missing or ambiguous.

### 4) Supplementary Suggestions
1. Add a table listing **all materials/reagents** with vendor, catalog number, lot, and storage conditions.
2. Specify **software versions** and exact packages (including version numbers) used for analysis.
3. Provide **data preprocessing rules** (missing values, outliers, normalization) and decision thresholds.
4. Include **statistical testing details** (assumptions checks, alpha, multiple-comparison correction, effect sizes, CI reporting).

Implementation Details

Inputs

Processing Workflow

Mode A — Methods Completeness Audit
  1. Method deconstruction
  1. Checklist verification
  1. Missing information labeling
  1. Recommendation generation
Mode B — Open Science Best Practices
  1. Assess current reproducibility state — Evaluate against three dimensions: methodological (sufficient detail to replicate), computational (code + data + environment = same results), results reproducibility (independent replication yields consistent findings). Identify specific gaps.
  2. Pre-registration — Guide pre-registration of hypotheses, methods, and analysis plan BEFORE data collection. Use appropriate platform: OSF Registries, AsPredicted, ClinicalTrials.gov (clinical), or PROSPERO (systematic reviews). Distinguish confirmatory from exploratory analyses.
  3. Data management — Apply FAIR principles: Findable (persistent identifier, metadata), Accessible (open or controlled access with clear process), Interoperable (standard formats, vocabularies), Reusable (license, provenance). Create data dictionary documenting every variable. Use tidy data formats.
  4. Code and computational environment — Share analysis code in a public repository (GitHub, GitLab, Zenodo for DOI). Document dependencies with requirements.txt, renv.lock, or conda environment.yml. For full reproducibility: containerize with Docker or use Binder. Include README with execution instructions.
  5. Replication study design — For direct replication: match original methods as closely as possible. For conceptual replication: test same hypothesis with different methods. Conduct power analysis based on original effect size (use safeguard power: assume smaller effect). Determine sample size for meaningful replication test (use equivalence testing or Bayesian replication factors).
  6. Reporting transparency — Follow reporting guidelines (CONSORT, STROBE, ARRIVE, PRISMA). Report all pre-specified analyses regardless of results. Clearly label exploratory analyses. Share full materials (stimuli, protocols, instruments) as supplementary files.
  7. Open science practices — Adopt open science badges (data, materials, pre-registration). Consider registered reports format (peer review before results). Use preprint servers (bioRxiv, medRxiv, arXiv, SSRN). Choose open access publication route.

Mode Selection Logic

Output Requirements (must include)

Mode A output:

Mode B output (as applicable):

Boundaries and Safety Constraints

Quality Checklist

Error Handling

Input Validation

This skill accepts requests that match the documented purpose of reproducibility-check and include enough context to complete the workflow safely.

Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:

reproducibility-check only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.