AI Agent Plugins by Sonar
npx claudepluginhub sonarsource/sonarqube-agent-pluginsSonarQube 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.
This repository bundles SonarQube-related plugins and configuration for AI agents:
| Surface | Location | Notes |
|---|---|---|
| Claude Code | .claude-plugin/, commands/, skills/integrate/, hooks/, scripts/ | Slash commands, /sonarqube:integrate skill, SessionStart check; MCP and secrets-scanning hooks are registered by sonarqube-cli (sonar integrate claude) |
| Gemini | gemini-extension.json, GEMINI.md | Gemini extension + MCP user context |
| Kiro | kiro-power/ | Power definition and mcp.json for Kiro |
Integrate SonarQube code quality and security analysis into Claude Code: namespaced slash commands, a guided /sonarqube:integrate skill, and a startup check for the CLI and wiring.
MCP server registration and secrets-scanning hooks are installed on your machine by sonarqube-cli when you run sonar integrate claude during setup (the plugin bundle does not ship an .mcp.json; the CLI writes the config Claude Code loads).
sonar integrate claude)sonar integrate claude to limit secret exposure to the agentIn Claude Code, register this repository as a plugin marketplace, install the sonarqube plugin, then reload:
/plugin marketplace add SonarSource/sonarqube-agent-plugins
/plugin install sonarqube@sonar
Then start a new Claude Code session (or otherwise reload the session) so the plugin loads.
The catalog name sonar comes from .claude-plugin/marketplace.json; the plugin id sonarqube comes from .claude-plugin/plugin.json. Alternatively, run /plugin, open the Discover tab, and install sonarqube from the Sonar marketplace interactively (pick user, project, or local scope as needed).
From a system terminal you can use the same ids (optional --scope):
claude plugin install sonarqube@sonar
Node.js — required to run the SessionStart hook (scripts/setup.js).
sonarqube-cli (sonar) — install it yourself before running /sonarqube:integrate. Agent will also guide you through the installation process:
| Platform | Command |
|---|---|
| macOS / Linux | curl -o- https://raw.githubusercontent.com/SonarSource/sonarqube-cli/refs/heads/master/user-scripts/install.sh | bash |
| Windows (PowerShell) | irm https://raw.githubusercontent.com/SonarSource/sonarqube-cli/refs/heads/master/user-scripts/install.ps1 | iex |
/sonarqube:integrateOnce sonarqube-cli is installed, run the guided setup skill:
/sonarqube:integrate
This will:
Production-ready workflow orchestration with 94 marketplace plugins, 203 local specialized agents, and 175 local skills - optimized for granular installation and minimal token usage
Directory of popular Claude Code extensions including development tools, productivity plugins, and MCP integrations
Curated collection of 154 specialized Claude Code subagents organized into 10 focused categories