Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add pproenca/dot-skills --skill sonarqube-ai-slop-gategit clone --depth 1 https://github.com/pproenca/dot-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/pproenca/dot-skills/sonarqube-ai-slop-gate)<a href="https://agentmods.dev/skills/pproenca/dot-skills/sonarqube-ai-slop-gate"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/sonarqube-ai-slop-gate/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/pproenca/dot-skills/sonarqube-ai-slop-gate"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/sonarqube-ai-slop-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00220 | $0.02377 |
| Opus 5.5 | $0.00088 | $0.00951 |
| Sonnet 5.5 | $0.00044 | $0.00475 |
| Haiku 4.5 | $0.00022 | $0.00238 |
Grade A, and why
sonarqube-ai-slop-gate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SonarQube AI Slop Gate
The decisions self-hosted SonarQube forces when you use it to gate AI-generated code, and how to settle them. Every rule names the wrong default it corrects; there is no rule for what the model already gets right.
Pinned to a date, not a version. SonarQube ships a release every two months, so every claim here was verified against docs.sonarsource.com in July 2026, against SonarQube Server 2026.3 (current LTA 2026.1). 2026.4 had shipped at the time of writing but the documentation still defaulted to 2026.3, so that is what these rules describe — plat-versions-are-calendar-based covers the release train itself. Re-verify anything version-shaped before trusting it, and read docs from the unversioned path (/latest/<page> does not resolve); appending .md to any docs URL returns its markdown source.
The failure this skill exists to prevent is a gate that passes everything. A SonarQube setup assembled from 2024-vintage knowledge will analyze the wrong branch, upload to the wrong server, exit green on a red gate, and skip the duplication and coverage conditions entirely on the small commits that AI-assisted work produces most of. None of those failures announce themselves; the dashboard looks healthy throughout.
When to Apply
Use this skill when:
- Standing up self-hosted SonarQube Server, or reviewing an existing instance, with the goal of catching AI-generated defects continuously rather than reporting on them after the fact
- Designing or tightening a quality gate — especially deciding what to measure on new code versus overall code, and discovering which conditions are silently not evaluated
- Wiring a scan step into CI: scanner properties, tokens, branch and pull-request parameters, coverage report import, or making the pipeline actually block a merge
- Setting up AI Code Assurance — flagging projects, qualifying a gate, or working out why a project reports "AI Code Assurance is off"
- A gate passes changes that obviously contain duplicated or untested generated code, and nobody can explain why
What ships with it
29 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- AGENTS.md 11 KB
- assets/templates/_template.md 2.2 KB
- metadata.json 5.5 KB
- references/_sections.md 3.4 KB
- references/aica-do-not-rely-on-autodetection.md 2.9 KB
- references/aica-flag-projects-through-the-api.md 3.0 KB
- references/aica-qualify-the-gate-explicitly.md 3.4 KB
- references/aica-the-builtin-ai-gate-is-lenient.md 4.3 KB
- references/aica-use-the-agentic-profile.md 2.9 KB
- references/blind-fudge-factor-skips-small-changes.md 3.3 KB
- references/blind-java-duplication-threshold-is-fixed.md 2.8 KB
- references/blind-no-new-code-complexity-metric.md 3.0 KB
- references/blind-pull-requests-hide-file-level-issues.md 2.7 KB
- references/blind-suppression-comments-turn-the-gate-green.md 3.1 KB
- references/blind-test-code-escapes-duplication.md 2.9 KB
- references/newcode-pick-the-definition-deliberately.md 2.9 KB
- references/newcode-shallow-clones-break-blame.md 3.1 KB
- references/ops-persist-data-and-skip-h2.md 3.3 KB
- references/ops-set-host-limits-before-first-boot.md 2.3 KB
- references/plat-ai-features-are-edition-gated.md 3.0 KB
- references/plat-community-build-cannot-see-pull-requests.md 2.8 KB
- references/plat-versions-are-calendar-based.md 2.8 KB
- references/scan-declare-test-sources.md 2.8 KB
- references/scan-exclude-narrowly.md 3.2 KB
- references/scan-host-url-defaults-to-the-cloud.md 2.3 KB
- references/scan-import-coverage-reports.md 3.0 KB
- references/scan-name-the-branch.md 2.7 KB
- references/scan-use-project-analysis-tokens.md 3.1 KB
- references/scan-wait-for-the-quality-gate.md 3.0 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 100 lines · 220 tokens per session scan A 6ebe7ce3588f
sonarqube-ai-slop-gate is a skill published in the GitHub repository pproenca/dot-skills (231 stars, last pushed 3mo ago), licensed MIT. It adds 220 tokens to every session and 2,377 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
sonarqube-ai-slop-gate compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sonarqube-ai-slop-gatepproenca/dot-skills | Skill | 231 | 3mo ago | MIT | A | 220 | Claude Code, Codex |
| chinese-git-workflowjnMetaCode/superpowers-zh | Skill | 8.6k | 15d ago | MIT | A | 69 | Claude Code |
| webhook-managementhoangsonww/Claude-Code-Agent-Monitor | Skill | 1.2k | 2d ago | MIT | A | 56 | Claude Code, Codex |
| monorepo-managementwshobson/agents | Skill | 43k | yesterday | MIT | C | 54 | Claude Code |
| managing-github-actions-secretsPostHog/posthog-foss | Skill | 734 | today | MIT | A | 67 | Claude Code, Codex |
| ci-fixersipyourdrink-ltd/bernstein | Skill | 1.2k | today | Apache-2.0 | A | 15 | Claude Code, Codex |
| deployment-engineerrmyndharis/antigravity-skills | Skill | 2.2k | 24d ago | MIT | A | 73 | Claude Code, Codex |