harness-report-parsing

harness-report-parsing is a skill for Claude Code from loiane/specs-driven-development-spring-angular. It costs 70 tokens per session (1,209 once invoked), scanned A, original, MIT.

A tool for turning reports from Java build and security checks into one structured summary. It reads formats such as test-result XML, code-coverage XML, mutation-test XML, and dependency-check JSON.

In plain words
What is it for?
Use it to create a validation report, summarize test and quality gates, and explain failures from checks such as Surefire, JaCoCo, SpotBugs, Checkstyle, and dependency scanning.
Why use it?
It removes the need to inspect many separate report files when a continuous-integration run passes or fails.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Good fit Use it to create a validation report, summarize test and quality gates…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/loiane/specs-driven-development-spring-angular/harness-report-parsing
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 loiane/specs-driven-development-spring-angular --skill harness-report-parsing
Clone the repo
git clone --depth 1 https://github.com/loiane/specs-driven-development-spring-angular

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 harness-report-parsing

README.md
[![agentmods](https://agentmods.dev/badge/skills/loiane/specs-driven-development-spring-angular/harness-report-parsing.svg)](https://agentmods.dev/skills/loiane/specs-driven-development-spring-angular/harness-report-parsing)
Your own site
<a href="https://agentmods.dev/skills/loiane/specs-driven-development-spring-angular/harness-report-parsing"><img src="https://agentmods.dev/badge/skills/loiane/specs-driven-development-spring-angular/harness-report-parsing.svg" alt="Measured on agentmods" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,209 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.00070 $0.01209
Opus 5 $0.00035 $0.00605
Sonnet 5 $0.00014 $0.00242
Haiku 4.5 $0.00007 $0.00121

Measured 7d ago against content hash 37dced82d035, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

harness-report-parsing 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 7d 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/harness-report-parsing/SKILL.md · 96 lines

How it starts

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

Harness report parsing

Input file map

Layer Path Format
Spotless target/spotless/ (markers) exit code
Checkstyle target/checkstyle-result.xml XML
SpotBugs target/spotbugsXml.xml XML
Error Prone compiler stderr text
ArchUnit target/surefire-reports/.../ArchitectureTest.xml Surefire XML
ArchUnit target/surefire-reports/.../ArchitectureTest.xml Surefire XML
Surefire (unit) target/surefire-reports/TEST-*.xml Surefire XML
Failsafe (IT) target/failsafe-reports/TEST-*.xml Surefire XML
JaCoCo target/site/jacoco/jacoco.xml JaCoCo XML
PIT target/pit-reports/mutations.xml PIT XML
OpenAPI diff target/openapi-diff.json JSON
Dependency-check target/dependency-check-report.json JSON

Output shape (harness-summary.json)

.github/scripts/harness.sh --report emits a single JSON document consumed by spring-validator:

{
  "git_sha": "abc1234",
  "started_at": "2026-04-18T10:30:00Z",
  "finished_at": "2026-04-18T10:38:42Z",
  "gates": {
    "format":   { "status": "pass" },
    "compile":  { "status": "pass" },
    "static":   { "status": "pass", "spotbugs": { "high": 0, "medium": 0 }, "checkstyle": { "violations": 0 } },
    "arch":     { "status": "pass" },
    "unit":     { "status": "pass", "tests": 412, "failures": 0, "errors": 0, "skipped": 2, "skipped_reasons": ["DisabledReason: SHOP-9 flaky"] },
    "it":       { "status": "pass", "tests": 47, "failures": 0 },
    "coverage": { "status": "pass", "line": 0.93, "branch": 0.91, "new_code_line": 0.97 },
    "mutation": { "status": "pass", "kill_rate": 0.84, "survived_in_changed": 0 },
    "contract": { "status": "pass", "breaking": 0, "non_breaking": 3 },
    "security": { "status": "pass", "high": 0, "critical": 0, "waivers": 1 }
  },
  "overall": "pass"
}

Parsing rules

  • A missing report for a layer the project has configured = error, not pass.
  • A report with parse errors = error.
  • A test marked skipped with no # DisabledReason: comment in source = error (enforced by Checkstyle rule RegexpSinglelineJava looking for @Disabled without preceding comment).

Read the full file on GitHub · 96 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. 7d ago First seen · 96 lines · 70 tokens per session scan A 37dced82d035

Subscribe to this mod's changes

harness-report-parsing is a skill published in the GitHub repository loiane/specs-driven-development-spring-angular (58 stars, last pushed 2mo ago), licensed MIT. It adds 70 tokens to every session and 1,209 once invoked, about $0.0003 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.