Meta-Analysis Forge
Use this skill when evidence synthesis requires statistical pooling of primary-study effects.
Core Principle
A meta-analysis is valid only when the effect sizes being combined are conceptually and statistically comparable enough for the target inference.
Separate:
- effect-size extraction;
- effect-size conversion;
- dependence among effects;
- model choice;
- heterogeneity interpretation;
- publication-bias diagnostics;
- substantive conclusion.
Intake
Identify:
- outcome construct;
- effect-size metric;
- standard error, confidence interval, p-value, or sample size availability;
- number of studies;
- multiple effects per study;
- study designs;
- expected heterogeneity;
- moderators;
- field norms.
- whether raw, participant-level, sample-level, or harmonized derived data are available.
Load:
references/effect-sizes.md for effect metrics and extraction.
references/soil-fauna-carbon-meta.md when the project pools ecological effects on both carbon stocks and carbon fluxes and needs trait or climate moderators without collapsing incompatible outcome families.
references/ecological-meta-ml-path-model-paradigm.md when the project combines meta-analysis, mixed-effects meta-regression, random forest variable ranking, and PLS-PM/SEM-family path modeling.
references/high-value-paper-reproducibility-audit.md when a strong published meta-analysis should become a reusable template and the task requires checking code, data-table structure, rma.mv, random forest, PLS-PM/SEM-family modeling, and reproducibility.
references/ipd-and-mega-analysis.md when the task involves individual participant data, multi-site raw/derived data harmonization, small-sample dataset integration, or mega-analysis.
references/synthesis-models.md for model choice and diagnostics.
references/network-meta-analysis.md when comparing three or more treatments across a connected evidence network (frequentist NMA, P-score ranking, and node-splitting inconsistency with an explicit trust check).
references/ml-moderator-analysis.md for exploratory interpretable-ML moderator analysis (MetaForest/SHAP/EBM/GAM) with the small-k honesty guardrails — complements, never replaces, pre-specified meta-regression.
references/meta-analysis-quality-gates.md for pre-pooling checks.
templates/coding-schema.csv and templates/validation-rules.md for machine-readable coding-sheet structure and validation.
scripts/validate_coding_sheet.py before statistical execution.
scripts/effect_size_helpers.R for transparent mechanical conversions during extraction.
scripts/run_meta_analysis.R only after coding validity and pooling appropriateness have been checked.
scripts/install_r_packages.R when setting up the minimal R environment.
Workflow
- Define the effect-size family.
- Build the coding sheet.
- Convert or preserve metrics with justification.
- Identify dependence: multiple outcomes, time points, samples, or models per study.
- Pass the quality gates before pooling.
- Choose model: fixed, random, multilevel, robust variance, Bayesian, or narrative synthesis.
- Report heterogeneity: tau2, I2, prediction interval.
- Assess small-study effects or publication bias when feasible.
- Run sensitivity checks.
- Write interpretation with limits.
For IPD or mega-analysis, first build a dataset inventory, harmonization plan, quality-control ledger, and study/site heterogeneity model before any pooled interpretation.
Output Modes
Coding Sheet
Use:
templates/coding-sheet.md for a human-readable table.
templates/coding-schema.csv for field definitions.
templates/example-coding-sheet.csv for a minimal machine-readable example.
Analysis Plan
Effect-size metric:
Inclusion for pooling:
Model:
Dependence handling:
Heterogeneity:
Bias diagnostics:
Sensitivity checks:
Software:
Interpretation limits:
Minimal R Run
Use scripts/run_meta_analysis.R for a small reproducible demonstration when the coding sheet has one harmonized effect metric and valid standard errors.
Input CSV:
Output directory:
Effect metric:
Pre-pooling checks passed:
Known limits:
Validation and Conversion
Use scripts/validate_coding_sheet.py to check required fields, numeric estimates, positive standard errors, duplicate effect IDs, and mixed effect metrics.
Use scripts/effect_size_helpers.R only for transparent mechanical helpers such as CI-to-SE, log-ratio transforms, Fisher z, approximate SMD SE, and lnROM. Record formulas and assumptions in the coding sheet notes.
IPD / Mega-Analysis
Use:
references/ipd-and-mega-analysis.md for workflow and guardrails.
templates/mega-analysis-dataset-inventory.csv for data access and harmonization.
templates/mega-analysis-audit-report.md for audit output.
Audit
Flag:
- incompatible outcomes;
- mixed effect metrics without conversion;
- missing uncertainty;
- multiple effects treated as independent;
- overuse of I2 without prediction interval;
- meta-regression overclaiming;
- publication-bias tests with too few studies.
Ecological Meta + ML + Path Model
Use templates/ecological-meta-ml-path-model-audit.md when a meta-analysis combines pooled effects, moderator testing, machine-learning driver ranking, and a path model or SEM-family diagram.
Meta-analysis layer:
ML layer:
Path-model layer:
Effect-size families:
Dependence plan:
Main reuse lesson:
Main overclaim risk:
High-Value Paper Reproducibility Audit
Use templates/high-value-paper-reproducibility-audit.md when the user wants to learn from a strong article, especially a Nature Communications or similar paper with public data/code. Do not stop at a paper summary.
Extract:
- file and repository inventory;
- data table structure;
- effect-size and uncertainty logic;
metafor::rma.mv() implementation;
- shared-control VCV or other dependence handling;
- random forest or machine-learning layer;
plspm, PLS-PM, PLS-SEM, or other path-model layer;
- peer-review lessons;
- reproducibility gaps;
- reusable skill rules.
Article logic:
Data table structure:
Effect-size logic:
rma.mv / dependence implementation:
Random forest layer:
PLS-PM / path-model layer:
Reproducibility verdict:
Reusable rule:
Guardrails
- Do not invent effect sizes.
- Do not pool effects solely because they are numerically available.
- Do not interpret meta-regression causally unless design supports it.
- Do not interpret random-forest importance or PLS-PM paths causally unless the design supports it.
- Do not ignore within-study dependence.
- Do not treat a high pooled N as proof of high evidence quality.
- Do not use vote-counting as a substitute for effect-size synthesis.
- Do not treat the minimal R script as a full meta-analysis pipeline; it does not solve effect conversion, dependence, or certainty assessment.
- Do not run effect-size helper conversions without preserving original reported values and source anchors.
- Do not call a project a mega-analysis unless raw, participant-level, sample-level, or harmonized derived data are reprocessed or remodeled under a common framework.
- Do not call a high-value paper reproducible until its public code/data files, data schema, package versions, and model scripts have been inspected.
1---2name: meta-analysis-forge3description: Designs and audits first-order meta-analyses of primary studies. Use for effect-size extraction, effect-size harmonization, fixed/random/multilevel models, robust variance estimation, heterogeneity, prediction intervals, meta-regression, publication-bias diagnostics, sensitivity checks, coding sheets, reproducible meta-analysis reports, ecological meta-analysis, ecological meta-analysis plus random forest or path modeling, soil-carbon meta-analysis, stock-versus-flux outcome separation, and trait-mediated moderator design.4---56# Meta-Analysis Forge78Use this skill when evidence synthesis requires statistical pooling of primary-study effects.910## Core Principle1112A meta-analysis is valid only when the effect sizes being combined are conceptually and statistically comparable enough for the target inference.1314Separate:1516- effect-size extraction;17- effect-size conversion;18- dependence among effects;19- model choice;20- heterogeneity interpretation;21- publication-bias diagnostics;22- substantive conclusion.2324## Intake2526Identify:2728- outcome construct;29- effect-size metric;30- standard error, confidence interval, p-value, or sample size availability;31- number of studies;32- multiple effects per study;33- study designs;34- expected heterogeneity;35- moderators;36- field norms.37- whether raw, participant-level, sample-level, or harmonized derived data are available.3839Load:4041- `references/effect-sizes.md` for effect metrics and extraction.42- `references/soil-fauna-carbon-meta.md` when the project pools ecological effects on both carbon stocks and carbon fluxes and needs trait or climate moderators without collapsing incompatible outcome families.43- `references/ecological-meta-ml-path-model-paradigm.md` when the project combines meta-analysis, mixed-effects meta-regression, random forest variable ranking, and PLS-PM/SEM-family path modeling.44- `references/high-value-paper-reproducibility-audit.md` when a strong published meta-analysis should become a reusable template and the task requires checking code, data-table structure, `rma.mv`, random forest, PLS-PM/SEM-family modeling, and reproducibility.45- `references/ipd-and-mega-analysis.md` when the task involves individual participant data, multi-site raw/derived data harmonization, small-sample dataset integration, or mega-analysis.46- `references/synthesis-models.md` for model choice and diagnostics.47- `references/network-meta-analysis.md` when comparing three or more treatments across a connected evidence network (frequentist NMA, P-score ranking, and node-splitting inconsistency with an explicit trust check).48- `references/ml-moderator-analysis.md` for exploratory interpretable-ML moderator analysis (MetaForest/SHAP/EBM/GAM) with the small-k honesty guardrails — complements, never replaces, pre-specified meta-regression.49- `references/meta-analysis-quality-gates.md` for pre-pooling checks.50- `templates/coding-schema.csv` and `templates/validation-rules.md` for machine-readable coding-sheet structure and validation.51- `scripts/validate_coding_sheet.py` before statistical execution.52- `scripts/effect_size_helpers.R` for transparent mechanical conversions during extraction.53- `scripts/run_meta_analysis.R` only after coding validity and pooling appropriateness have been checked.54- `scripts/install_r_packages.R` when setting up the minimal R environment.5556## Workflow57581. Define the effect-size family.592. Build the coding sheet.603. Convert or preserve metrics with justification.614. Identify dependence: multiple outcomes, time points, samples, or models per study.625. Pass the quality gates before pooling.636. Choose model: fixed, random, multilevel, robust variance, Bayesian, or narrative synthesis.647. Report heterogeneity: tau2, I2, prediction interval.658. Assess small-study effects or publication bias when feasible.669. Run sensitivity checks.6710. Write interpretation with limits.6869For IPD or mega-analysis, first build a dataset inventory, harmonization plan, quality-control ledger, and study/site heterogeneity model before any pooled interpretation.7071## Output Modes7273### Coding Sheet7475Use:7677- `templates/coding-sheet.md` for a human-readable table.78- `templates/coding-schema.csv` for field definitions.79- `templates/example-coding-sheet.csv` for a minimal machine-readable example.8081### Analysis Plan8283```text84Effect-size metric:85Inclusion for pooling:86Model:87Dependence handling:88Heterogeneity:89Bias diagnostics:90Sensitivity checks:91Software:92Interpretation limits:93```9495### Minimal R Run9697Use `scripts/run_meta_analysis.R` for a small reproducible demonstration when the coding sheet has one harmonized effect metric and valid standard errors.9899```text100Input CSV:101Output directory:102Effect metric:103Pre-pooling checks passed:104Known limits:105```106107### Validation and Conversion108109Use `scripts/validate_coding_sheet.py` to check required fields, numeric estimates, positive standard errors, duplicate effect IDs, and mixed effect metrics.110111Use `scripts/effect_size_helpers.R` only for transparent mechanical helpers such as CI-to-SE, log-ratio transforms, Fisher z, approximate SMD SE, and lnROM. Record formulas and assumptions in the coding sheet notes.112113### IPD / Mega-Analysis114115Use:116117- `references/ipd-and-mega-analysis.md` for workflow and guardrails.118- `templates/mega-analysis-dataset-inventory.csv` for data access and harmonization.119- `templates/mega-analysis-audit-report.md` for audit output.120121### Audit122123Flag:124125- incompatible outcomes;126- mixed effect metrics without conversion;127- missing uncertainty;128- multiple effects treated as independent;129- overuse of I2 without prediction interval;130- meta-regression overclaiming;131- publication-bias tests with too few studies.132133### Ecological Meta + ML + Path Model134135Use `templates/ecological-meta-ml-path-model-audit.md` when a meta-analysis combines pooled effects, moderator testing, machine-learning driver ranking, and a path model or SEM-family diagram.136137```text138Meta-analysis layer:139ML layer:140Path-model layer:141Effect-size families:142Dependence plan:143Main reuse lesson:144Main overclaim risk:145```146147### High-Value Paper Reproducibility Audit148149Use `templates/high-value-paper-reproducibility-audit.md` when the user wants to learn from a strong article, especially a Nature Communications or similar paper with public data/code. Do not stop at a paper summary.150151Extract:152153- file and repository inventory;154- data table structure;155- effect-size and uncertainty logic;156- `metafor::rma.mv()` implementation;157- shared-control VCV or other dependence handling;158- random forest or machine-learning layer;159- `plspm`, PLS-PM, PLS-SEM, or other path-model layer;160- peer-review lessons;161- reproducibility gaps;162- reusable skill rules.163164```text165Article logic:166Data table structure:167Effect-size logic:168rma.mv / dependence implementation:169Random forest layer:170PLS-PM / path-model layer:171Reproducibility verdict:172Reusable rule:173```174175## Guardrails176177- Do not invent effect sizes.178- Do not pool effects solely because they are numerically available.179- Do not interpret meta-regression causally unless design supports it.180- Do not interpret random-forest importance or PLS-PM paths causally unless the design supports it.181- Do not ignore within-study dependence.182- Do not treat a high pooled N as proof of high evidence quality.183- Do not use vote-counting as a substitute for effect-size synthesis.184- Do not treat the minimal R script as a full meta-analysis pipeline; it does not solve effect conversion, dependence, or certainty assessment.185- Do not run effect-size helper conversions without preserving original reported values and source anchors.186- Do not call a project a mega-analysis unless raw, participant-level, sample-level, or harmonized derived data are reprocessed or remodeled under a common framework.187- Do not call a high-value paper reproducible until its public code/data files, data schema, package versions, and model scripts have been inspected.