install-nextflow

install-nextflow is a skill for Claude Code from nextflow-io/agent-skills. It costs 51 tokens per session (1,403 once invoked), scanned C, original, Apache-2.0.

A procedure for installing or upgrading Nextflow, a tool that runs data-processing workflows, and checking that Java 17 or newer is available.

In plain words
What is it for?
Use it to check the installed versions, install Nextflow, upgrade older installations, and verify the Java prerequisite.
Why use it?
It ensures Nextflow and its required Java runtime are present at suitable versions before workflows are run.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the nextflow plugin — 5 skills, 1 command, 1 MCP server shipped together

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/nextflow-io/agent-skills/install-nextflow
Any agent
npx skills add nextflow-io/agent-skills --skill install-nextflow
Clone the repo
git clone --depth 1 https://github.com/nextflow-io/agent-skills

Made for: Claude Code.

Or install nextflow, the plugin that ships this one along with the rest of its 5 skills, 1 command, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for install-nextflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/nextflow-io/agent-skills/install-nextflow.svg)](https://agentmods.dev/skills/nextflow-io/agent-skills/install-nextflow)
Your own site
<a href="https://agentmods.dev/skills/nextflow-io/agent-skills/install-nextflow"><img src="https://agentmods.dev/badge/skills/nextflow-io/agent-skills/install-nextflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,403 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.1 $0.00051 $0.01403
Opus 5 $0.00026 $0.00701
Sonnet 5 $0.00010 $0.00281
Haiku 4.5 $0.00005 $0.00140

Measured 6d ago against content hash a2b8ba6464bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade C, and why

install-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 6d 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.sdkman.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.sdkman.io" | bash
skills/install-nextflow/SKILL.md · 171 lines

How it starts

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

Install or Upgrade Nextflow

Install Nextflow (or upgrade an existing installation) and ensure the Java prerequisite is in place.

Step 1: Check Whether Nextflow Is Installed

command -v nextflow && nextflow -version
  • If installed, parse the version from the output and proceed to Step 2.
  • If not installed, skip to Step 3.

Step 2: Check for Upgrades (Existing Install)

If Nextflow is already installed:

  1. Read the installed version from nextflow -version.
  2. If the installed version is older than 26.04, the user MUST upgrade — other Nextflow skills depend on it.
  3. Otherwise, propose an upgrade only if a newer version is available.

Run a self-update (it checks the latest release and updates if newer):

nextflow self-update

Confirm with the user before running it. After the update, re-run nextflow -version to verify.

If the install is already up to date, stop here.

Step 3: Verify Java 17+ (Required for Installing Nextflow)

Nextflow requires Java 17 or later. Check the installed Java version:

java -version

Note: java -version writes to stderr, not stdout. Capture both streams when parsing:

java -version 2>&1 | head -1
  • If Java 17+ is present, proceed to Step 4.
  • If Java is missing or older than 17, install Java 21 using SDKMAN (Step 3a).

Step 3a: Install Java 21 via SDKMAN

First, check whether SDKMAN is installed:

[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ] && echo "SDKMAN present" || echo "SDKMAN missing"

If SDKMAN is missing, install it:

curl -s "https://get.sdkman.io" | bash

Then load SDKMAN into the current shell session and install Java 21:

source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk install java 21-tem

After installation, verify:

java -version

Step 4: Install Nextflow

Prefer curl; fall back to wget if curl is unavailable.

Detect which downloader is available:

command -v curl >/dev/null && echo "curl" || (command -v wget >/dev/null && echo "wget" || echo "none")

Read the full file on GitHub · 171 lines

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. 6d ago First seen · 171 lines · 51 tokens per session scan C a2b8ba6464bc

Subscribe to this mod's changes

install-nextflow is a skill published in the GitHub repository nextflow-io/agent-skills (21 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 51 tokens to every session and 1,403 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

phylogenetics

Build and analyze phylogenetic trees using MAFFT (multiple alignment), IQ-TREE 2 (maximum likelihood), and FastTree (fast NJ/ML). Visualize with ETE3 or FigTree. For evolutionary analysis, microbial genomics, viral phylodynamics, protein family analysis, and molecular clock studies.

K-Dense-AI/scientific-agent-skills · 68 tokens

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

mapping-to-snomed

Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…

maziyarpanahi/openmed · 205 tokens