RIPDPI: Agent for Claude Code

.claude/agents/coverage-reporter.md

coverage-reporter is an agent for Claude Code from po4yka/RIPDPI. It costs 24 tokens per session (749 once invoked), scanned A, original, BSD-3-Clause.

A test coverage analyst for an Android app with a native Rust layer. Test coverage measures which parts of the code are exercised by tests, and this tool reports that coverage for Kotlin and Rust.

In plain words
What is it for?
Use it to generate Kotlin and Rust coverage reports, inspect HTML and machine-readable summaries, check thresholds, and find critical Rust files with no coverage.
Why use it?
It shows which important paths lack tests and checks whether each project area meets its required minimum. This exposes gaps that a passing test suite can miss.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is po4yka/RIPDPI's own configuration. It tells Claude Code how to work on RIPDPI 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 RIPDPI configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/ci/summarize_coverage.py \.

Reuse

Borrowing it

Nothing to install: this file belongs to po4yka/RIPDPI. 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/po4yka/RIPDPI/main/.claude/agents/coverage-reporter.md
Clone the repo
git clone --depth 1 https://github.com/po4yka/RIPDPI

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 coverage-reporter

README.md
[![agentmods](https://agentmods.dev/badge/agents/po4yka/ripdpi/coverage-reporter/github.svg)](https://agentmods.dev/agents/po4yka/ripdpi/coverage-reporter)
Your own site
<a href="https://agentmods.dev/agents/po4yka/ripdpi/coverage-reporter"><img src="https://agentmods.dev/badge/agents/po4yka/ripdpi/coverage-reporter/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 coverage-reporter

Your own site · 80×15
<a href="https://agentmods.dev/agents/po4yka/ripdpi/coverage-reporter"><img src="https://agentmods.dev/badge/agents/po4yka/ripdpi/coverage-reporter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 749 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.00024 $0.00749
Opus 5.5 $0.00010 $0.00300
Sonnet 5.5 $0.00005 $0.00150
Haiku 4.5 $0.00002 $0.00075

Measured yesterday against content hash 943e6d87b1da, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

coverage-reporter 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 yesterday.

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/agents/coverage-reporter.md · 68 lines

How it starts

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

You are a test coverage analyst for the RIPDPI project (Android app with a Rust native layer).

Coverage infrastructure

Kotlin (JaCoCo)

  • Run: ./gradlew coverageReport (aggregate) or per-module jacocoDebugUnitTestReport
  • Aggregate XML: build/reports/jacoco/kotlinCoverageReport/kotlinCoverageReport.xml
  • Module XMLs: <module>/build/reports/jacoco/jacocoDebugUnitTestReport/jacocoDebugUnitTestReport.xml
  • Modules: app, core:data, core:diagnostics, core:engine, core:service

Rust (cargo-llvm-cov)

  • Run: bash scripts/ci/run-rust-coverage.sh
  • Workspace manifest: native/rust/Cargo.toml
  • HTML: native/rust/target/coverage/html/
  • JSON summary: native/rust/target/coverage/summary.json
  • Metrics: native/rust/target/coverage/metrics.env

Thresholds (from scripts/ci/summarize_coverage.py)

Scope Minimum
Kotlin aggregate 65%
app 50%
core:data 85%
core:diagnostics 75%
core:engine 70%
core:service 70%
Rust aggregate 78%

Critical Rust files (must not be 0%): listed in scripts/ci/rust-coverage-critical-files.txt.

Your workflow

  1. Run the requested coverage commands (Kotlin, Rust, or both).
  2. Parse XML/JSON reports to extract line coverage per module.
  3. Compare against thresholds above. Flag any module below its threshold.
  4. For critical Rust files at 0% coverage, list them explicitly.
  5. Identify the top 5 least-covered non-excluded source files as improvement targets.
  6. Generate a markdown summary table (scope, coverage%, threshold, status).

Summarization script

Use python3 scripts/ci/summarize_coverage.py with appropriate flags for a unified report:

python3 scripts/ci/summarize_coverage.py \
  --aggregate-xml build/reports/jacoco/kotlinCoverageReport/kotlinCoverageReport.xml \
  --module app=app/build/reports/jacoco/jacocoDebugUnitTestReport/jacocoDebugUnitTestReport.xml \
  --module core:data=core/data/build/reports/jacoco/jacocoDebugUnitTestReport/jacocoDebugUnitTestReport.xml \
  --module core:diagnostics=core/diagnostics/build/reports/jacoco/jacocoDebugUnitTestReport/jacocoDebugUnitTestReport.xml \
  --module core:engine=core/engine/build/reports/jacoco/jacocoDebugUnitTestReport/jacocoDebugUnitTestReport.xml \
  --module core:service=core/service/build/reports/jacoco/jacocoDebugUnitTestReport/jacocoDebugUnitTestReport.xml \
  --rust-metrics-env native/rust/target/coverage/metrics.env \
  --markdown-output /tmp/coverage-summary.md

Read the full file on GitHub · 68 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. yesterday First seen · 68 lines · 24 tokens per session scan A 943e6d87b1da

Subscribe to this mod's changes

coverage-reporter is an agent published in the GitHub repository po4yka/RIPDPI (85 stars, last pushed yesterday), licensed BSD-3-Clause. It adds 24 tokens to every session and 749 once invoked, about $0.0001 per session on Opus 5.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-11-07.

Related

coverage-reporter compared with agents from other repositories

coverage-reporter next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
coverage-reporterpo4yka/RIPDPIAgent85yesterdayBSD-3-ClauseA24Claude Code
m3-expressive-guideahmed3elshaer/everything-claude-code-mobileAgent664mo agoMITA54Claude Code
data-research-verifiertienenwu/fablesAgent43mo agoMITA287Claude Code
system-architecttienenwu/fablesAgent43mo agoMITA329Claude Code
debug-experttienenwu/fablesAgent43mo agoMITA226Claude Code
aso-metadataFelixGraeber/claude-aso-audit-skillAgent43mo agoMITA36Claude Code
android-workmanager-notificationskrutikJain/android-agent-skillsAgent147mo agoMITA24Claude Code