agentleFS
nextflow-ionextflow-io/agent-skills/CLAUDE.md

agent-skills

CLAUDE.md21 starsChanged 4 months agoApache-2.0View on GitHub

A Claude Code plugin that bundles agent skills for building and running Nextflow pipelines with modules from the Nextflow Registry. There is no application code, build step, or test suite — the deliverable is the set of SKILL.md files, each a Markdown document with YAML frontmatter that instructs an agent how to perform a task. Skills follow the Agent Skills specification so they work in any compatible agent (Claude Code, Codex, Cursor, OpenCode). When editing one skill, check the others…

The file

We split this CLAUDE.md into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When editing one skill, check the others for consistency: cross-references (the Skill delegation table in create-workflow), the shared …

    line 28
  2. Very specific:

    Module include syntax: prefer Nextflow-managed includes (from 'nf-core/module', no ./ prefix) over local file paths.

    line 34
  3. Very specific:

    After editing GitHub Actions workflows (if any are added), run npx actions-up and zizmor to harden them.

    line 41

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What this repo is

A Claude Code plugin that bundles agent skills for building and running Nextflow pipelines with modules from the Nextflow Registry. There is no application code, build step, or test suite — the deliverable is the set of SKILL.md files, each a Markdown document with YAML frontmatter that instructs an agent how to perform a task.

Skills follow the Agent Skills specification so they work in any compatible agent (Claude Code, Codex, Cursor, OpenCode).

Layout

  • .claude/commands/ — repo-local dev tooling, not shipped to plugin users. eval.md (/eval <migration> <github-url> [branch]) exercises a migrate-nextflow-code migration against a real pipeline and reports where the skill's instructions fall short.
  • .claude-plugin/plugin.json — plugin manifest (name, version, keywords). Bump version when releasing.
  • scripts/nextflow-typecheck.sh — drives the Nextflow language server headlessly and prints diagnostics for a project. This is how skills check for type errors; nextflow lint only checks syntax.
  • skills/<name>/SKILL.md — one skill per directory; the directory name must match the name: in frontmatter.
  • Skills may bundle resources: references/*.md (loaded on demand). Shared executable helpers live in the top-level scripts/ (e.g. scripts/nextflow-language-server.sh), referenced from skills via ${CLAUDE_PLUGIN_ROOT}/scripts/....
  • .mcp.json — declares the Seqera MCP server, which allows the agent to interact with Seqera Platform.

The skills and how they relate

  • install-nextflow — installs/upgrades Nextflow and the Java 17+ prerequisite (via SDKMAN). Other skills require Nextflow 26.04+.
  • run-module — runs a single Registry module via nextflow module search/view/run. Self-contained (no MCP).
  • create-workflow — composes multiple modules into a pipeline. Delegates to run-module (via the Skill tool) to validate each module before composing.
  • launch-workflow — launches pipelines on Seqera Platform for cloud/HPC execution. Requires the seqera MCP (mcp__seqera__* tools) — declared in allowed-tools.
  • migrate-nextflow-code — migrates pipeline code to newer language features.

When editing one skill, check the others for consistency: cross-references (the Skill delegation table in create-workflow), the shared "Nextflow 26.04+" requirement line, and the Wave+Conda nextflow.config block all appear in more than one file and must stay in sync.

Conventions that recur across skills (preserve these when editing)

  • Terminology: modules come from the Nextflow Registry. nf-core is one namespace among many (e.g. nf-core/fastqc) — don't equate the Registry with nf-core.
  • Never write wrapper workflows to test a single module — run-module and create-workflow both forbid this emphatically. Use nextflow module run / nextflow module view instead. Don't soften this guidance.
  • Module include syntax: prefer Nextflow-managed includes (from 'nf-core/module', no ./ prefix) over local file paths.
  • Calendar versioning: Nextflow uses YY.MM.PATCH, not semver — 26.04.0 is newer than 25.10.1. Use NXF_VER to pin, NXF_EDGE for the edge channel.
  • Each skill ends with a numbered Critical Rules section that restates its non-negotiable behaviors; new behavioral requirements belong there.

Editing skills

  • Frontmatter description: is the trigger text the agent matches against — it must clearly state when to invoke the skill. allowed-tools: gates which tools the skill may use; add a tool here before relying on it.
  • After editing GitHub Actions workflows (if any are added), run npx actions-up and zizmor to harden them.

Local testing

claude --plugin-dir /path/to/agent-skills

Loads the plugin without installing it from the marketplace.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.