$npx -y skills add PangenomeAI/academic-skills-food-nutrition --skill food-pipelineMaster orchestrator for the whole food & nutrition research-to-publication workflow. Coordinates the specialist skills — each with its own subagent set — into one governed path: journal selection, research (food-research / food-deep-research), writing & analysis (food-paper), fig
| 1 | # Food-Pipeline — Master Research-to-Publication Orchestrator |
| 2 | |
| 3 | The top-level conductor. It does not do research, writing, or review itself — it |
| 4 | **routes the project to the specialist skills** (each a multi-subagent system), |
| 5 | enforces quality gates between stages, and manages the review→revise loop. |
| 6 | Original work. |
| 7 | |
| 8 | ## Skills it orchestrates (each brings its own subagent team) |
| 9 | - **`journal-selector`** — target-journal constraints (structure, limits, reference style, figure spec). A **shared procedure, not an installed skill**: load `journal-selector/SKILL.md` and follow it. |
| 10 | - **`food-research`** — literature/evidence synthesis (quick brief / full review / **systematic** PRISMA + OHAT). Use **`food-deep-research`** instead for an open-ended, source-validated deep dive or a standalone literature review. |
| 11 | - **`food-paper`** — whole-process manuscript system (field → questions → data/stats → figures → argument → draft → polish → self-review). |
| 12 | - **`food-figure`** — submission-grade figures at the journal spec (invoked within `food-paper`). |
| 13 | - **`food-review`** — multi-reviewer peer-review panel + formatting compliance. |
| 14 | |
| 15 | ## Own subagents |
| 16 | - **`intake_router`** — reads the project's current state and materials, resolves the target journal, picks the entry stage, and assembles the context each downstream skill needs. |
| 17 | - **`quality_gate`** — the checkpoint between stages: verifies the stage's deliverable meets the gate criteria (integrity, journal compliance, evidence sufficiency) and decides proceed / revise / stop, with the author at mandatory gates. |
| 18 | |
| 19 | ## Stages |
| 20 | | Stage | Skill / agent | Deliverable | Gate | |
| 21 | |---|---|---|---| |
| 22 | | 0 · ROUTE | `intake_router` + `journal-selector` | Entry point + journal constraints | — | |
| 23 | | 1 · RESEARCH | `food-research` (or `food-deep-research`) | Evidence brief / gap list / (systematic report) | evidence sufficiency | |
| 24 | | 2 · WRITE | `food-paper` | Draft: analysis, figures (`food-figure`), argument, references | integrity + journal compliance | |
| 25 | | 3 · REVIEW | `food-review` | **Review & Response Report (`.docx`)** — feedback + editorial decision — plus **margin comments** on the manuscript (when Word tooling available) | **mandatory** author decision | |
| 26 | | 4 · REVISE | `food-paper` (revise) | Revision + response entries — **tracked changes on the original Word only if the author authorizes** | issues resolved | |
| 27 | | 5 · RE-REVIEW | `food-review` (re-review) | **Only if the author authorizes a second round** — verifies the revision; may add new comments | accept / stop (no auto third round) | |
| 28 | | 6 · FINALIZE | `food-paper` (format-convert) + `writer` | Submission-ready manuscript (`.docx`) + the one **Review & Response Report** (`.docx`) | final compliance | |
| 29 | |
| 30 | ## Knowledge reuse — don't research the same field twice |
| 31 | When the pipeline **ran Stage 1** (it entered at Stage 0 or 1), the field has already |
| 32 | been searched and synthesized. Stages **3 · REVIEW** and **5 · RE-REVIEW** must |
| 33 | therefore **carry the Stage-1 evidence base into `food-review`** rather than let its |
| 34 | `knowledge_builder` repeat a full literature search: |
| 35 | |
| 36 | - **Pass forward** the Stage-1 output (`food-research` / `food-deep-research`: |
| 37 | validated sources, evidence matrix / synthesis, grading, gap list) as the review's |
| 38 | field-knowledge foundation; don't re-fetch what Stage 1 already validated. |
| 39 | - **Top it up** with the **`food-research` `quick brief`** stream to find the field's |
| 40 | **key review publications** and **read those reviews in full** (state of the art, |
| 41 | consensus vs contested, standard methods, benchmark ranges). |
| 42 | - **Knowledge base = Stage-1 knowledge + key-review knowledge.** The manuscript's own |
| 43 | cited sources are still read and audited (Pathway A), reusing Stage-1 records where |
| 44 | the source was already retrieved. |
| 45 | |
| 46 | **If Stage 1 did not run** (entry at Stage 2/3 with a finished draft), there is |
| 47 | nothing to inherit — `food-review` builds its knowledge base the full way |
| 48 | (Pathway A + B). Using **`food-review` standalone is unaffected** by |