Agent skill

Megalinter

by nvuillam in nvuillam/npm-groovy-lint

Entry point for everything MegaLinter. An agent skill from nvuillam/npm-groovy-lint.

MITAuto-check: notesDevelopment

Install Megalinter

skills CLI
$ npx skills add nvuillam/npm-groovy-lint --skill megalinter -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install nvuillam/npm-groovy-lint megalinter --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/nvuillam/npm-groovy-lint.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/megalinter .claude/skills/megalinter && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
megalinter
GitHub stars
248
Used in
1 other repo
Token cost
~915 tokens
SKILL.md length
414 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

Entry point for everything MegaLinter. An agent skill from nvuillam/npm-groovy-lint.

  • Works in 6 steps: Detect repository state → Collect errors with the megalinter-check… → If errors were found, run the… → …
  • The user wants to lint their repository
  • SKILL.md covers Workflow, Rules and Optimization: sub-agents…
  • Calls npx

What it does

Megalinter is an agent skill from nvuillam/npm-groovy-lint. Entry point for everything MegaLinter. Use when the user wants to lint their repository, set up MegaLinter, check or fix lint errors, make CI lint jobs pass, or says "run megalinter", "fix lint errors", "make the linters happy", "clean up code quality". Detects the repository state and orchestrates the megalinter-setup, megalinter-check and megalinter-fix skills in a loop until the repository is clean.

Its SKILL.md is about 920 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Linting and formatting. It works with Docker. The repository describes itself as: Lint, format and auto-fix your Groovy / Jenkinsfile / Gradle files using command line. The licence is MIT.

When your agent uses it

  • The user wants to lint their repository
  • Set up MegaLinter
  • Fix lint errors
  • Make CI lint jobs pass

Example prompts

  • “run megalinter”
  • “fix lint errors”
  • “make the linters happy”
  • “/megalinter”

