From nextflow
Runs Nextflow Registry modules natively using `nextflow module` commands. Use for searching, viewing, and executing Nextflow modules without wrapper workflows.
How this skill is triggered — by the user, by Claude, or both
Slash command
/nextflow:run-moduleThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run modules from the [Nextflow Registry](https://registry.nextflow.io) natively using `nextflow module` commands. Everything is self-contained — no external tools or MCP needed. Modules are installed on-the-fly when run.
Run modules from the Nextflow Registry natively using nextflow module commands. Everything is self-contained — no external tools or MCP needed. Modules are installed on-the-fly when run.
Modules are published under namespaces (e.g. nf-core/fastqc), and the nextflow module commands work with any of them.
Requires Nextflow 26.04 or later (for the nextflow module commands).
If a module fails due to missing arguments or incorrect parameters:
❌ WRONG - Writing a wrapper workflow:
// NEVER DO THIS - even if the module fails!
include { FASTQC } from 'nf-core/fastqc'
workflow { FASTQC(Channel.fromPath('*.fq.gz')) }
✅ CORRECT - Use nextflow module view to get the correct parameters:
nextflow module view nf-core/fastqc
When a module run fails:
nextflow module view <module> to get the command templatenextflow module run <module> ...NEVER create a wrapper workflow as a "fix" for missing arguments.
Use nextflow module search with a natural language term — it performs similarity search on module name, description, and features:
nextflow module search "quality control"
nextflow module search "alignment"
nextflow module search "variant calling"
nextflow module search "BAM statistics"
Once you've identified the module, get its detailed info and the command template:
nextflow module view nf-core/fastqc
This returns the module description, inputs, parameters, and the exact run command template. Use this template as the basis for your run command.
Replace placeholder values in the template with the user's concrete values (file paths, parameters), then execute. No explicit install is needed — modules are fetched on-the-fly:
nextflow module run nf-core/fastqc \
--input "/path/to/sample.fq.gz" \
--outdir results
Modules require containers for their underlying tools. Configure nextflow.config to use Wave + Conda so containers are provisioned on-the-fly from each module's conda packages:
wave.enabled = true
wave.strategy = 'conda,container'
docker.enabled = true
This avoids the need to manually build or pull container images — Wave provisions them from the module's declared conda dependencies.
| Command | Description |
|---|---|
nextflow module search <term> | Similarity search by name/description/feature |
nextflow module view <name> | Detailed info about the module and how to run it |
nextflow module run <name> [options] | Run a module (installed on-the-fly) |
nextflow module list | List available modules |
# 1. Search
nextflow module search "quality control"
# 2. Get the template
nextflow module view nf-core/fastqc
# 3. Run with concrete values
nextflow module run nf-core/fastqc \
--input "data/sample.fq.gz" \
--outdir results_fastqc
# 1. Search
nextflow module search "bwa alignment"
# 2. Get the template
nextflow module view nf-core/bwa/mem
# 3. Run with concrete values
nextflow module run nf-core/bwa/mem \
--input "data/reads_1.fq.gz,data/reads_2.fq.gz" \
--reference "data/genome.fa" \
--outdir results_bwa
Search for the module:
nextflow module search "quality control for FASTQ"
Get info and run template:
nextflow module view nf-core/fastqc
Substitute template placeholders with actual values from the user's data
Run the module:
nextflow module run nf-core/fastqc \
--input "data/sample.fq.gz" \
--outdir results
Process output — Read the stdout, summarize key results, and suggest the logical next step to the user
nextflow module search to find the right modulenextflow module view before running a modulenextflow module view to get correct argsls data/*.fq then comma-separate results--input "file1,file2,file3"DO NOT write a wrapper workflow. Instead:
nextflow module view nf-core/<module>nextflow module run command with correct argumentsThe nextflow module run command prints its output to stdout. After a module run, you MUST:
fastqc: "Quality scores look good. Would you like to proceed to alignment with bwa/mem?"bwa/mem: "Alignment complete. Would you like to sort the BAM with samtools/sort or get stats with samtools/stats?"fastp: "Trimming done. Would you like to align the trimmed reads?"Always frame next-step suggestions as questions to the user.
Only list or inspect output files in the work directory if the module or user specifically requires it — do not do this by default.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub nextflow-io/agent-skills --plugin nextflow