Irrlicht: Skill for Claude Code

.claude/skills/ir:sonarqube-report/SKILL.md

ir:sonarqube-report is a skill for Claude Code from ingo-eichhorst/Irrlicht. It costs 165 tokens per session (1,537 once invoked), scanned A, original, MIT.

An on-demand code-quality report that reads open findings from SonarQube Cloud, a service that scans code for bugs, security risks, and maintainability problems.

In plain words
What is it for?
Use it to inspect the connected repository's outstanding SonarQube issues and security hotspots, provided the required local settings and a recent scan are available.
Why use it?
It turns the latest scan into a short list of concrete issues with file locations, rule details, fix guidance, and security information.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is ingo-eichhorst/Irrlicht's own configuration. It tells Claude Code how to work on Irrlicht itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Irrlicht configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ingo-eichhorst/Irrlicht. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ingo-eichhorst/Irrlicht/main/.claude/skills/ir:sonarqube-report/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ingo-eichhorst/Irrlicht

Made for: Claude Code.

Wrote 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.

agentmods badge for ir:sonarqube-report

README.md
[![agentmods](https://agentmods.dev/badge/skills/ingo-eichhorst/irrlicht/ir-sonarqube-report/github.svg)](https://agentmods.dev/skills/ingo-eichhorst/irrlicht/ir-sonarqube-report)
Your own site
<a href="https://agentmods.dev/skills/ingo-eichhorst/irrlicht/ir-sonarqube-report"><img src="https://agentmods.dev/badge/skills/ingo-eichhorst/irrlicht/ir-sonarqube-report/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.

agentmods 80×15 button for ir:sonarqube-report

Your own site · 80×15
<a href="https://agentmods.dev/skills/ingo-eichhorst/irrlicht/ir-sonarqube-report"><img src="https://agentmods.dev/badge/skills/ingo-eichhorst/irrlicht/ir-sonarqube-report.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 165 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,537 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00165 $0.01537
Opus 5 $0.00082 $0.00768
Sonnet 5 $0.00033 $0.00307
Haiku 4.5 $0.00016 $0.00154

Measured 11d ago against content hash 6cc135f6d828, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

ir:sonarqube-report 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 11d 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.

.claude/skills/ir:sonarqube-report/SKILL.md · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SonarQube Report (on demand)

SonarQube Cloud's issue search gives concrete, actionable findings — rule key, file, line, message, and estimated fix effort — which is exactly what CodeScene's hotspot API doesn't expose (see the removed ir:codescene-report skill's history for why that mattered). This skill fetches those issues on demand and hands back a short, readable summary.

Unlike CodeScene, there's no GitHub Actions round-trip: SONAR_TOKEN lives in this repo's local .env (gitignored, never a CI secret), so tools/sonarqube-report.sh runs directly.

Prerequisite

.env at the repo root must have SONAR_TOKEN, SONAR_ORGANIZATION, and SONAR_PROJECT_KEY set (see .env.example). If any are missing, the script fails fast with a clear message naming which one — report that directly rather than guessing values.

Also: SonarQube Cloud has no equivalent of CodeScene's run-analysis trigger. Fresh data depends on a scanner (sonar-scanner / a CI action) having already run against this project — this skill only reads whatever the last scan uploaded. If no CI scan is wired up yet, say so rather than treating an empty/stale result as "no issues."

Workflow

1. Fetch

tools/sonarqube-report.sh

This defaults to issues/search scoped to the project, resolved=false (only currently-open issues), sorted by severity descending (worst first), page size 100.

2. Read the result

From each entry in the issues array, pull out:

  • component — strip the <SONAR_PROJECT_KEY>: prefix to get the repo-relative file path
  • line (or textRange.startLinetextRange.endLine if line is absent — some rule types, e.g. file-level ones, have no single line)
  • rule — the rule key (e.g. go:S1192)
  • message — usually already actionable on its own (e.g. "Reduce the number of returns of this function from 6 to at most 3")
  • effort — estimated remediation time (e.g. "2h1min")
  • impacts — array of {softwareQuality, severity} (the current Clean Code taxonomy: MAINTAINABILITY / RELIABILITY / SECURITY × INFO/LOW/MEDIUM/HIGH/BLOCKER); prefer this over the older top-level severity/type fields when summarizing
  • flows — if present and non-empty, this is a taint trace (source → sink across possibly multiple files/lines), not just noise. The one-line message alone is often too generic to act on for security-class rules (e.g. gosecurity:S2083's message is always "don't construct the path from user-controlled data" regardless of the actual data path) — for any BLOCKER/CRITICAL issue with a non-empty flows, include the source→sink steps (each location's msg + component/textRange) in the summary. Don't drop this for brevity; it's usually the only part that's actually actionable.

Read the full file on GitHub · 133 lines

Changes

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.

  1. 11d ago First seen · 133 lines · 165 tokens per session scan A 6cc135f6d828

Subscribe to this mod's changes

ir:sonarqube-report is a skill published in the GitHub repository ingo-eichhorst/Irrlicht (98 stars, last pushed today), licensed MIT. It adds 165 tokens to every session and 1,537 once invoked, about $0.0008 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-08-30.