nextflow

A language and workflow system for connecting computational jobs into repeatable pipelines. It can run the same workflow on a laptop, a high-performance computing cluster, or cloud services.

In plain words
What is it for?
Use it to write, debug, and optimize chemistry or bioinformatics pipelines, connect processes with data channels, configure cluster or cloud execution, and run tools such as BLAST, RDKit, ORCA, or Gaussian.
Why use it?
It organizes multi-step work, manages inputs and outputs, supports software containers, and can resume completed work after an interruption.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/kdevos12/alkyl/nextflow
Any agent
npx skills add Kdevos12/ALKYL --skill nextflow
Clone the repo
git clone --depth 1 https://github.com/Kdevos12/ALKYL

Made for: Claude Code, Codex.

Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 822 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00046 $0.00822
Opus 5 $0.00023 $0.00411
Sonnet 5 $0.00009 $0.00164
Haiku 4.5 $0.00005 $0.00082

Measured 2d ago against content hash 40d3d2d6e109, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

nextflow scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -s https://get.nextflow.io | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s https://get.nextflow.io | bash
skills/nextflow/SKILL.md · 95 lines

How it starts

The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Nextflow

Workflow language for scalable and reproducible computational pipelines — write once, run anywhere (local, HPC, AWS, GCP, Azure).

When to Use This Skill

  • Writing or debugging Nextflow DSL2 pipelines (.nf files)
  • Composing processes into workflows with channel dataflow
  • Configuring executors (SLURM, LSF, AWS Batch, Google Batch)
  • Managing containers (Docker, Singularity/Apptainer, Conda) for reproducibility
  • Building chemistry/bioinformatics pipelines (BLAST, aligners, RDKit, ORCA, Gaussian)
  • Understanding -resume / cache behavior
  • Modularizing pipelines with include / module aliases

Quick Start — Minimal DSL2 Pipeline

// main.nf
params.input  = 'data/*.sdf'
params.outdir = 'results'

process RUN_ORCA {
    publishDir params.outdir, mode: 'copy'
    container  'quay.io/biocontainers/orca:5.0.4--h2f1ea3e_0'

    input:
    path mol

    output:
    path "*.out"

    script:
    """
    orca ${mol}.inp > ${mol}.out
    """
}

workflow {
    mols = channel.fromPath(params.input)
    RUN_ORCA(mols)
}

Run it:

nextflow run main.nf -profile docker -resume

Router — What to Read

Task Reference
Processes, channels, input/output qualifiers, script types references/core-concepts.md
Workflows, named workflows, pipe/and operators, modules, composition references/pipeline-patterns.md
nextflow.config, executors, profiles, HPC/cloud, cache/resume references/execution-config.md
Docker, Apptainer/Singularity, Conda, Wave, reproducibility references/containers-envs.md
Channel factories, operators, file handling, remote files references/files-channels.md
Chemistry/bioinformatics patterns (BLAST, RDKit, ORCA, MD) references/chem-bioinformatics.md

Key Concepts at a Glance

Concept What it is
process Runs a script/command; defines input, output, directives
workflow Composes processes and operators via dataflow channels
channel Asynchronous stream of values connecting processes
val / path Input qualifiers — val for data, path for staged files
publishDir Copies task output to a user-visible results directory
executor Where tasks run: local, slurm, awsbatch, google-batch…
-resume Reuses cached task results; skips unchanged tasks
module Reusable .nf file included with include { X } from './module'

Read the full file on GitHub · 95 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 95 lines · 46 tokens per session scan C 40d3d2d6e109

Subscribe to this mod's changes

nextflow is a skill published in the GitHub repository Kdevos12/ALKYL (6 stars, last pushed 5mo ago), licensed MIT. It adds 46 tokens to every session and 822 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

design-mcp-server

Design the tool surface, resources, and service layer for a new MCP server. Use when starting a new server, planning a major feature expansion, or when the user describes a domain/API they want to expose via MCP. Produces a design doc at docs/design.md that drives implementation.

cyanheads/pubchem-mcp-server · 62 tokens

add-tool

Scaffold a new MCP tool definition. Use when the user asks to add a tool, create a new tool, or implement a new capability for the server.

cyanheads/pubchem-mcp-server · 35 tokens

api-context

Canonical reference for the unified Context object passed to every tool and resource handler in @cyanheads/mcp-ts-core. Covers the full interface, its RequestContext base, all sub-APIs (ctx.log, ctx.state, ctx.requestInput, ctx.inputs, ctx.enrich, ctx.content), and when to use each.

cyanheads/pubchem-mcp-server · 79 tokens

api-linter

MCP definition linter rules reference. Use when bun run lint:mcp or bun run devcheck reports a lint error or warning (format-parity, schema-is-object, name-format, server-json-, etc.) and you need to understand the rule, its severity, and how to fix it. Every rule ID the linter emits has an entry in this doc.

cyanheads/pubchem-mcp-server · 86 tokens

api-canvas

DataCanvas primitive reference — a Tier 3 SQL/analytical workspace for tabular MCP servers, backed by DuckDB. Use when registering tables from upstream APIs, running ad-hoc SQL across them, and exporting results. Covers the acquire → register → query → export flow, per-table TTL, the token-sharing pattern for…

cyanheads/pubchem-mcp-server · 85 tokens

api-errors

McpError constructor, JsonRpcErrorCode reference, and error handling patterns for @cyanheads/mcp-ts-core. Use when looking up error codes, understanding where errors should be thrown vs. caught, or using ErrorHandler.tryCatch in services.

cyanheads/pubchem-mcp-server · 54 tokens