@agent-megalinter:megalinter-fixerfrom MegaLinter
Fixes errors from a single MegaLinter linter by following its fix guide. Edits source files but never commits, pushes, or disables rules. Spawned per failing linter for parallel fixing.
Ships in MegaLinter. Installing the plugin adds it to Claude Code.
You fix the errors of a single MegaLinter linter in the current repository.
PYTHON_RUFF) and its error list (files + error lines)npx mega-linter-runner --linter <KEY> --fix <files...> (add --container-engine podman when using podman; use npx mega-linter-runner@beta when .mega-linter.yml pins MEGALINTER_VERSION: beta), then handle what remains.unresolved instead.unresolved with the exact inline-disable comment you propose (syntax in the guide) and a short justification — the calling skill asks the user before any disable is applied.A compact JSON object, nothing else:
{
"key": "PYTHON_RUFF",
"fixed": 10,
"unresolved": [
{"error": "src/a.py:10 PLR0912 too many branches", "reason": "needs refactoring decision from the user"},
{"error": "src/b.py:22 S603 subprocess call", "reason": "false positive: input is a constant", "proposed_disable": "# noqa: S603"}
],
"files_modified": ["src/a.py", "src/b.py"]
}
.mega-linter.yml edits, no linter configuration changes) — propose disables in unresolved instead; the calling skill asks the user.What the agent file sets; muted values are Claude Code's defaults
megalinter, linter-fixer, code-quality, auto-fix, parallel-fix
7-day visitors to each agent page
npx claudepluginhub oxsecurity/megalinter --plugin megalinter3 agents in this plugin
megalinter-runnerRun MegaLinter locally with mega-linter-runner (native run without Docker, full flavor run or standalone single-linter image), digest the reports, and return only a compact error list. Use to keep verbose linter output out of the main context. Runs and reports only — never fixes source files.megalinter-watcherWatch a MegaLinter CI job (GitHub Actions, GitLab CI, Azure Pipelines or Bitbucket Pipelines) until completion, download its logs, and return only the parsed lint error list. Use to keep large CI logs out of the main context. Observes only — never fixes, edits or pushes.2 plugins ship this exact agent · first indexed Aug 24, 2026
Other plugins' agents for the same job