
megalinter
π¦ MegaLinter analyzes 50 languages, 22 formats, 21 tooling formats, excessive copy-pastes, spelling mistakes and security issues in your repository sourcesβ¦
Install with your AI
Paste into Claude Code, Cursor, or any agent β it reads the repo and wires the tool into your project.
Install and set up megalinter (claude-plugin project) into my current project. Found on https://claudeers.com/megalinter Repo: https://github.com/oxsecurity/megalinter Homepage/docs: http://megalinter.io/ Detected install method: claude-plugin β /plugin install megalinter@oxsecurity/megalinter Category: uncategorized. Platforms: cli, api, web, mobile. Read the repo's README for exact setup and env vars, then install it and wire it into my project. Claudeers Health Verdict: unknown; community-verified: false. Confirm the source before running anything.
β Unverified / not recently updated β review before pasting a run-this config.
/plugin marketplace add oxsecurity/megalinter /plugin install megalinter@oxsecurity/megalinter
git clone https://github.com/oxsecurity/megalinter
// compatibility
| Platforms | cli, api, web, mobile |
|---|---|
| Operating systems | β |
| AI compatibility | claude |
| License | AGPL-3.0 |
| Pricing | open-source |
| Language | Dockerfile |
MegaLinter, by 
MegaLinter is an open-source tool for CI/CD workflows that analyzes the consistency of your code, IaC, configuration, and scripts in your repository to ensure all your project sources are clean and formatted, no matter which IDE or toolbox is used by your developers. Powered by OX Security.
Supports 67 languages, 23 formats, 22 tooling formats, and is ready to use out of the box as a GitHub Action or with any CI system. It is highly configurable and free for all uses.
MegaLinter has native integrations with popular CI/CD tools and is compliant with most Coding Agents.

- Use the new LLM Advisor that will tell you how to fix linters issues
- Create your own MegaLinter Custom Flavors to improve performance
Before you go further, see the online documentation website, which offers much easier navigation than this README
Why MegaLinter
Projects need to contain clean code in order to avoid technical debt, which makes ongoing maintenance harder and more time-consuming.
By using code formatters and code linters, you ensure that your codebase is easier to read and follows best practices, from kickoff through each step of the project lifecycle.
Not all developers use linters in their IDEs, which makes code reviews harder and longer to process.
By using MegaLinter, you'll enjoy the following benefits for your team:
- At each pull request, it automatically analyzes all updated code across all languages.
- By reading error logs, developers learn best practices for the languages they use.
- The MegaLinter documentation provides a list of IDE plugins for each linter, so developers know which linter and plugins to install.
- MegaLinter works out of the box after a quick setup.
- Formatting and fixes can be automatically applied directly to the Git branch or provided in reports.
- This tool is 100% open source and free for all uses (personal, professional, public, and private repositories).
- MegaLinter can run on any CI tool and be run locally: no need to authorize an external application, and your codebase never leaves your tooling ecosystem.
Join a continuously growing community: MegaLinter Docker images are pulled hundreds of thousands of times every month.
Quick Start
- With a coding agent: install the MegaLinter agent skills with
npx skills add oxsecurity/megalinter/skills, then ask your agent to "setup megalinter". - Or with the interactive wizard: run
npx mega-linter-runner --installto generate configuration files (you need Node.js installed). - Commit, push, and create a pull request.
- Watch!

