Borrowing it
Nothing to install: this file belongs to eclipse-rdf4j/rdf4j. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/eclipse-rdf4j/rdf4j/main/.agent/skills/debug-surefire/SKILL.mdgit clone --depth 1 https://github.com/eclipse-rdf4j/rdf4jWrote 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/eclipse-rdf4j/rdf4j/debug-surefire)<a href="https://agentmods.dev/skills/eclipse-rdf4j/rdf4j/debug-surefire"><img src="https://agentmods.dev/badge/skills/eclipse-rdf4j/rdf4j/debug-surefire/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/eclipse-rdf4j/rdf4j/debug-surefire"><img src="https://agentmods.dev/badge/skills/eclipse-rdf4j/rdf4j/debug-surefire.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.00147 | $0.02494 |
| Opus 5 | $0.00073 | $0.01247 |
| Sonnet 5 | $0.00029 | $0.00499 |
| Haiku 4.5 | $0.00015 | $0.00249 |
Grade A, and why
debug-surefire 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.
How it starts
The opening of the file, as written. The whole thing — 263 lines — stays where its author put it; the contents beside it link to each section on GitHub.
debug-surefire
Run Maven Surefire tests suspended in JDWP so you can attach a debugger and step through the code.
In headless/agent environments, attach with jdb (the JDK’s command-line debugger).
What this does
- Runs
mvn testwith Surefire in debug mode via-Dmaven.surefire.debug. - Surefire launches the forked test JVM with a JDWP socket and
suspend=y, meaning:- the forked JVM starts,
- prints “Listening for transport dt_socket at address: ”,
- then waits until a debugger attaches,
- only then does it begin executing tests.
This is important: you do not attach to the mvn process itself; you attach to the forked JVM running the tests.
Quick start
- Start a suspended test run
- Debug a test class:
.codex/skills/debug-surefire/scripts/debug-surefire.sh --test-class MyTest
- Debug a single test method (quote the
#):.codex/skills/debug-surefire/scripts/debug-surefire.sh --test 'MyTest#shouldDoThing'
- Debug a test in a specific module:
.codex/skills/debug-surefire/scripts/debug-surefire.sh --module core/sail/shacl --test-class ShaclSailTest.codex/skills/debug-surefire/scripts/debug-surefire.sh --module rdf4j-sail-shacl --test 'ShaclSailTest#testSomething'
When the forked JVM is ready, you should see something like:
Listening for transport dt_socket at address: 55005
- Attach with
jdb(preferred)
In a second terminal, attach to the printed port:
- Local attach (port only implies localhost):
jdb -attach 55005
- Explicit host+port:
jdb -attach localhost:55005
If you need source listing inside jdb, provide a sourcepath up front:
jdb -sourcepath module/src/main/java:module/src/test/java -attach 55005
- Set breakpoints / catches, then resume
Once you’re at the jdb prompt, set a breakpoint (or exception catch) and continue:
stop in com.example.MyTest.shouldDoThingcatch uncaught java.lang.AssertionErrorcont
Tip: right after attaching to a just-started suspended JVM, jdb may show:
No frames on the current call stack
What ships with it
1 file 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.
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.
- 8d ago First seen · 263 lines · 147 tokens per session scan A 70ba91523a06
debug-surefire is a skill published in the GitHub repository eclipse-rdf4j/rdf4j (412 stars, last pushed today), licensed BSD-3-Clause. It adds 147 tokens to every session and 2,494 once invoked, about $0.0007 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
open-ontologies
AI-native ontology engineering using 50+ MCP tools backed by an in-memory Oxigraph triple store. Build, validate, query, and govern RDF/OWL ontologies with a generate-validate-iterate loop. Use when building ontologies, knowledge graphs, RDF data, SPARQL queries, BORO/4D modeling, SHACL validation, clinical…
mcp-sparql
Exposes SPARQL query capabilities to LLMs via the Model Context Protocol. Supports SELECT, ASK, CONSTRUCT, and DESCRIBE queries against any SPARQL endpoint.
testing
Skill validation framework PLUS daily test-suite health and regression intelligence. Validates skill conformance (frontmatter, manifest coverage, resolver coverage). Runs the project test suite in tiered phases (unit / evals / integration / system health), classifies failures, and produces a regression-aware report.
detect-static-dependencies
ACTIVATION PREREQUISITE: the request or discovered target must explicitly identify C#, .NET, .cs, or .csproj; otherwise stay dormant without invoking this skill. USE FOR: locating System.DateTime.Now/UtcNow, System.IO.File/Directory, System.Environment, HttpClient, Console, or Process usage in C#; auditing C# code for…
java-unit-test
A code-generation guide for Java unit tests in Spring Boot projects. Unit tests check one small piece of code in isolation; Spring Boot is a Java framework for building web applications and services.
write-fixture
Write Java/Kotlin tests with Fixture Monkey — enumerate the cases a method can produce, pick the ones worth testing, and build each fixture pinning only the properties that force the expected outcome.