[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ECJ59KPBT7HR8P9WA6CB71":3,"skill-same:01M7ECJ59KPBT7HR8P9WA6CB71":79},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M7ECJ59KPBT7HR8P9WA6CB71","nextflow",null,"Build, run, and debug Nextflow data pipelines and nf-core workflows end to end. Use whenever the user mentions Nextflow, nf-core, .nf files, nextflow.config, DSL2, processes\u002Fchannels\u002Foperators, samplesheets, or wants to run a community pipeline (e.g. nf-core\u002Frnaseq, nf-core\u002Fsarek), write or test a module\u002Fsubworkflow with nf-test, configure executors\u002Fcontainers (Docker, Singularity\u002FApptainer, Conda, Wave), scale a workflow to HPC\u002FSLURM or cloud (AWS Batch, Google Batch, Azure, Kubernetes), or debug a failed\u002F-resume run. Make sure to use this skill for any reproducible scientific\u002Fbioinformatics workflow work even if the user does not say the word \"Nextflow\", and for authoring nf-core-compliant pipelines, modules, configs, and linting.","sanjeevafk\u002Fagent-skills","sanjeevafk","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F230678117?v=4","01M7C540EFY46ETG1NNWKS5X3Q","Sanjeev","01M7C540F366J5C1D587BMKH9Q",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fnextflow\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: nextflow\ndescription: Build, run, and debug Nextflow data pipelines and nf-core workflows end to end. Use whenever the user mentions Nextflow, nf-core, .nf files, nextflow.config, DSL2, processes\u002Fchannels\u002Foperators, samplesheets, or wants to run a community pipeline (e.g. nf-core\u002Frnaseq, nf-core\u002Fsarek), write or test a module\u002Fsubworkflow with nf-test, configure executors\u002Fcontainers (Docker, Singularity\u002FApptainer, Conda, Wave), scale a workflow to HPC\u002FSLURM or cloud (AWS Batch, Google Batch, Azure, Kubernetes), or debug a failed\u002F-resume run. Make sure to use this skill for any reproducible scientific\u002Fbioinformatics workflow work even if the user does not say the word \"Nextflow\", and for authoring nf-core-compliant pipelines, modules, configs, and linting.\nlicense: Apache-2.0\nmetadata:\n  version: \"1.1\"\n  skill-author: K-Dense Inc.\n---\n\n# Nextflow\n\n## Overview\n\nNextflow is a workflow language and runtime for building **reproducible, portable, scalable** data pipelines. It is dominant in bioinformatics but works for any data-heavy computation. nf-core is a community curating production-grade Nextflow pipelines, reusable modules, and the `nf-core` tooling on top of Nextflow.\n\nKey ideas:\n- **Dataflow programming**: pipelines are `process` tasks connected by **channels**. Nextflow infers execution order and parallelism from data dependencies — there is no explicit scheduler to write.\n- **Write once, run anywhere**: the same pipeline runs locally, on HPC (SLURM, SGE, LSF, PBS), and on cloud (AWS Batch, Google Batch, Azure Batch, Kubernetes) by changing config\u002Fprofiles, not code.\n- **Reproducibility**: per-task containers (Docker\u002FSingularity\u002FApptainer\u002FConda\u002FWave) + `-resume` caching + pinned pipeline revisions.\n- **DSL2** is the modern, required syntax: modular `process`\u002F`workflow`\u002F`include` definitions.\n\nThis skill covers both **running** existing pipelines and **developing** your own (Nextflow language + nf-core conventions, testing with nf-test, configuration, and deployment).\n\n## When to Use This Skill\n\nUse this skill when the user wants to:\n- Run an nf-core or custom Nextflow pipeline, or debug a failing\u002Fresuming run.\n- Write or modify `.nf` scripts, `nextflow.config`, profiles, or `nextflow_schema.json`.\n- Author or test nf-core-style modules\u002Fsubworkflows (`main.nf`, `meta.yml`, `tests\u002F`, nf-test).\n- Configure executors, containers, or resources; scale to HPC or cloud.\n- Build a reproducible scientific\u002Fbioinformatics workflow (even if \"Nextflow\" is not named).\n- Understand processes, channels, operators, `take`\u002F`emit`, `publishDir`, `ext.args`, meta maps.\n\n## Setup\n\nNextflow needs **Bash** and **Java 17 or newer** (17–25 supported). Verify with `java -version`.\n\n```bash\n# Install Nextflow (self-contained launcher)\ncurl -s https:\u002F\u002Fget.nextflow.io | bash      # creates .\u002Fnextflow\nsudo mv nextflow \u002Fusr\u002Flocal\u002Fbin\u002F             # put on PATH\nnextflow info                                # verify\n\n# Or via conda\u002Fbioconda (also gets a managed Java)\nconda create -n nf -c bioconda -c conda-forge nextflow nf-core\n```\n\n```bash\n# nf-core tools (Python) for creating\u002Flinting\u002Frunning nf-core assets\nuv pip install nf-core            # or: conda install -c bioconda nf-core\nnf-core --version\n```\n\nPin the engine for reproducibility: `export NXF_VER=24.10.0` (use an [edge] release only if needed). For air-gapped\u002FHPC, see `references\u002Frunning-pipelines.md` (offline mode) and `references\u002Fconfiguration.md`.\n\n## Two Modes of Work\n\nDecide which path the user is on — it changes everything:\n\n| Goal | Start here |\n|------|-----------|\n| **Run** an existing pipeline (nf-core or a `.nf` you were given) | `references\u002Frunning-pipelines.md` |\n| **Develop** a new pipeline \u002F module \u002F subworkflow | `references\u002Flanguage.md` + `references\u002Fdeveloping.md` |\n| **Configure \u002F scale** (HPC, cloud, containers, resources) | `references\u002Fconfiguration.md` + `references\u002Fcontainers.md` |\n| **Test** modules\u002Fpipelines | `references\u002Ftesting.md` |\n\n## Quick Start\n\n### Run an nf-core pipeline\n\nAlways smoke-test with the bundled `test` profile first; it uses tiny data and proves your environment works.\n\n```bash\n# 1. Confirm setup works (downloads pipeline + tiny test data)\nnextflow run nf-core\u002Frnaseq -profile test,docker --outdir results\n\n# 2. Real run: pin a revision (-r), pick a container engine, pass inputs\nnextflow run nf-core\u002Frnaseq -r 3.14.0 \\\n  -profile docker \\\n  --input samplesheet.csv \\\n  --genome GRCh38 \\\n  --outdir results \\\n  -resume\n```\n\n- `-profile` (single dash) selects bundled config profiles; **combine** them comma-separated, e.g. `test,docker`. Container\u002Finfra profiles (`docker`, `singularity`, `conda`) are mutually exclusive — pick one.\n- `--input`, `--genome`, `--outdir` (double dash) are **pipeline** parameters. nf-core pipelines take a **samplesheet CSV**, not loose files.\n- `-resume` reuses cached results from the last run. `-r \u003Cversion>` pins a release for reproducibility.\n\nUse `nf-core pipelines launch \u003Cname>` for an interactive, schema-validated way to build the command and a `-params-file`. See `references\u002Frunning-pipelines.md`.\n\n### Write a minimal pipeline\n\n```nextflow\n#!\u002Fusr\u002Fbin\u002Fenv nextflow\n\nprocess SAYHELLO {\n    tag \"$greeting\"\n    publishDir \"results\", mode: 'copy'\n\n    input:\n    val greeting\n\n    output:\n    path \"${greeting}.txt\"\n\n    script:\n    \"\"\"\n    echo '$greeting world' > ${greeting}.txt\n    \"\"\"\n}\n\nworkflow {\n    channel.of('hello', 'bonjour', 'hola') | SAYHELLO\n}\n```\n\n```bash\nnextflow run main.nf            # add -resume on reruns\n```\n\nThe full language (processes, channels, operators, DSL2 workflows with `take`\u002F`main`\u002F`emit`, modules) is in `references\u002Flanguage.md`.\n\n## Core Concepts at a Glance\n\n- **Process**: a unit of work that runs a script (Bash by default). Declares `input:`, `output:`, optional `directives` (resources, container, `publishDir`, `tag`, `errorStrategy`), and a `script:`\u002F`shell:`\u002F`exec:` block. Each task runs in its own isolated work directory (`work\u002Fxx\u002Fyy…`).\n- **Channel**: the async queues that connect processes. **Queue channels** are consumable streams; **value channels** hold a single reusable value. Created with factories like `channel.of`, `channel.fromPath`, `channel.fromFilePairs`, `channel.value`.\n- **Operator**: transforms\u002Fcombines channels — `map`, `filter`, `collect`, `groupTuple`, `join`, `combine`, `mix`, `flatten`, `branch`, `multiMap`, `splitCsv`, `view`, `set`.\n- **Workflow**: composes processes. DSL2 workflows can declare `take:` (inputs), `main:` (logic), `emit:` (named outputs) and be `include`d as subworkflows. The unnamed `workflow {}` is the entry point.\n- **Module**: a `.nf` file exposing processes\u002Fworkflows via `include { NAME } from '.\u002Fpath'` (supports `as` aliasing).\n- **Configuration**: `nextflow.config` sets `params`, `process` directives, `executor`, container engines, and named `profiles`. Selectors `withName:`\u002F`withLabel:` target specific processes. See `references\u002Fconfiguration.md`.\n- **meta map** (nf-core): the convention of carrying a metadata map (`[ id:'sample1', single_end:false ]`) alongside files in input\u002Foutput tuples so samples stay labeled through the pipeline. See `references\u002Fdeveloping.md`.\n\n## nf-core tools CLI\n\nnf-core tools (v3+) group subcommands under `pipelines`, `modules`, and `subworkflows`. (Bare forms like `nf-core lint` still work but warn — prefer the grouped form.)\n\n| Command | Purpose |\n|---------|---------|\n| `nf-core pipelines list` | List\u002Fsearch nf-core pipelines (`--json`, keywords) |\n| `nf-core pipelines create` | Scaffold a new pipeline from the nf-core template |\n| `nf-core pipelines launch \u003Cname>` | Interactive, schema-driven run command + params file |\n| `nf-core pipelines download \u003Cname>` | Download pipeline + containers for offline\u002FHPC use |\n| `nf-core pipelines lint` | Lint a pipeline against nf-core standards (run in repo root) |\n| `nf-core pipelines schema build` | Build\u002Fedit `nextflow_schema.json` via web GUI |\n| `nf-core pipelines create-params-file \u003Cname>` | Generate a documented YAML params file |\n| `nf-core pipelines bump-version` \u002F `sync` | Bump version \u002F sync with template updates |\n| `nf-core modules list\u002Finfo\u002Finstall\u002Fupdate\u002Fremove` | Manage modules from nf-core\u002Fmodules |\n| `nf-core modules create` \u002F `lint` \u002F `test` | Author, lint, and nf-test a module |\n| `nf-core modules patch` \u002F `bump-versions` | Patch an installed module \u002F bump tool versions |\n| `nf-core subworkflows install\u002Fcreate\u002Flint\u002Ftest` | Same lifecycle for subworkflows |\n\nFull command reference, flags, and examples: `references\u002Fnf-core-tools.md`.\n\n## Essential `nextflow` CLI\n\n| Command | Purpose |\n|---------|---------|\n| `nextflow run \u003Cpipeline> -profile \u003Cp> --outdir \u003Cdir>` | Run a pipeline (path, `.nf`, or `user\u002Frepo`) |\n| `-resume` | Reuse cached results from prior run |\n| `-r \u003Crev>` | Run a specific git revision\u002Ftag\u002Fbranch |\n| `-params-file params.yml` | Supply parameters from YAML\u002FJSON |\n| `-c custom.config` | Layer in an extra config file |\n| `-with-report -with-trace -with-timeline -with-dag flow.html` | Execution report, trace, timeline, DAG |\n| `-stub-run` | Run `stub:` blocks only (dry-run plumbing) |\n| `nextflow log` | Inspect past runs |\n| `nextflow clean -f -before \u003Crun>` | Delete old `work\u002F` data |\n| `nextflow pull \u002F drop \u002F list \u002F info \u003Crepo>` | Manage cached remote pipelines |\n\nConfig, executors, caching internals, and tracing details: `references\u002Fconfiguration.md`.\n\n## Best Practices (high-value habits)\n\n- **Always `test` first**: `-profile test,docker` (or `singularity`\u002F`conda`) before real data — fast and catches environment problems.\n- **Pin everything**: pipeline revision (`-r`), `NXF_VER`, and tool versions (containers). Don't run `latest` for science you'll publish.\n- **Use `-resume`** and understand caching: a task re-runs if its inputs, script, or container change. See cache-debugging in `references\u002Fconfiguration.md`.\n- **Parameterize via config\u002Fparams-file**, not hardcoded paths. Keep `params` and profiles in `nextflow.config`.\n- **One container\u002Fconda env per process**; never rely on tools installed on the host.\n- **For nf-core dev**: reuse existing modules (`nf-core modules install`) before writing new ones; pass tool flags through `ext.args` (not hardcoded in the script); always include a `stub:` block and nf-test tests; run `nf-core pipelines lint` and `prettier` before committing.\n- **Right-size resources** with `process_low\u002Fmedium\u002Fhigh` labels and `errorStrategy 'retry'` with dynamic `task.attempt` scaling instead of one giant request.\n- **Write forward-compatible syntax**: the strict-syntax parser becomes the default in Nextflow 26.04. Prefer lowercase `channel.of(...)`, explicit closure params (`{ v -> ... }`), `def` for all variables, and `emit:`-named outputs. Check with `nextflow lint`.\n\n## Reference Files\n\nRead the relevant file when you need depth — each is self-contained:\n\n- `references\u002Flanguage.md` — DSL2 language: processes, directives, channels, operators, workflows (`take`\u002F`emit`), modules, dynamic resources, error handling.\n- `references\u002Fconfiguration.md` — `nextflow.config`, scopes, `profiles`, `withName`\u002F`withLabel` selectors, executors (local\u002FSLURM\u002Fcloud), caching\u002F`-resume` internals, tracing\u002Freports, the `nextflow` CLI.\n- `references\u002Fcontainers.md` — Docker, Singularity\u002FApptainer, Podman, Conda, Wave containers; choosing and enabling engines; common gotchas.\n- `references\u002Frunning-pipelines.md` — finding\u002Frunning nf-core pipelines, samplesheets, params files, reference genomes (iGenomes), offline runs, institutional configs, Seqera Platform.\n- `references\u002Fnf-core-tools.md` — complete `nf-core` CLI reference (pipelines\u002Fmodules\u002Fsubworkflows), flags, and workflows.\n- `references\u002Fdeveloping.md` — authoring nf-core pipelines & modules: template layout, module `main.nf`\u002F`meta.yml`, meta maps, `ext.args`\u002F`modules.config`, subworkflows, resource labels, linting & Harshil alignment style.\n- `references\u002Ftesting.md` — nf-test for modules\u002Fsubworkflows\u002Fpipelines: test structure, assertions, snapshots, tags, running tests, CI.\n\nOfficial docs: Nextflow https:\u002F\u002Fwww.nextflow.io\u002Fdocs\u002Flatest\u002F · nf-core https:\u002F\u002Fnf-co.re\u002Fdocs\u002F · Training https:\u002F\u002Ftraining.nextflow.io\u002F\n","# Nextflow\n\n## Overview\n\nNextflow is a workflow language and runtime for building **reproducible, portable, scalable** data pipelines. It is dominant in bioinformatics but works for any data-heavy computation. nf-core is a community curating production-grade Nextflow pipelines, reusable modules, and the `nf-core` tooling on top of Nextflow.\n\nKey ideas:\n- **Dataflow programming**: pipelines are `process` tasks connected by **channels**. Nextflow infers execution order and parallelism from data dependencies — there is no explicit scheduler to write.\n- **Write once, run anywhere**: the same pipeline runs locally, on HPC (SLURM, SGE, LSF, PBS), and on cloud (AWS Batch, Google Batch, Azure Batch, Kubernetes) by changing config\u002Fprofiles, not code.\n- **Reproducibility**: per-task containers (Docker\u002FSingularity\u002FApptainer\u002FConda\u002FWave) + `-resume` caching + pinned pipeline revisions.\n- **DSL2** is the modern, required syntax: modular `process`\u002F`workflow`\u002F`include` definitions.\n\nThis skill covers both **running** existing pipelines and **developing** your own (Nextflow language + nf-core conventions, testing with nf-test, configuration, and deployment).\n\n## When to Use This Skill\n\nUse this skill when the user wants to:\n- Run an nf-core or custom Nextflow pipeline, or debug a failing\u002Fresuming run.\n- Write or modify `.nf` scripts, `nextflow.config`, profiles, or `nextflow_schema.json`.\n- Author or test nf-core-style modules\u002Fsubworkflows (`main.nf`, `meta.yml`, `tests\u002F`, nf-test).\n- Configure executors, containers, or resources; scale to HPC or cloud.\n- Build a reproducible scientific\u002Fbioinformatics workflow (even if \"Nextflow\" is not named).\n- Understand processes, channels, operators, `take`\u002F`emit`, `publishDir`, `ext.args`, meta maps.\n\n## Setup\n\nNextflow needs **Bash** and **Java 17 or newer** (17–25 supported). Verify with `java -version`.\n\n```bash\n# Install Nextflow (self-contained launcher)\ncurl -s https:\u002F\u002Fget.nextflow.io | bash      # creates .\u002Fnextflow\nsudo mv nextflow \u002Fusr\u002Flocal\u002Fbin\u002F             # put on PATH\nnextflow info                                # verify\n\n# Or via conda\u002Fbioconda (also gets a managed Java)\nconda create -n nf -c bioconda -c conda-forge nextflow nf-core\n```\n\n```bash\n# nf-core tools (Python) for creating\u002Flinting\u002Frunning nf-core assets\nuv pip install nf-core            # or: conda install -c bioconda nf-core\nnf-core --version\n```\n\nPin the engine for reproducibility: `export NXF_VER=24.10.0` (use an [edge] release only if needed). For air-gapped\u002FHPC, see `references\u002Frunning-pipelines.md` (offline mode) and `references\u002Fconfiguration.md`.\n\n## Two Modes of Work\n\nDecide which path the user is on — it changes everything:\n\n| Goal | Start here |\n|------|-----------|\n| **Run** an existing pipeline (nf-core or a `.nf` you were given) | `references\u002Frunning-pipelines.md` |\n| **Develop** a new pipeline \u002F module \u002F subworkflow | `references\u002Flanguage.md` + `references\u002Fdeveloping.md` |\n| **Configure \u002F scale** (HPC, cloud, containers, resources) | `references\u002Fconfiguration.md` + `references\u002Fcontainers.md` |\n| **Test** modules\u002Fpipelines | `references\u002Ftesting.md` |\n\n## Quick Start\n\n### Run an nf-core pipeline\n\nAlways smoke-test with the bundled `test` profile first; it uses tiny data and proves your environment works.\n\n```bash\n# 1. Confirm setup works (downloads pipeline + tiny test data)\nnextflow run nf-core\u002Frnaseq -profile test,docker --outdir results\n\n# 2. Real run: pin a revision (-r), pick a container engine, pass inputs\nnextflow run nf-core\u002Frnaseq -r 3.14.0 \\\n  -profile docker \\\n  --input samplesheet.csv \\\n  --genome GRCh38 \\\n  --outdir results \\\n  -resume\n```\n\n- `-profile` (single dash) selects bundled config profiles; **combine** them comma-separated, e.g. `test,docker`. Container\u002Finfra profiles (`docker`, `singularity`, `conda`) are mutually exclusive — pick one.\n- `--input`, `--genome`, `--outdir` (double dash) are **pipeline** parameters. nf-core pipelines take a **samplesheet CSV**, not loose files.\n- `-resume` reuses cached results from the last run. `-r \u003Cversion>` pins a release for reproducibility.\n\nUse `nf-core pipelines launch \u003Cname>` for an interactive, schema-validated way to build the command and a `-params-file`. See `references\u002Frunning-pipelines.md`.\n\n### Write a minimal pipeline\n\n```nextflow\n#!\u002Fusr\u002Fbin\u002Fenv nextflow\n\nprocess SAYHELLO {\n    tag \"$greeting\"\n    publishDir \"results\", mode: 'copy'\n\n    input:\n    val greeting\n\n    output:\n    path \"${greeting}.txt\"\n\n    script:\n    \"\"\"\n    echo '$greeting world' > ${greeting}.txt\n    \"\"\"\n}\n\nworkflow {\n    channel.of('hello', 'bonjour', 'hola') | SAYHELLO\n}\n```\n\n```bash\nnextflow run main.nf            # add -resume on reruns\n```\n\nThe full language (processes, channels, operators, DSL2 workflows with `take`\u002F`main`\u002F`emit`, modules) is in `references\u002Flanguage.md`.\n\n## Core Concepts at a Glance\n\n- **Process**: a unit of work that runs a script (Bash by default). Declares `input:`, `output:`, optional `directives` (resources, container, `publishDir`, `tag`, `errorStrategy`), and a `script:`\u002F`shell:`\u002F`exec:` block. Each task runs in its own isolated work directory (`work\u002Fxx\u002Fyy…`).\n- **Channel**: the async queues that connect processes. **Queue channels** are consumable streams; **value channels** hold a single reusable value. Created with factories like `channel.of`, `channel.fromPath`, `channel.fromFilePairs`, `channel.value`.\n- **Operator**: transforms\u002Fcombines channels — `map`, `filter`, `collect`, `groupTuple`, `join`, `combine`, `mix`, `flatten`, `branch`, `multiMap`, `splitCsv`, `view`, `set`.\n- **Workflow**: composes processes. DSL2 workflows can declare `take:` (inputs), `main:` (logic), `emit:` (named outputs) and be `include`d as subworkflows. The unnamed `workflow {}` is the entry point.\n- **Module**: a `.nf` file exposing processes\u002Fworkflows via `include { NAME } from '.\u002Fpath'` (supports `as` aliasing).\n- **Configuration**: `nextflow.config` sets `params`, `process` directives, `executor`, container engines, and named `profiles`. Selectors `withName:`\u002F`withLabel:` target specific processes. See `references\u002Fconfiguration.md`.\n- **meta map** (nf-core): the convention of carrying a metadata map (`[ id:'sample1', single_end:false ]`) alongside files in input\u002Foutput tuples so samples stay labeled through the pipeline. See `references\u002Fdeveloping.md`.\n\n## nf-core tools CLI\n\nnf-core tools (v3+) group subcommands under `pipelines`, `modules`, and `subworkflows`. (Bare forms like `nf-core lint` still work but warn — prefer the grouped form.)\n\n| Command | Purpose |\n|---------|---------|\n| `nf-core pipelines list` | List\u002Fsearch nf-core pipelines (`--json`, keywords) |\n| `nf-core pipelines create` | Scaffold a new pipeline from the nf-core template |\n| `nf-core pipelines launch \u003Cname>` | Interactive, schema-driven run command + params file |\n| `nf-core pipelines download \u003Cname>` | Download pipeline + containers for offline\u002FHPC use |\n| `nf-core pipelines lint` | Lint a pipeline against nf-core standards (run in repo root) |\n| `nf-core pipelines schema build` | Build\u002Fedit `nextflow_schema.json` via web GUI |\n| `nf-core pipelines create-params-file \u003Cname>` | Generate a documented YAML params file |\n| `nf-core pipelines bump-version` \u002F `sync` | Bump version \u002F sync with template updates |\n| `nf-core modules list\u002Finfo\u002Finstall\u002Fupdate\u002Fremove` | Manage modules from nf-core\u002Fmodules |\n| `nf-core modules create` \u002F `lint` \u002F `test` | Author, lint, and nf-test a module |\n| `nf-core modules patch` \u002F `bump-versions` | Patch an installed module \u002F bump tool versions |\n| `nf-core subworkflows install\u002Fcreate\u002Flint\u002Ftest` | Same lifecycle for subworkflows |\n\nFull command reference, flags, and examples: `references\u002Fnf-core-tools.md`.\n\n## Essential `nextflow` CLI\n\n| Command | Purpose |\n|---------|---------|\n| `nextflow run \u003Cpipeline> -profile \u003Cp> --outdir \u003Cdir>` | Run a pipeline (path, `.nf`, or `user\u002Frepo`) |\n| `-resume` | Reuse cached results from prior run |\n| `-r \u003Crev>` | Run a specific git revision\u002Ftag\u002Fbranch |\n| `-params-file params.yml` | Supply parameters from YAML\u002FJSON |\n| `-c custom.config` | Layer in an extra config file |\n| `-with-report -with-trace -with-timeline -with-dag flow.html` | Execution report, trace, timeline, DAG |\n| `-stub-run` | Run `stub:` blocks only (dry-run plumbing) |\n| `nextflow log` | Inspect past runs |\n| `nextflow clean -f -before \u003Crun>` | Delete old `work\u002F` data |\n| `nextflow pull \u002F drop \u002F list \u002F info \u003Crepo>` | Manage cached remote pipelines |\n\nConfig, executors, caching internals, and tracing details: `references\u002Fconfiguration.md`.\n\n## Best Practices (high-value habits)\n\n- **Always `test` first**: `-profile test,docker` (or `singularity`\u002F`conda`) before real data — fast and catches environment problems.\n- **Pin everything**: pipeline revision (`-r`), `NXF_VER`, and tool versions (containers). Don't run `latest` for science you'll publish.\n- **Use `-resume`** and understand caching: a task re-runs if its inputs, script, or container change. See cache-debugging in `references\u002Fconfiguration.md`.\n- **Parameterize via config\u002Fparams-file**, not hardcoded paths. Keep `params` and profiles in `nextflow.config`.\n- **One container\u002Fconda env per process**; never rely on tools installed on the host.\n- **For nf-core dev**: reuse existing modules (`nf-core modules install`) before writing new ones; pass tool flags through `ext.args` (not hardcoded in the script); always include a `stub:` block and nf-test tests; run `nf-core pipelines lint` and `prettier` before committing.\n- **Right-size resources** with `process_low\u002Fmedium\u002Fhigh` labels and `errorStrategy 'retry'` with dynamic `task.attempt` scaling instead of one giant request.\n- **Write forward-compatible syntax**: the strict-syntax parser becomes the default in Nextflow 26.04. Prefer lowercase `channel.of(...)`, explicit closure params (`{ v -> ... }`), `def` for all variables, and `emit:`-named outputs. Check with `nextflow lint`.\n\n## Reference Files\n\nRead the relevant file when you need depth — each is self-contained:\n\n- `references\u002Flanguage.md` — DSL2 language: processes, directives, channels, operators, workflows (`take`\u002F`emit`), modules, dynamic resources, error handling.\n- `references\u002Fconfiguration.md` — `nextflow.config`, scopes, `profiles`, `withName`\u002F`withLabel` selectors, executors (local\u002FSLURM\u002Fcloud), caching\u002F`-resume` internals, tracing\u002Freports, the `nextflow` CLI.\n- `references\u002Fcontainers.md` — Docker, Singularity\u002FApptainer, Podman, Conda, Wave containers; choosing and enabling engines; common gotchas.\n- `references\u002Frunning-pipelines.md` — finding\u002Frunning nf-core pipelines, samplesheets, params files, reference genomes (iGenomes), offline runs, institutional configs, Seqera Platform.\n- `references\u002Fnf-core-tools.md` — complete `nf-core` CLI reference (pipelines\u002Fmodules\u002Fsubworkflows), flags, and workflows.\n- `references\u002Fdeveloping.md` — authoring nf-core pipelines & modules: template layout, module `main.nf`\u002F`meta.yml`, meta maps, `ext.args`\u002F`modules.config`, subworkflows, resource labels, linting & Harshil alignment style.\n- `references\u002Ftesting.md` — nf-test for modules\u002Fsubworkflows\u002Fpipelines: test structure, assertions, snapshots, tags, running tests, CI.\n\nOfficial docs: Nextflow https:\u002F\u002Fwww.nextflow.io\u002Fdocs\u002Flatest\u002F · nf-core https:\u002F\u002Fnf-co.re\u002Fdocs\u002F · Training https:\u002F\u002Ftraining.nextflow.io\u002F\n",{"name":5,"license":15,"metadata":24,"description":7},{"version":25,"skill-author":26},"1.1","K-Dense Inc.","main","4e084e84eb42fc53e144c89c0f7f48b39c8a4b0f","collections\u002Fscientific-skills\u002Fnextflow",1,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills","https:\u002F\u002Fgithub.com\u002Fsanjeevafk","First make it work. Then make it right. Then make it fast.","2026-11-14 13:36:16",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add sanjeevafk\u002Fagent-skills --skill nextflow",{"tool":41,"command":42},"bunx","bunx skills add sanjeevafk\u002Fagent-skills --skill nextflow",{"tool":44,"command":45},"pnpm","pnpm dlx skills add sanjeevafk\u002Fagent-skills --skill nextflow","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fnextflow\u002FSKILL.md",true,[49,55,59,63,67,71,75],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fconfiguration.md","REFERENCE","参考文档",11318,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fnextflow\u002Freferences\u002Fconfiguration.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fcontainers.md",4598,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fnextflow\u002Freferences\u002Fcontainers.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fdeveloping.md",15348,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fnextflow\u002Freferences\u002Fdeveloping.md",{"path":64,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Flanguage.md",15318,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fnextflow\u002Freferences\u002Flanguage.md",{"path":68,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Fnf-core-tools.md",6357,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fnextflow\u002Freferences\u002Fnf-core-tools.md",{"path":72,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Frunning-pipelines.md",6806,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fnextflow\u002Freferences\u002Frunning-pipelines.md",{"path":76,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Ftesting.md",6744,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fscientific-skills\u002Fnextflow\u002Freferences\u002Ftesting.md",[80,88,96,104,112,119],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":84,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7EFHX67M3KKXT1BXVPA5ADT","zarr-python","Chunked N-D arrays for cloud storage (Zarr-Python 3). Compressed arrays, parallel I\u002FO, S3\u002FGCS via fsspec, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","MIT","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzarr-python\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":84,"licenseFileUrl":92,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7EFFQGM51TZBGRENXY50ZYM","whiteboard-diagrams","Create accurate, simple, hand-drawn whiteboard diagrams from a user's process, system, architecture, learning workflow, comparison, or causal explanation. Use when the user asks for a scribbly whiteboard visual, educational workflow graphic, hand-drawn explainer, or diagram like the bundled reference; ask one focused clarification question when the subject or relationships are missing, then generate and visually verify the final image.","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwhiteboard-diagrams\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwhiteboard-diagrams\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":100,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7EFF1CSQNTDMHFK4ZGY6NYK","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":108,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M7EFE8106X6C28FT8PA74427","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-artifacts-builder\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":84,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":19},"01M7EFCSNZM9G7ZHS6F127Q71X","verification-loop","A comprehensive verification system for Claude Code sessions.","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":84,"licenseFileUrl":123,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":19},"01M7EFCE7EZMKPRYDDNKBQ9EEH","vercel-deploy","Deploy applications and websites to Vercel. Use when the user requests deployment actions like \"deploy my app\", \"deploy and give me the link\", \"push this live\", or \"create a preview deployment\".","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvercel-deploy\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvercel-deploy\u002FSKILL.md",[],[]]