Notes:
- This repo is a hard fork of GitHub Super-Linter, rewritten in Python to add many additional features.
- If you are a Super-Linter user, you can transparently switch to MegaLinter and keep the same configuration (just replace
super-linter/super-linter@v3withoxsecurity/megalinter@v10in your GitHub Action YAML file, like on this PR). - If you want to use MegaLinter's extra features (recommended), please take 5 minutes to use the assisted installation.
- For a beginner-friendly example of getting started with MegaLinter, check out this blog post by Alec Johnson.
Coding Agents
MegaLinter is designed to work hand in hand with your coding agent:
Get started
Install the MegaLinter agent skills at the root of your repository:
With Claude Code (the skills are copied directly into .claude/skills/):
npx skills add oxsecurity/megalinter/skills -s '*' -a claude-code -y
With another coding agent, replace claude-code with your agent's identifier (cursor, github-copilot, codex, antigravity, opencode... full list in the skills CLI documentation) β or let the CLI detect your installed agents and install the skills for all of them at once:
npx skills add oxsecurity/megalinter/skills -s '*' -y --copy
Then just talk to your agent:
- "Setup MegaLinter on this repo"
- "Run MegaLinter and fix the errors"
- "Why is the MegaLinter CI job failing? Fix it"
What the skills do
| Skill | Role |
|---|---|
| megalinter | Entry point: detects the repository state and orchestrates the other skills in a check β fix β re-check loop (3 iterations max) |
| megalinter-setup | Installs or upgrades MegaLinter using npx mega-linter-runner --install (non-interactive), then refines .mega-linter.yml |
| megalinter-check | Collects errors: watches a MegaLinter CI job (GitHub Actions, GitLab CI, Azure Pipelines, Bitbucket Pipelines) or runs MegaLinter locally with docker/podman |
| megalinter-fix | Fixes errors guided by a per-linter fix guide (one for each of the 124 linters, loaded only when its linter has errors), asks you before disabling rules or pushing |
Sub-agents orchestration
On agents supporting sub-agents (Claude Code, OpenCode, GitHub Copilot custom agents...), megalinter-setup installs three sub-agents that keep large CI logs and linter outputs out of your main agent's context, and run on low-cost models when possible:
flowchart TD
U(["π€ You: <i>run megalinter and fix the errors</i>"]) --> O["π― megalinter<br/>(orchestrator skill)"]
O -->|"no config found"| S["π οΈ megalinter-setup"]
S -->|"npx mega-linter-runner --install"| CFG[/".mega-linter.yml<br/>+ CI workflow"/]
O --> C["π megalinter-check"]
C -->|"watch mode"| W[["π megalinter-watcher<br/>sub-agent, low-cost model"]]
W --> CI[/"CI job logs<br/>GitHub / GitLab / Azure / Bitbucket"/]
C -->|"local mode"| RUN[["π³ megalinter-runner<br/>sub-agent, low-cost model"]]
RUN --> IMG[/"MegaLinter Docker image<br/>docker or podman"/]
W --> ERR[/"π Compact error list<br/>grouped by linter"/]
RUN --> ERR
ERR --> F["π§ megalinter-fix"]
F -->|"one sub-agent per failing linter,<br/>in parallel"| FX1[["π€ megalinter-fixer<br/>+ python_ruff fix guide"]]
F --> FX2[["π€ megalinter-fixer<br/>+ markdown_markdownlint fix guide"]]
FX1 --> RES[/"βοΈ Fixed files<br/>+ proposed rule disables"/]
FX2 --> RES
RES -->|"you confirm disables"| RC["β»οΈ Targeted re-check<br/>parallel standalone linter images"]
RC -->|"errors remain (max 3 loops)"| F
RC -->|"clean"| DONE(["β
Commit on a branch<br/>(never on main)"])
classDef user fill:#e8f5e9,stroke:#2e7d32,stroke-width:2px,color:#1b5e20
classDef skill fill:#ede7f6,stroke:#5e35b1,stroke-width:2px,color:#311b92
classDef subagent fill:#e3f2fd,stroke:#1976d2,stroke-width:2px,color:#0d47a1
classDef artifact fill:#fff8e1,stroke:#f9a825,stroke-width:1px,color:#5d4037
classDef recheck fill:#e0f2f1,stroke:#00897b,stroke-width:2px,color:#004d40
class U,DONE user
class O,S,C,F skill
class W,RUN,FX1,FX2 subagent
class CFG,CI,IMG,ERR,RES artifact
class RC recheck
The fix guides combine information generated from the linter descriptors (auto-fix support, rules documentation URLs, MegaLinter tuning variables) with curated fix, inline-disable and ignore instructions grounded in each linter's official documentation.
Safety rules
- Safe fixes are applied automatically; ambiguous ones are asked to you
- Disabling a linter or a rule always requires your confirmation
- Commits are never pushed to the default branch
See also the installation page for coding agents, or install everything at once as an agent plugin.
Supported Linters
All linters are integrated into the MegaLinter Docker image, which is frequently updated with their latest versions.
Languages
// faq
What is megalinter?
π¦ MegaLinter analyzes 50 languages, 22 formats, 21 tooling formats, excessive copy-pastes, spelling mistakes and security issues in your repository sources with a GitHub Action, other CI tools or locally.. It is open-source on GitHub.
Is megalinter free to use?
megalinter is open-source under the AGPL-3.0 license, so it is free to use.
What category does megalinter belong to?
megalinter is listed under uncategorized in the Claudeers registry of Claude-compatible tools.
// embed badge
[](https://claudeers.com/megalinter)
// retro hit counter
[](https://claudeers.com/megalinter)
// reviews
// guestbook
// related in Uncategorized / Others
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
The agent engineering platform.
FULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Qβ¦
100+ AI Agent & RAG apps you can actually run β clone, customize, ship.