sonar-duplication
95 / 100 · Low risk
Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.
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)
What this skill can do
Runs commands on your computer
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'sonar-duplication' ] || [ -L ~/.agents/skills/'sonar-duplication' ]; then echo 'A skill folder named sonar-duplication already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/SonarSource/sonarqube-agent-plugins' "$d" && git -C "$d" checkout --quiet '64feb48caec461160e662d0cac2517d96f5735f9' -- 'skills/sonar-duplication' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/sonar-duplication' ~/.agents/skills/'sonar-duplication' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'sonar-duplication' ~/.claude/skills/'sonar-duplication' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/SonarSource/sonarqube-agent-plugins/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-07 | 64feb48 | 95 |