# sonar-list-projects

> Claude/Codex skill by [@sonarsource](https://omgskills.com/library/sonarsource/index.md) · 113 stars · Updated 2026-10-22

List SonarQube projects accessible to the current user

Tags: agent, ai, sonarqube

## Install

```sh
git clone https://github.com/SonarSource/sonarqube-agent-plugins /tmp/sonarqube-agent-plugins && ln -s /tmp/sonarqube-agent-plugins/skills/sonar-list-projects ~/.claude/skills/sonar-list-projects
```

## From README

SonarQube — List Projects List SonarQube projects accessible to the authenticated user. Useful for discovering project keys before running other skills. Prerequisites This skill uses the sonarqube-cli command. The CLI must be installed and authenticated before proceeding. Before proceeding, verify that sonar is available on your PATH and authenticated. If it is not, do not attempt to call any alternative commands or invent alternatives, and show the user: Unable to list projects. Possible causes: sonarqube-cli not installed or not authenticated — invoke the sonar-integrate skill Then ask the user (yes/no) whether to run the sonar-integrate skill now. Briefly explain what it does: it checks the SonarQube on their machine — installing or updating sonarqube-cli and verifying authentication — and re-configures the integration for this agent, including the SonarQube MCP server and secrets-scanning hooks.

## Links

- HTML page: https://omgskills.com/library/sonarsource/sonarqube-agent-plugins/skills/sonar-list-projects/
- GitHub: https://github.com/SonarSource/sonarqube-agent-plugins
- Author: [@sonarsource](https://omgskills.com/library/sonarsource/index.md)

## More from this repo

- [sonar-analyze](https://omgskills.com/library/sonarsource/sonarqube-agent-plugins/skills/sonar-analyze/index.md) — Used to analyze a file for quality and security issues using SonarQube
   - [@sonarsource](https://omgskills.com/library/sonarsource/index.md) · 113 stars
- [sonar-coverage](https://omgskills.com/library/sonarsource/sonarqube-agent-plugins/skills/sonar-coverage/index.md) — Used to find files with low test coverage and inspect uncovered lines in a SonarQube project (project key optional when...
   - [@sonarsource](https://omgskills.com/library/sonarsource/index.md) · 113 stars
- [sonar-dependency-risks](https://omgskills.com/library/sonarsource/sonarqube-agent-plugins/skills/sonar-dependency-risks/index.md) — Used to search for software composition analysis (SCA) dependency risks in a SonarQube project (project key optional...
   - [@sonarsource](https://omgskills.com/library/sonarsource/index.md) · 113 stars
