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 | $0.00110 | $0.01189 |
| Sonnet 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 9d 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.
- 9d 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 (207 stars, last pushed 27d ago), licensed MIT. It adds 220 tokens to every session and 2,377 once invoked, about $0.0011 per session on Opus 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.
Other skills, from other repositories
import-prom-rule
Bulk import of a Prometheus alert rule YAML file (create a whole set of rules at once). Dedicated to handling a remote URL or local YAML text, automatically parsing the three formats groups / a plain rules array / a single rule. ⚠️ Do not use this skill for single-rule creation — when the user describes a single alert…
chinese-git-workflow
A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.
configure-env-variables
Configures environment variables for Power Pages site settings to support ALM across environments. Creates environment variable definitions in Dataverse, guides the user through linking site settings to those variables via the Power Pages Management app, adds the variables to the solution, and generates a…
atmos-profiles
Atmos profiles: profile directories, --profile and ATMOSPROFILE activation, profile merge behavior, environment switching, and routing profile-specific auth/toolchain/config overrides.
managing-github-actions-secrets
Creates and updates GitHub Actions secrets for PostHog workflows. Use when adding a new CI secret, rotating an existing secret, wiring a workflow to an API token, package registry credential, deploy key, or any value referenced via ${{ secrets. }} in .github/workflows/.
webhook-management
Configure and validate CCAM webhook targets across supported chat, incident, automation, and generic providers. Use when listing provider requirements, creating or updating a target, scoping it to alert rules, sending a test notification, reviewing delivery history, or deleting a target.