sonarqube — Agent Skill
by SonarSource · Updated
Automatically enforce SonarQube code quality and security in the agent coding loop — 7,000+ rules, secrets scanning, agentic analysis, and quality gates across 40+ languages. PostToolUse hooks run analysis after every file edit. Pre-tool secrets scanning prevents 450+ patterns from reaching the LLM. Slash commands giv…
At a glance
sonarqube is an Agent Skill by SonarSource in the Data & Analysis category. In Claude Code it installs with `/plugin install sonarqube@claude-plugins-official` after adding the anthropics/claude-plugins-official marketplace; other assistants use its SKILL.md instructions as rules. Its source repository has 114 GitHub stars (as of Oct 28, 2026).
How to install sonarqube in your AI client
Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.
How to install sonarqube in Claude CodeAnthropic's agentic CLI
Add the marketplace
claude/plugin marketplace add anthropics/claude-plugins-officialInstall the skill
claude/plugin install sonarqube@claude-plugins-officialUse it
These are slash commands for a Claude Code session, not your shell. Claude auto-invokes the skill when your request matches its description — or type its slash command if it exposes one.
How to install sonarqube in Claude DesktopDesktop app (MCP config)
Clone the source
bashgit clone https://github.com/SonarSource/sonarqube-agent-plugins.gitAdd the SKILL.md to your Skills folder
Settings → Capabilities → Skills → add the folder containing SKILL.md. Claude picks it up automatically.
How to install sonarqube in CursorAI-first code editor
Clone the source
bashgit clone https://github.com/SonarSource/sonarqube-agent-plugins.gitConvert to a Cursor rule
Create .cursor/rules/sonarqube.mdc and paste the SKILL.md body. Set `alwaysApply` or a glob so the Agent loads it in context.
How to install sonarqube in Codex CLIOpenAI coding agent
Clone the source
bashgit clone https://github.com/SonarSource/sonarqube-agent-plugins.gitReference in AGENTS.md
Add the skill's instructions (or a link) to AGENTS.md at your repo root — Codex reads it on every run.
How to install sonarqube in WindsurfCodeium's agentic IDE
Clone the source
bashgit clone https://github.com/SonarSource/sonarqube-agent-plugins.gitAdd to your rules / context
Paste the SKILL.md instructions into this tool's custom rules or workspace instructions so the agent follows them.
How to install sonarqube in ClineVS Code autonomous agent
Clone the source
bashgit clone https://github.com/SonarSource/sonarqube-agent-plugins.gitAdd to your rules / context
Paste the SKILL.md instructions into this tool's custom rules or workspace instructions so the agent follows them.
How to install sonarqube in VS CodeCopilot / MCP support
Clone the source
bashgit clone https://github.com/SonarSource/sonarqube-agent-plugins.gitAdd to your rules / context
Paste the SKILL.md instructions into this tool's custom rules or workspace instructions so the agent follows them.
Documentation
Full READMESonarQube agent integrations
Made by [Sonar](https://www.sonarsource.com/)
SonarQube is the AI code quality and security verification platform used by millions of developers to catch bugs, vulnerabilities, and leaked secrets. This plugin enforces those standards in the agent coding loop: 7,500+ distinct issue types, secrets scanning, agentic analysis, and quality gates across 40+ languages.
SonarQube combines deterministic checks with AI-assisted workflows so quality rules apply consistently to code from both developers and agents. Where your stack supports it, analysis and secrets scanning can run inside the agent loop instead of only in CI.
What do the plugins include
The Plugin helps agents connect to SonarQube CLI and SonarQube MCP Server for issue detection, checking project metrics such as test coverage and duplications, fetch dependency risks, etc. Claude Code, Copilot CLI, Codex, Antigravity, Devin, Pi, and OpenCode (through SonarQube CLI) install agent hooks for secrets scanning and, when entitled, Vortex analysis.
How to use: Run /sonarqube:sonar-integrate after installation to walk through setup — CLI installation, authentication, and wiring up the MCP Server and hooks. From there, use slash commands like /sonarqube:sonar-quality-gate to check quality gates or interact naturally with prompts like "analyze my code for issues," "show open SonarQube findings," or "check my coverage." With Vortex analysis enabled, verification happens automatically after each edit with no manual invocation required.
Prerequisites
- A SonarQube account (SonarQube Cloud, Server, or Community Build). Some features (for example Vortex analysis) depend on your SonarQube Cloud organization settings.
- [SonarQube CLI](https://cli.sonarqube.com/) (
sonar) on your machine. - A container runtime (Docker, Podman, or Nerdctl) for the MCP server image.
Authenticate once with `sonar auth login` (browser flow; credentials stay in your OS keychain). The MCP server uses that login.
Check auth anytime:
sonar auth statusHow plugins connect to SonarQube
Excerpt — the full document is on GitHub.
More Data & Analysis skills
- Data & Analysis45k
ruby lsp
Ruby language server for code intelligence and analysis
Claude Plugins (Official)by anthropics
- Data & Analysis45k
rust analyzer lsp
Rust language server for code intelligence and analysis
Claude Plugins (Official)by anthropics
- Data & Analysis45k
skill creator
Create new skills, improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, update or optimize an existing skill, run evals to test a skill, or benchmark skill performance with variance analysis.
Claude Plugins (Official)by anthropics
- Data & Analysis19k
deepeval
Skills for adding DeepEval evaluations, tracing, datasets, Confident AI reports, and iterative improvement loops to AI applications.
Claude Plugins (Official)by confident-ai
- Data & Analysis11k
huggingface skills
Build, train, evaluate, and use open source AI models, datasets, and spaces.
Claude Plugins (Official)by huggingface
- Data & Analysis5.2k
exa
Exa AI web search, deep research, and content extraction. Provides MCP tools and research skills for comprehensive web search, people discovery, company research, academic papers, and more.
Claude Plugins (Official)by exa-labs
Catalog data refreshed . Something wrong? Report it.