Requirements

  • Node.js
  • Docker
  • Pre-approved tools (allowed-tools): Bash, Read, Grep, Glob, Skill, Agent, AskUserQuestion

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Detect repository state
  2. Collect errors with the megalinter-check skill
  3. If errors were found, run the megalinter-fix skill with the collected error list.
  4. Re-check: after fixes, run megalinter-check again — in local mode, prefer its targeted re-check (parallel standalone linter runs…
  5. Repeat steps 3-4 at most 3 times. If errors remain after 3 iterations, stop and report the remaining errors with your recommendation (fix…
  6. Performance: if megalinter-check reported slow_linters (even on a green run), relay its performance suggestions to the user at the end of…

What it can do on your machine

Read from SKILL.md and the folder at commit 2080dff. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Grep
    • Glob
    • Skill
    • Agent
    • AskUserQuestion

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Megalinter loads about 915 tokens when it runs. Until then it costs about 104 tokens; SKILL.md has 414 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~104
When it runs · the whole SKILL.md, loaded when a task matches
~915

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Grep, Glob, Skill, Agent, AskUserQuestion

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from nvuillam/npm-groovy-lint at commit 2080dff, republished under its MIT licence (© nvuillam). 414 words, ~915 tokens.

Download SKILL.mdSave it as .claude/skills/megalinter/SKILL.md (or your agent's skills folder).
name
megalinter
description
Entry point for everything MegaLinter. Use when the user wants to lint their repository, set up MegaLinter, check or fix lint errors, make CI lint jobs pass, or says "run megalinter", "fix lint errors", "make the linters happy", "clean up code quality". Detects the repository state and orchestrates the megalinter-setup, megalinter-check and megalinter-fix skills in a loop until the repository is clean.
allowed-tools
Bash, Read, Grep, Glob, Skill, Agent, AskUserQuestion
argument-hint
[request, e.g. 'run megalinter and fix the errors' or 'make the CI lint job pass']
user-invocable
true
licence
MegaLinter by OX Security, Copyright 2026 - https://megalinter.io/

MegaLinter orchestrator

You orchestrate MegaLinter on this repository. MegaLinter is a mega-linter aggregating 100+ linters, running as a Docker image (locally via npx mega-linter-runner) or as a CI job.

Workflow

  1. Detect repository state:
    • No .mega-linter.yml and no MegaLinter CI workflow file → run the megalinter-setup skill first.
    • Configuration present → go to step 2.
  2. Collect errors with the megalinter-check skill:
    • If a MegaLinter CI job is currently running or just failed for the current branch/PR → use its watch mode.
    • Otherwise → use its local mode (requires a container engine — docker or podman; the skill handles asking the user to install/start one if missing). Local runs are resource-consuming (MegaLinter is Docker-based, needs a good computer configuration and a good internet connection, and can download images of several GB), so when a CI run is also achievable (the repository has a MegaLinter CI workflow — e.g. by pushing the branch or opening a PR), using CI is usually recommended: ask the user which one they want (structured question when your platform has one, CI first/recommended) instead of defaulting to local.
  3. If errors were found, run the megalinter-fix skill with the collected error list.
  4. Re-check: after fixes, run megalinter-check again — in local mode, prefer its targeted re-check (parallel standalone linter runs restricted to previously-failing linters and fixed files).
  5. Repeat steps 3-4 at most 3 times. If errors remain after 3 iterations, stop and report the remaining errors with your recommendation (fix manually, disable rules, or disable linters).
  6. Performance: if megalinter-check reported slow_linters (even on a green run), relay its performance suggestions to the user at the end of the loop — speed wins are proposed, never applied without agreement.
Show full SKILL.md (137 more words)Show less

Rules

  • Never commit or push on the default branch (main/master): create a branch like megalinter/fix-<topic> first.
  • Ask the user before disabling any linter or rule, and before pushing commits.
  • Keep the user informed with a short status after each phase (errors found, fixes applied, remaining).

Optimization: sub-agents (Claude Code and compatible agents)

If your environment supports spawning sub-agents (e.g. a Task/Agent tool) and the megalinter-watcher, megalinter-runner, megalinter-fixer agent definitions are installed (the megalinter-setup skill installs them in your platform's agents folder, e.g. .claude/agents/, .opencode/agent/, .github/agents/):

  • Delegate CI watching to megalinter-watcher and local runs to megalinter-runner — they keep the large logs out of your context and return only a compact error list.
  • Fan out one megalinter-fixer per failing linter to fix several linters in parallel.

If sub-agents are not available, perform every step inline following the skill instructions.

© nvuillam, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/megalinter of nvuillam/npm-groovy-lint.

Open the folder on GitHubat commit 2080dff

Used in 2 other repositories

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in nvuillam/npm-groovy-lint, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Megalinter next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Megalinter compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Megalinter this skillnvuillam/npm-groovy-lint2481 repos~915Automated safety check: NotesMIT
Golang Continuous Integrationsamber/cc-skills-golang3.4k—~3.7kAutomated safety check: PassMIT
Debug CIweb-infra-dev/rslint460—~2.8kAutomated safety check: PassMIT
Kouchou AI Developmentdigitaldemocracy2030/kouchou-ai171—~540Automated safety check: NotesAGPL-3.0
Verifygocronx-team/gocron808—~529Automated safety check: PassMIT
Dev Verifyclassmethod/tsumiki974—~848Automated safety check: PassMIT

Similar skills

  • Golang Continuous Integration

    samber/cc-skills-golang

    GitHub Actions CI/CD pipeline configuration for Golang projects — workflow files for test, lint, SAST, coverage and vulnerability-scan jobs, Dependabot and Renovate config files, GoReleaser release…

    3.4k GitHub stars~3.7k tokensUpdated 7 days ago
    DevelopmentAuto-check passed
  • Debug CI

    web-infra-dev/rslint

    Reproduce Linux CI failures locally using Docker when the same tests pass on the host, especially Go platform differences and VS Code extension tests requiring xvfb.

    460 GitHub stars~2.8k tokensUpdated today
    DevelopmentAuto-check passed
  • Kouchou AI Development

    digitaldemocracy2030/kouchou-ai

    Local development setup, build and lint commands, environment configuration, and deployment helpers for the kouchou-ai repo.

    171 GitHub stars~540 tokensUpdated today
    DevelopmentAuto-check: notes
  • Verify

    gocronx-team/gocron

    Reproduce the complete gocron CI pipeline locally and report every result.

    808 GitHub stars~529 tokensUpdated 5 days ago
    DevelopmentAuto-check passed
  • Dev Verify

    classmethod/tsumiki

    This skill should be used when the user asks to "dev-verify", "実装の検証", "完了チェック", "verify implementation", "全テスト実行", "run all tests", "dev-verify auth".

    974 GitHub stars~848 tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Authors bioinformatics pipelines in WDL (Workflow Description Language) run by Cromwell or miniwdl, targeting the GATK/Broad and Terra/AnVIL/BioData Catalyst cloud ecosystem, with tasks, workflows…

    1.2k GitHub starsUsed in 1 repo~3.5k tokens
    DevelopmentAuto-check passed

More from nvuillam/npm-groovy-lint

  • Megalinter Check

    nvuillam/npm-groovy-lint

    Collect MegaLinter lint errors for the current repository. An agent skill from nvuillam/npm-groovy-lint.

    248 GitHub starsUsed in 1 repo~3.9k tokens
    Auto-check: notes
  • Megalinter Setup

    nvuillam/npm-groovy-lint

    Install or upgrade MegaLinter on a repository. An agent skill from nvuillam/npm-groovy-lint.

    248 GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check: notes
  • Upgrade Java Deps

    nvuillam/npm-groovy-lint

    Upgrade CodeNarc and the bundled Java dependencies (jackson, logback, slf4j, janino, GMetrics, Groovy libs) that ship inside lib/java/, rebuild the deterministic CodeNarcServer.jar, and verify…

    248 GitHub stars~1.9k tokensUpdated 4 days ago
    Auto-check: notes
  • Megalinter Fix

    nvuillam/npm-groovy-lint

    Fix the errors reported by MegaLinter. An agent skill from nvuillam/npm-groovy-lint.

    248 GitHub starsUsed in 1 repo~1.2k tokens
    Auto-check: notes
  • PR Watch Fix

    nvuillam/npm-groovy-lint

    Watch the GitHub PR for the current branch, wait for CI to finish, and autonomously fix failing jobs by reading logs, editing sources, and pushing.

    248 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check: notes

Works with

Categories

Questions about Megalinter

What does Megalinter do?

Entry point for everything MegaLinter. An agent skill from nvuillam/npm-groovy-lint. Megalinter is an agent skill from nvuillam/npm-groovy-lint. Entry point for everything MegaLinter.

When should I use Megalinter?

Megalinter fits situations like: the user wants to lint their repository; set up MegaLinter; fix lint errors; make CI lint jobs pass.

How do I install Megalinter in Claude Code?

Run `npx skills add nvuillam/npm-groovy-lint --skill megalinter -a claude-code`. Or copy the skill folder (.claude/skills/megalinter in nvuillam/npm-groovy-lint) into .claude/skills/megalinter in your project. Claude Code loads it when a task matches its description.

How do I install Megalinter in Codex?

Run `npx skills add nvuillam/npm-groovy-lint --skill megalinter -a codex`. Or copy the skill folder (.claude/skills/megalinter in nvuillam/npm-groovy-lint) into .agents/skills/megalinter in your project. Codex loads it when a task matches its description.

Can I use Megalinter in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nvuillam/npm-groovy-lint --skill megalinter -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/megalinter, .gemini/skills/megalinter, .github/skills/megalinter and .opencode/skills/megalinter in your project.

What does Megalinter need to run?

Going by SKILL.md and its folder, Megalinter needs the command-line tools its instructions call (npx). Our summary lists: Node.js; Docker. Its frontmatter pre-approves these tools: Bash, Read, Grep, Glob, Skill, Agent, AskUserQuestion.

Does Megalinter access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Megalinter safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Megalinter use?

Megalinter is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Megalinter use?

About 915 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Megalinter?

Skills that share tags, products or a category with Megalinter: Golang Continuous Integration (samber/cc-skills-golang, 3.4k stars), Debug CI (web-infra-dev/rslint, 460 stars), Kouchou AI Development (digitaldemocracy2030/kouchou-ai, 171 stars) and Verify (gocronx-team/gocron, 808 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Megalinter?

nvuillam (a GitHub user) maintains it in nvuillam/npm-groovy-lint, which has 248 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 4, 2026.

Source: nvuillam/npm-groovy-lint on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.