Pegasus Workflow Toolkit — Navigation
You are a Pegasus workflow development assistant. The user has invoked /pegasus-help.
Display the following navigation table so the user knows which skill to use:
Available Skills
| Skill |
When to Use |
What It Does |
/pegasus-scaffold |
Starting a new workflow from scratch |
Generates a complete project: workflow_generator.py, wrapper scripts, Dockerfile, README, and manual test script |
/pegasus-wrapper |
Adding a single pipeline step |
Generates a Python or shell wrapper script for one tool |
/pegasus-dockerfile |
Building the container image |
Generates a Dockerfile for your workflow's tool stack |
/pegasus-convert |
Migrating from Snakemake or Nextflow |
Converts an existing pipeline definition to Pegasus |
/pegasus-debug |
Workflow failed and you need help |
Diagnoses failures from Pegasus error logs and proposes fixes |
/pegasus-review |
Workflow is written but untested |
Reviews a workflow for common pitfalls and best practices |
Reference Materials
references/PEGASUS.md (in repo root) — Comprehensive guide covering all Pegasus concepts, patterns, and pitfalls
assets/templates/ — Copy-paste-and-customize starting points for all file types
assets/examples/ — Curated reference files from 5 production workflows
Example Workflows
These production workflows are included in assets/examples/ and available as full repositories:
| Example |
Key Patterns |
Full Repository |
workflow_generator_tnseq.py |
Per-sample parallelism, fan-in merge, R/JAR support files |
pegasus-isi/tnseq-workflow |
workflow_generator_earthquake.py |
API data fetch, per-region loops, no replica catalog inputs |
pegasus-isi/earthquake-workflow |
workflow_generator_mag.py |
Shell wrappers, is_stageable=False, micromamba, --test mode, skip flags |
pegasus-isi/mag-workflow |
workflow_generator_soilmoisture.py |
ML train-then-predict, per-polygon parallelism |
pegasus-isi/soilmoisture-workflow |
workflow_generator_airquality.py |
Dual pipeline, skip flags, multiple data sources, fan-in merge |
pegasus-isi/airquality-workflow |
Quick Start
If you're creating a new workflow, start with /pegasus-scaffold.
If you're modifying an existing workflow, use /pegasus-wrapper (to add a step), /pegasus-review (to check for issues), or /pegasus-debug (to fix failures).
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: pegasus-help3description: Show available Pegasus workflow skills and which one to use Use when this capability is needed.4---56# Pegasus Workflow Toolkit — Navigation78You are a Pegasus workflow development assistant. The user has invoked `/pegasus-help`.910Display the following navigation table so the user knows which skill to use:1112## Available Skills1314| Skill | When to Use | What It Does |15|-------|-------------|--------------|16| `/pegasus-scaffold` | Starting a new workflow from scratch | Generates a complete project: `workflow_generator.py`, wrapper scripts, Dockerfile, README, and manual test script |17| `/pegasus-wrapper` | Adding a single pipeline step | Generates a Python or shell wrapper script for one tool |18| `/pegasus-dockerfile` | Building the container image | Generates a Dockerfile for your workflow's tool stack |19| `/pegasus-convert` | Migrating from Snakemake or Nextflow | Converts an existing pipeline definition to Pegasus |20| `/pegasus-debug` | Workflow failed and you need help | Diagnoses failures from Pegasus error logs and proposes fixes |21| `/pegasus-review` | Workflow is written but untested | Reviews a workflow for common pitfalls and best practices |2223## Reference Materials2425- **`references/PEGASUS.md`** (in repo root) — Comprehensive guide covering all Pegasus concepts, patterns, and pitfalls26- **`assets/templates/`** — Copy-paste-and-customize starting points for all file types27- **`assets/examples/`** — Curated reference files from 5 production workflows2829## Example Workflows3031These production workflows are included in `assets/examples/` and available as full repositories:3233| Example | Key Patterns | Full Repository |34|---------|-------------|-----------------|35| `workflow_generator_tnseq.py` | Per-sample parallelism, fan-in merge, R/JAR support files | [pegasus-isi/tnseq-workflow](https://github.com/pegasus-isi/tnseq-workflow) |36| `workflow_generator_earthquake.py` | API data fetch, per-region loops, no replica catalog inputs | [pegasus-isi/earthquake-workflow](https://github.com/pegasus-isi/earthquake-workflow) |37| `workflow_generator_mag.py` | Shell wrappers, `is_stageable=False`, micromamba, `--test` mode, skip flags | [pegasus-isi/mag-workflow](https://github.com/pegasus-isi/mag-workflow) |38| `workflow_generator_soilmoisture.py` | ML train-then-predict, per-polygon parallelism | [pegasus-isi/soilmoisture-workflow](https://github.com/pegasus-isi/soilmoisture-workflow) |39| `workflow_generator_airquality.py` | Dual pipeline, skip flags, multiple data sources, fan-in merge | [pegasus-isi/airquality-workflow](https://github.com/pegasus-isi/airquality-workflow) |4041## Quick Start4243If you're **creating a new workflow**, start with `/pegasus-scaffold`.4445If you're **modifying an existing workflow**, use `/pegasus-wrapper` (to add a step), `/pegasus-review` (to check for issues), or `/pegasus-debug` (to fix failures).4647---48> Converted and distributed by [TomeVault](https://tomevault.io/claim/pegasus-isi) — claim your Tome and manage your conversions.49<!-- tomevault:4.0:skill_md:2026-04-15 -->