End-to-end AI-assisted meta-analysis pipeline orchestration from TOPIC.txt to final manuscript and reviewer responses. Use when the user provides a topic and wants the full meta-analysis workflow, tracking, and final paper.
Coordinate the complete meta-analysis workflow, ensure every step is tracked, and produce a final manuscript with reviewer responses.
TOPIC.txt07_manuscript/.08_reviews/.Create a numbered top-level structure and keep every artifact in its step folder.
01_protocol/
02_search/
03_screening/
04_fulltext/
05_extraction/
06_analysis/
07_manuscript/
08_reviews/
09_qa/
tooling/python/ # uv project
tooling/python/ using uv init.uv add to manage dependencies for search and automation scripts.uv run (do not call python3 directly).uv tool for any external CLI helpers that should be isolated.renv inside 06_analysis/ for reproducible meta-analysis.TOPIC.txt and produce protocol artifacts in 01_protocol/.
projects/<project-name>/TOPIC.txt/ma-topic-intake skill01_protocol/pico.yaml, 01_protocol/eligibility.md, 01_protocol/outcomes.md, 01_protocol/search-plan.md, 01_protocol/decision-log.md
1b. Preliminary analysis type: ≥3 treatments → nma_candidate, 2 treatments → pairwise.01_protocol/pico.yaml (L22: analysis_type.preliminary field)01_protocol/analysis-type-decision.md (Stage 1 section).bib files in 02_search/.
/ma-search-bibliography skill02_search/round-01/queries.txt, 02_search/round-01/results.bib, 02_search/round-01/dedupe.bib, 02_search/round-01/log.md.bib in 03_screening/.
/ma-screening-quality skill03_screening/round-01/decisions.csv, 03_screening/round-01/included.bib, 03_screening/round-01/agreement.md
3b. Analysis Type Confirmation Gate (if nma_candidate):01_protocol/analysis-type-decision.md (Stage 2 section)01_protocol/pico.yaml (L23: analysis_type.confirmed field)04_fulltext/.
/ma-fulltext-management skill04_fulltext/manifest.csv, 04_fulltext/*.pdf
4b. Full-text eligibility screening (PRISMA 2020 item 16 — mandatory)./ma-fulltext-management skill (Stage 04b section)uv run tooling/python/ai_screen.py --project <name> --stage fulltext --reviewer 1uv run tooling/python/ai_screen.py --project <name> --stage fulltext --reviewer 2uv run ma-screening-quality/scripts/dual_review_agreement.py --file 04_fulltext/fulltext_decisions.csv --col-a FT_Reviewer1_Decision --col-b FT_Reviewer2_Decision --out 04_fulltext/ft_agreement.mdFT_Final_Decision = include rows proceed to Stage 0504_fulltext/fulltext_decisions.csv, 04_fulltext/ft_agreement.md05_extraction/.
FT_Final_Decision = include from 04_fulltext/fulltext_decisions.csv/ma-data-extraction skill05_extraction/extraction.sqlite, 05_extraction/extraction.csv, 05_extraction/data-dictionary.mdrenv, generate figures and tables in 06_analysis/.
analysis_type.confirmed: pairwise | nma | pooled_proportion | narrative/ma-meta-analysis skill for pairwise/ma-network-meta-analysis skill for NMAnma_11_cnma.R (Component NMA)nma_12_meta_regression.Rnma_13_transitivity_tests.R (statistical transitivity assessment)06_analysis/*.R, 06_analysis/figures/*.png, 06_analysis/tables/*.csv, 06_analysis/renv.lock07_manuscript/.
/ma-manuscript-quarto skill07_manuscript/*.qmd, 07_manuscript/index.html, 07_manuscript/index.pdf08_reviews/.
/ma-peer-review skill08_reviews/grade_summary.csv, 08_reviews/rob2_assessment.csv09_qa/.
09_qa/pipeline-checklist.mdscripts/run_robustness_checks.pyscripts/run_robustness_checks.py via uv run to generate all robustness artifacts at once.
scripts/run_robustness_checks.py/ma-publication-quality skill09_qa/claim_audit.md, 09_qa/crossref_report.md, 09_qa/reporting_checklist_audit.mdscripts/validate_stage_transition.py and store reports in 09_qa/.
scripts/validate_stage_transition.py09_qa/stage_transition_report.mdscripts/checkpoint.py.
scripts/checkpoint.py.checkpoint/ snapshotsWhen running with agent teams enabled (CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1), the pipeline can leverage parallel teammates for independent stages.
| Phase | Stages | Parallelism | Teammates |
|---|---|---|---|
| Foundation | 00-02 | Sequential (hard dependencies) | protocol-architect → search-specialist |
| Screening | 03 | Parallel (dual independent review) | screener-a + screener-b simultaneously |
| Processing | 04-06 | Sequential (each depends on prior) | fulltext-manager → data-extractor → statistician |
| Synthesis | 07-09 | Parallel (independent outputs) | manuscript-writer + qa-auditor simultaneously |
/ma-agent-teams skill for the orchestration playbookuv run tooling/python/team_spawn_helper.py --project <project-name> --role <role-name>
See ma-agent-teams/SKILL.md for complete orchestration details.
scripts/init_project.py creates the numbered folder tree and a checklist.scripts/run_robustness_checks.py runs agreement stats, PRISMA flow, and GRADE summaries.scripts/validate_pipeline.py enforces checklist completion before final render.scripts/final_qa_report.py generates a final QA report and blocks on failures.scripts/validate_stage_transition.py validates continuity between stages.scripts/checkpoint.py creates and restores pipeline checkpoints.scripts/hash_artifacts.py computes SHA-256 hashes for reproducibility audit.scripts/validate_module_registry.py checks all scripts are documented across SKILL.md, CLAUDE.md, and GETTING_STARTED.md.Open the relevant skill for details at each stage:
ma-topic-intake/SKILL.mdma-search-bibliography/SKILL.mdma-screening-quality/SKILL.mdma-fulltext-management/SKILL.mdma-data-extraction/SKILL.mdma-meta-analysis/SKILL.mdma-manuscript-quarto/SKILL.mdma-peer-review/SKILL.mdma-publication-quality/SKILL.md09_qa/pipeline-checklist.md after every milestone.