sonar-onboard

sonar-onboard is a skill for Claude Code from sananthanarayan/skilldrop. It costs 157 tokens per session (3,455 once invoked), scanned A, original, MIT.

A one-time setup procedure for adding Sonar analysis to a repository. SonarQube is self-hosted code-quality software, while SonarCloud is its hosted service.

In plain words
What is it for?
Use it to generate the Sonar project settings, add a GitHub Actions scan for pushes and pull requests, configure SonarQube or SonarCloud, and document local scans.
Why use it?
It creates the configuration and CI checks needed to detect code-quality problems and prevent merges that fail the quality gate.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the skilldrop plugin — 51 skills, 4 agents shipped together

Good fit Use it to generate the Sonar project settings, add a GitHub Actions scan for pushes and pull requests, configure SonarQube or SonarCloud, and document local scans.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sananthanarayan/skilldrop/sonar-onboard
Install

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.

Any agent
npx skills add sananthanarayan/skilldrop --skill sonar-onboard
Clone the repo
git clone --depth 1 https://github.com/sananthanarayan/skilldrop

Made for: Claude Code.

Or install skilldrop, the plugin that ships this one along with the rest of its 51 skills, 4 agents.

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 sonar-onboard

README.md
[![agentmods](https://agentmods.dev/badge/skills/sananthanarayan/skilldrop/sonar-onboard.svg)](https://agentmods.dev/skills/sananthanarayan/skilldrop/sonar-onboard)
Your own site
<a href="https://agentmods.dev/skills/sananthanarayan/skilldrop/sonar-onboard"><img src="https://agentmods.dev/badge/skills/sananthanarayan/skilldrop/sonar-onboard.svg" alt="Measured on agentmods" height="20"></a>
Per session 157 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,455 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.
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.00157 $0.03455
Opus 5 $0.00078 $0.01728
Sonnet 5 $0.00031 $0.00691
Haiku 4.5 $0.00016 $0.00346

Measured 8d ago against content hash 0e3a7a48b121, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

sonar-onboard 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 8d 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.

skills/sonar-onboard/SKILL.md · 171 lines

How it starts

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

sonar-onboard

Scaffolds the artifacts a repo needs to become Sonar-compliant: a sonar-project.properties keyed to the project's actual language and layout, a CI workflow that runs the scanner and enforces the quality gate, and a README block so the next contributor knows what the gate means and how to run a scan locally.

This is a one-shot setup skill. For per-change feedback after the repo is onboarded, use sonar-review.

Supports both deployment models — the user picks one:

Mode When it's right Host Key extras
SonarQube server Self-hosted, on-prem or in own VPC. Enterprise / regulated orgs. https://sonar.<company>.com (set per-org) Project token + host URL
SonarCloud SaaS, hosted by SonarSource. Faster setup, no infra. https://sonarcloud.io (fixed) Project token + organization key

The choice changes three things: the properties file (SonarCloud needs sonar.organization), the GitHub Actions step (different action), and the secrets the user must add. Everything else is identical.

How to respond

  1. Ask which mode if the user hasn't said — it's the first question. One question, not two:

    Which Sonar are you using — SonarQube server (self-hosted) or SonarCloud (SaaS at sonarcloud.io)?

    If they describe the host URL, infer: anything matching sonarcloud.io ⇒ SonarCloud; anything else ⇒ SonarQube server. Don't ask twice.

  2. Collect the inputs. Ask for whichever are missing. Cap at two more clarifying questions per turn; pick defaults for the rest and call them out:

    Input Required for Default if not given
    Project key (e.g. myorg_payments-api) both <repo-name> (derive from git remote get-url origin)
    Organization key (SonarCloud only, e.g. my-org) SonarCloud Required — ask if missing
    SonarQube host URL (e.g. https://sonar.company.com) SonarQube server Required — ask if missing
    Primary language(s) both Detect from repo (see step 3)
    CI system both GitHub Actions (emit gitlab-ci/jenkins/azure-pipelines only if user names it)
    Coverage tool both Detect from language (see step 4)

Read the full file on GitHub · 171 lines

Files

What ships with it

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

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. 8d ago First seen · 171 lines · 157 tokens per session scan A 0e3a7a48b121

Subscribe to this mod's changes

sonar-onboard is a skill published in the GitHub repository sananthanarayan/skilldrop (2 stars, last pushed 24d ago), licensed MIT. It adds 157 tokens to every session and 3,455 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-31.

Related

Other skills, from other repositories

readme

This skill should be used to audit OR elevate the README of a public repository. Trigger with "improve the README", "make the readme high quality", "elevate this readme", "audit the readme", "add badges", "is our README good", or before publishing/releasing a repo. Elevate rebuilds a thin/generic README to a polished…

GiustoPiedimonte/agentic-engineering-marketplace · 132 tokens

cairn-attention

Resolve Cairn's pending-attention queue inline (DEC drafts, baseline findings, drift events).

isaacriehm/cairn · 25 tokens

cairn-direction

Spec-tightener + subagent dispatcher. Engage on code-change asks — verbs, bug reports, observations. Pivot-aware on active tasks.

isaacriehm/cairn · 32 tokens

cairn-resync

Operator-initiated re-discovery — resolve config drift, re-cluster topics, re-curate grown areas into DEC/INV drafts.

isaacriehm/cairn · 34 tokens

ship

Execute an approved pitch/spec as a delegated, closed-scope cycle with verification and adversarial review. Invoke it yourself with /ship — a cycle spawns a writer and opens a PR, so it starts when you say so. Enforces the execution playbook: right-size gate, pre-spawn filter, doc-bundle, PR format, review.

GiustoPiedimonte/agentic-engineering-marketplace · 76 tokens

adr-new

Create a new Architecture Decision Record with append-only, status-gated supersession, and update the ADR index. Invoke with /adr-new, or let /tdd-author invoke it on approval of an ADR action (this skill stays model-invocable for that reason).

cahenesy/throughline · 57 tokens