# sonarqube — Agent Skill

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).

## Install

### How to install sonarqube in Claude Code

1. Add the marketplace

```claude
/plugin marketplace add anthropics/claude-plugins-official
```

2. Install the skill

```claude
/plugin install sonarqube@claude-plugins-official
```

3. Use 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 Desktop

1. Clone the source

```bash
git clone https://github.com/SonarSource/sonarqube-agent-plugins.git
```

2. Add 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 Cursor

1. Clone the source

```bash
git clone https://github.com/SonarSource/sonarqube-agent-plugins.git
```

2. Convert 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 CLI

1. Clone the source

```bash
git clone https://github.com/SonarSource/sonarqube-agent-plugins.git
```

2. Reference 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 Windsurf

1. Clone the source

```bash
git clone https://github.com/SonarSource/sonarqube-agent-plugins.git
```

2. Add 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 Cline

1. Clone the source

```bash
git clone https://github.com/SonarSource/sonarqube-agent-plugins.git
```

2. Add 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 Code

1. Clone the source

```bash
git clone https://github.com/SonarSource/sonarqube-agent-plugins.git
```

2. Add to your rules / context

   Paste the SKILL.md instructions into this tool's custom rules or workspace instructions so the agent follows them.

Source: https://github.com/SonarSource/sonarqube-agent-plugins

---

Source: https://mcp-skills-hub.vercel.app/skills/sonarqube · MCP Skills Hub · data as of 2026-10-28T12:31:05Z
