# Integrating Native Static Analyzers: detekt, SpotBugs, Rosly

> Driving code analyzers from outside — source vs bytecode vs build-based, narrowing a general-purpose tool to one purpose, SARIF normalisation, and running them without touching the user's toolchain.

Integrating Native Static Analyzers: detekt, SpotBugs, Rosly is a free AI agent skill on Agensi by Jasmin Guberinic. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Jasmin Guberinic](https://www.agensi.io/creators/jasmin-guberinic)
- Uses: 1
- Version: 1.0
- Last updated: 2026-10-19
- Security: scan passed (2026-10-19); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/integrating-native-static-analyzers-detekt-spotbugs-rosly

## About this skill

Running a linter by hand is easy. Running five of them from a program, over code
you did not write, on a machine you do not control, and getting back findings
someone will act on — that is a different job.

This is what five integrations taught.

The split that decides everything is what the analyzer eats. Source (detekt,
Bandit, ESLint) answers while the developer is typing. Compiled bytecode
(SpotBugs) means the project must already be built and you have to find the
output yourself. A full build (Roslyn) takes minutes and can fail for reasons
unrelated to your scan — and still produce a valid report.

· Every general-purpose analyzer must be narrowed, and you only learn how by
scanning somebody else's codebase. One default-on ESLint rule produced 31 of
33 findings on express; SpotBugs' non-security detectors produced 5 of 5 on
spring-petclinic.
· SARIF as the common format, and where each tool bends it — including the
MSBuild escaped comma that silently downgrades Roslyn to SARIF v1 and makes
every message parse as empty, with no error
· Never build a .sln directly: every project writes to the same ErrorLog, only
the last survives, and it is usually a test project
· ESLint only lints under its working directory — point it elsewhere and you
get zero findings and no error, the most confusing failure in this area
· What an analyzer can see without type resolution, and why SpotBugs sees more
but costs a build and dependency jars
· Isolation: configuration on the command line, caches redirected, reports in
temp, the user's project never modified

Per-analyzer reference with the exact invocation, narrowing flag, output format
and traps for all five. Normalisation reference covering severity scales, rule
ids, percent-encoded paths, and the CWE field that exists on some tools and
hides inside the message on others.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Integrating Native Static Analyzers: detekt, SpotBugs, Rosly skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What does Integrating Native Static Analyzers: detekt, SpotBugs, Rosly do?

Driving code analyzers from outside — source vs bytecode vs build-based, narrowing a general-purpose tool to one purpose, SARIF normalisation, and running them without touching the user's toolchain.

### Which AI agents support Integrating Native Static Analyzers: detekt, SpotBugs, Rosly?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Integrating Native Static Analyzers: detekt, SpotBugs, Rosly?

Connect your AI agent to Agensi through MCP, then ask it to use Integrating Native Static Analyzers: detekt, SpotBugs, Rosly on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
