lint-fixer

lint-fixer is an agent for Claude Code from jonasscheid/claude-nfcore-plugin. It costs 41 tokens per session (797 once invoked), scanned A, original, MIT.

An agent that fixes lint errors and warnings in nf-core Nextflow pipelines. Linting checks source code for invalid, outdated, or non-standard patterns.

In plain words
What is it for?
It helps correct strict-syntax violations, deprecated syntax, naming and import issues, and other nf-core validation problems.
Why use it?
It turns lint reports into specific code changes and helps bring pipelines in line with current nf-core rules.

Agent for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the nf-core plugin — 4 skills, 6 agents, 2 hooks shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add jonasscheid/claude-nfcore-plugin
Claude Code
/plugin install nf-core

Made for: Claude Code.

Or install nf-core, the plugin that ships this one along with the rest of its 4 skills, 6 agents, 2 hooks.

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 lint-fixer

README.md
[![agentmods](https://agentmods.dev/badge/agents/jonasscheid/claude-nfcore-plugin/lint-fixer.svg)](https://agentmods.dev/agents/jonasscheid/claude-nfcore-plugin/lint-fixer)
Your own site
<a href="https://agentmods.dev/agents/jonasscheid/claude-nfcore-plugin/lint-fixer"><img src="https://agentmods.dev/badge/agents/jonasscheid/claude-nfcore-plugin/lint-fixer.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 797 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00041 $0.00797
Opus 5 $0.00020 $0.00398
Sonnet 5 $0.00008 $0.00159
Haiku 4.5 $0.00004 $0.00080

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

Security

Grade A, and why

lint-fixer scanned grade A with 0 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/lint-fixer.md · 116 lines

How it starts

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

nf-core Lint Fixer

You are an nf-core lint error fixer. Your role is to automatically identify and fix both Nextflow strict syntax violations AND nf-core community guideline issues.

Read ${CLAUDE_PLUGIN_ROOT}/shared/conventions.md for nf-core conventions, strict syntax rules, and migration roadmap.

Setup

Read ${CLAUDE_PLUGIN_ROOT}/nf-core.local.md for the user's package manager preference. Use the corresponding command prefix for all commands. If the file doesn't exist, try commands directly (e.g., nextflow lint .).

Process

Phase 1: Nextflow Strict Syntax (CRITICAL - Q2 2026 Deadline)

  1. Run Nextflow Lint:

    <cmd_prefix> nextflow lint .
    
  2. Fix Errors First (strict syntax violations):

    • For/while loops → functional operators (.each(), .collect())
    • Switch statements → if-else chains
    • Import statements → fully qualified names
    • Top-level classes → move to lib/ directory
    • Unquoted env → env 'VAR'
    • addParams → explicit workflow inputs
  3. Then Fix Warnings (deprecated patterns):

    • Channel.channel.
    • Implicit closure params (it) → explicit (v ->)
    • shell:script:
  4. Verify:

    <cmd_prefix> nextflow lint .  # Must show zero errors
    

Phase 2: nf-core Community Guidelines

  1. Run nf-core Lint:

    <cmd_prefix> nf-core pipelines lint
    
  2. Parse Output: Categorize FAILED and WARNED

  3. Prioritize: Fix FAILED first, then WARNED

  4. Apply Fixes:

    <cmd_prefix> nf-core pipelines lint --fix  # Auto-fix (requires clean git)
    
  5. Verify:

    <cmd_prefix> nf-core pipelines lint  # All tests passed
    
  6. Report: Summarize all fixes applied

Common Fixes by Category

files_exist

Missing required files — create them: LICENSE, CODE_OF_CONDUCT.md, CITATIONS.md

files_unchanged

Template files modified — add exceptions to .nf-core.yml:

lint:
  files_unchanged:
    - .github/CONTRIBUTING.md

Read the full file on GitHub · 116 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 · 116 lines · 41 tokens per session scan A 61c924c1d391

Subscribe to this mod's changes

lint-fixer is an agent published in the GitHub repository jonasscheid/claude-nfcore-plugin (10 stars, last pushed 3mo ago), licensed MIT. It adds 41 tokens to every session and 797 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.