Codex Rules Reference
code-yeongyu/oh-my-openagent
Explains how the Codex Rules plugin injects project instructions and file-specific rules into a session, which rule files it reads and which settings control it.
Fix a specific SonarQube issue in code by rule key and location
$ npx skills add SonarSource/sonarqube-agent-plugins --skill sonar-fix-issue -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install SonarSource/sonarqube-agent-plugins sonar-fix-issue --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/SonarSource/sonarqube-agent-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/sonar-fix-issue .claude/skills/sonar-fix-issue && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "sonar-fix-issue" agent skill from https://github.com/SonarSource/sonarqube-agent-plugins/tree/master/skills/sonar-fix-issue into .claude/skills/sonar-fix-issue/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sonar-fix-issue", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/SonarSource/sonarqube-agent-plugins/tree/master/skills/sonar-fix-issueType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add SonarSource/sonarqube-agent-plugins --skill sonar-fix-issue -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install SonarSource/sonarqube-agent-plugins sonar-fix-issue --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SonarSource/sonarqube-agent-plugins.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/sonar-fix-issue .agents/skills/sonar-fix-issue && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "sonar-fix-issue" agent skill from https://github.com/SonarSource/sonarqube-agent-plugins/tree/master/skills/sonar-fix-issue into .agents/skills/sonar-fix-issue/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sonar-fix-issue", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add SonarSource/sonarqube-agent-plugins --skill sonar-fix-issue -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install SonarSource/sonarqube-agent-plugins sonar-fix-issue --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SonarSource/sonarqube-agent-plugins.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/sonar-fix-issue .cursor/skills/sonar-fix-issue && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "sonar-fix-issue" agent skill from https://github.com/SonarSource/sonarqube-agent-plugins/tree/master/skills/sonar-fix-issue into .cursor/skills/sonar-fix-issue/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sonar-fix-issue", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/SonarSource/sonarqube-agent-plugins.git --path skills/sonar-fix-issue--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add SonarSource/sonarqube-agent-plugins --skill sonar-fix-issue -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install SonarSource/sonarqube-agent-plugins sonar-fix-issue --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SonarSource/sonarqube-agent-plugins.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/sonar-fix-issue .gemini/skills/sonar-fix-issue && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "sonar-fix-issue" agent skill from https://github.com/SonarSource/sonarqube-agent-plugins/tree/master/skills/sonar-fix-issue into .gemini/skills/sonar-fix-issue/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sonar-fix-issue", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install SonarSource/sonarqube-agent-plugins sonar-fix-issueInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add SonarSource/sonarqube-agent-plugins --skill sonar-fix-issue -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/SonarSource/sonarqube-agent-plugins.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/sonar-fix-issue .github/skills/sonar-fix-issue && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "sonar-fix-issue" agent skill from https://github.com/SonarSource/sonarqube-agent-plugins/tree/master/skills/sonar-fix-issue into .github/skills/sonar-fix-issue/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sonar-fix-issue", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add SonarSource/sonarqube-agent-plugins --skill sonar-fix-issue -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install SonarSource/sonarqube-agent-plugins sonar-fix-issue --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SonarSource/sonarqube-agent-plugins.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/sonar-fix-issue .opencode/skills/sonar-fix-issue && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "sonar-fix-issue" agent skill from https://github.com/SonarSource/sonarqube-agent-plugins/tree/master/skills/sonar-fix-issue into .opencode/skills/sonar-fix-issue/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sonar-fix-issue", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
sonar-fix-issueFix a specific SonarQube issue in code by rule key and location
Sonar Fix Issue is an agent skill from SonarSource/sonarqube-agent-plugins, published by the product's own GitHub organization. Fix a specific SonarQube issue in code by rule key and location
Its SKILL.md is about 550 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: SonarQube Plugin for AI Agents.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6142e57. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadEditBash(sonar:*)From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Sonar Fix Issue loads about 551 tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 278 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 278 words (~551 tokens).
“Fix a code quality or security issue identified by SonarQube.”
Just SKILL.md in skills/sonar-fix-issue of SonarSource/sonarqube-agent-plugins.
Open the folder on GitHubat commit 6142e57
Sonar Fix Issue next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Sonar Fix Issue this skillSonarSource/sonarqube-agent-plugins | 111 | — | ~551 | Automated safety check: Pass | Custom licence | |
| Codex Rules Referencecode-yeongyu/oh-my-openagent | 70k | — | ~269 | Automated safety check: Pass | Custom licence | |
| Rules Distillationaffaan-m/ECC | 275k | 2 repos | ~2.3k | Automated safety check: Pass | MIT | |
| Triage Sonarqubenetdata/netdata | 81k | — | ~2.8k | Automated safety check: Notes | GPL-3.0 | |
| New Rule for sonar-javaSonarSource/sonar-java | 1.2k | — | ~833 | Automated safety check: Pass | Custom licence | |
| Hookify Rulesaffaan-m/ECC | 275k | — | ~605 | Automated safety check: Notes | MIT |
code-yeongyu/oh-my-openagent
Explains how the Codex Rules plugin injects project instructions and file-specific rules into a session, which rule files it reads and which settings control it.
affaan-m/ECC
Scans installed skills for principles that recur across them and proposes rule-file changes: append, revise, add a section, create a file or leave as covered.
netdata/netdata
Inspect, review, or apply authorized triage decisions to SonarCloud issues and security hotspots; also review the Sonar helpers.
SonarSource/sonar-java
Sets the sonar-java conventions for adding an analyzer rule: metadata from rule-api, test locations, MethodMatchers and what not to commit or change.
affaan-m/ECC
当用户要求创建hookify规则、编写hook规则、配置hookify、添加hookify规则或需要关于hookify规则语法和模式的指导时,应使用此技能。
affaan-m/ECC
スキルをスキャンしてドメイン横断的な原則を抽出し、ルールに蒸留する——既存のルールファイルへの追記、修正、または新規作成
SonarSource/sonarqube-agent-plugins
Analyze a file for quality and security issues using SonarQube
SonarSource/sonarqube-agent-plugins
Find files with low test coverage and inspect uncovered lines in a SonarQube project (project key optional when MCP integration already defines the default project)
SonarSource/sonarqube-agent-plugins
Search for software composition analysis (SCA) dependency risks in a SonarQube project (project key optional when MCP integration already defines the default project)
SonarSource/sonarqube-agent-plugins
Find files with code duplications in a SonarQube project and inspect duplication blocks for a file (project key optional when MCP integration already defines the default project)
SonarSource/sonarqube-agent-plugins
Search and filter SonarQube issues for a project, branch, or pull request via sonarqube-cli (-p is always required on the CLI; resolve the key from user arguments or sonar-project.properties)
SonarSource/sonarqube-agent-plugins
List SonarQube projects accessible to the current user. An agent skill from SonarSource/sonarqube-agent-plugins.
Fix a specific SonarQube issue in code by rule key and location. Sonar Fix Issue is an agent skill from SonarSource/sonarqube-agent-plugins, published by the product's own GitHub organization.
Run `npx skills add SonarSource/sonarqube-agent-plugins --skill sonar-fix-issue -a claude-code`. Or copy the skill folder (skills/sonar-fix-issue in SonarSource/sonarqube-agent-plugins) into .claude/skills/sonar-fix-issue in your project. Claude Code loads it when a task matches its description.
Run `npx skills add SonarSource/sonarqube-agent-plugins --skill sonar-fix-issue -a codex`. Or copy the skill folder (skills/sonar-fix-issue in SonarSource/sonarqube-agent-plugins) into .agents/skills/sonar-fix-issue in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add SonarSource/sonarqube-agent-plugins --skill sonar-fix-issue -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sonar-fix-issue, .gemini/skills/sonar-fix-issue, .github/skills/sonar-fix-issue and .opencode/skills/sonar-fix-issue in your project.
SKILL.md names no scripts, command-line tools or credentials: Sonar Fix Issue is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Edit, Bash(sonar:*).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Sonar Fix Issue has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 551 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Sonar Fix Issue: Codex Rules Reference (code-yeongyu/oh-my-openagent, 70k stars), Rules Distillation (affaan-m/ECC, 275k stars), Triage Sonarqube (netdata/netdata, 81k stars) and New Rule for sonar-java (SonarSource/sonar-java, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
SonarSource (a GitHub organization, an official publisher) maintains it in SonarSource/sonarqube-agent-plugins, which has 111 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 7, 2026.
Source: SonarSource/sonarqube-agent-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.