Skip to content
Skills Library
DevOps & cloud · Automation

nf-core-module-update

/nf-core-module-update

Update vendored nf-core modules/subworkflows to newer upstream versions with `nf-core modules update`, and manage local modifications with `nf-core modules patch`. Use when bumping a tool version, refreshing all vendored components, or when a module needs a pipeline-specific change.

Licence
MIT
Last repository change
11.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 11.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Update vendored nf-core modules/subworkflows to newer upstream versions with `nf-core modules update`, and manage local modifications with `nf-core modules patch`. Use when bumping a tool version, refreshing all vendored components, or when a module needs a pipeline-specific change.

Arguments

/nf-core-module-update Module name, or `--all` to refresh everything
Original author description

Update vendored nf-core modules/subworkflows to newer upstream versions with `nf-core modules update`, and manage local modifications with `nf-core modules patch`. Use when bumping a tool version, refreshing all vendored components, or when a module needs a pipeline-specific change.

How it works

  1. Updating
  2. Patching (pipeline-specific modifications)
  3. Verification
  4. Notes
Original SKILL.md headings · 40 lines, 337 words
SKILL.md preview
---
name: nf-core-module-update
description: 'Update vendored nf-core modules/subworkflows to newer upstream versions with `nf-core modules update`, and manage local modifications with `nf-core modules patch`. Use when bumping a tool version, refreshing all vendored components, or when a module needs a pipeline-specific change.'
argument-hint: 'Module name, or `--all` to refresh everything'
user-invocable: true
---

# Update and Patch Vendored Components

**Canonical reference:** the nf-core tools CLI (`nf-core modules update --help`) and
<https://nf-co.re/docs/developing/pipelines/adding-modules>

## Updating

1. Always preview before applying:
   - `nf-core modules update --preview <tool>/<subtool>`
   - `nf-core modules update --preview --all` for a full refresh
2. Apply:
   - `nf-core modules update <tool>/<subtool>`
   - `nf-core subworkflows update <name>` for subworkflows
3. Read the diff (`git diff modules/`) for interface changes, not just version bumps: changed input tuple shape, renamed output channels, new required inputs, versions-emission changes. Any of these means the calling workflow must be updated in the same change.
4. Update `conf/modules.config` if the tool's CLI flags changed — `ext.args` values are not validated and will silently fail at runtime.
5. Re-run tests and refresh snapshots deliberately: `nf-test test --profile <backend>`, then `--update-snapshot` **only** after you have confirmed each changed output is an intended consequence of the update.

## Patching (pipeline-specific modifications)

Editing a vendored module in place makes it drift silently and breaks the next update.

1. Make the edit in `modules/nf-core/<tool>/<subtool>/main.nf`.
2. Record it as a patch: `nf-core modules patch <tool>/<subtool>` — this writes a `.diff` and registers it in `modules.json`.
3. On a later update, the CLI reapplies the patch and tells you if it no longer applies; resolve that then, not by re-editing untracked.
4. Before patching, consider whether the change belongs upstream (`nf-core-module-create` / a PR to nf-core/modules) or can be expressed as `ext.args` — a patch is the last resort, not the first.

## Verification

- `nf-core modules lint <name>` clean for every touched component.
- `modules.json` `git_sha` values updated for exactly the intended components: `git diff modules.json`.
- Existing patches still listed and applying: `nf-core modules list local`.
- Pipeline `-profile test,<backend>` run completes.
- `CHANGELOG.md` records the version bump.

## Notes

- Update one component (or one coherent group) per commit; a bulk `--all` update that breaks something is very hard to bisect otherwise.
- After bumping a tool version, check whether `CITATIONS.md` or the methods description text needs the version updated too.

Versions

The database has no other skills named nf-core-module-update.

Database snapshot: 13.11.2026 · package version 442d17b8f9cd (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100nf-core-module-create
    Create a new nf-core module or subworkflow from scratch with `nf-core modules create` / `nf-core subworkflows create`, including main.nf, meta.yml, environment.yml, container directive and nf-test. Use when a needed tool has no upstream nf-core component, or when contributing a…
  • 100nf-core-custom-remote
    Install, update, or list nf-core modules and subworkflows from a custom or private git remote (e.g. an institution's own (e.g. GitLab) modules repository) using --git-remote/--branch and .nf-core.yml org_path. Use when components do not come from nf-core/modules.
  • 100terraform-module-patterns
    This skill should be used when the user is designing Terraform modules, wrapping community modules, implementing conditional resource creation, structuring module variables and outputs, setting up pre-commit quality gates, versioning custom modules, building reusable…
  • 100run-module
    Run Nextflow Registry modules natively using `nextflow module` commands. Use when running, listing, or getting info about Nextflow modules, including process modules (a single tool) and workflow modules (subworkflows that chain several modules).
  • 100terraform-modules
    Covers designing Terraform modules that are reusable and composable rather than copy-pasted or over-engineered — clean input/output interfaces, version pinning, and knowing when abstraction earns its complexity. Use this whenever the user is writing a new module, designing…
  • 100update-unit
    This skill should be used when the user asks to "update a unit", "bump a unit", "upgrade a unit", "update to latest version", "/update-unit", or mentions that a unit needs a version bump. Bumps a unit to the latest upstream version with a test build.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.