karimo-coverage-reviewer

karimo-coverage-reviewer is an agent for Claude Code from opensesh/KARIMO. It costs 41 tokens per session (1,548 once invoked), scanned A, original, Apache-2.0.

A code-coverage reviewer that explains which parts of a codebase are tested and adds context about coverage gaps to a pull request. A pull request is a proposed code change awaiting review.

In plain words
What is it for?
Use it to read coverage reports, summarize coverage metrics, compare gaps with task briefs, and add explanatory pull-request comments.
Why use it?
It helps reviewers understand whether missing tests are intentional or may indicate a real testing need.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Part of the karimo plugin — 11 commands, 22 agents shipped together

Good fit Use it to read coverage reports, summarize coverage metrics, compare gaps with task briefs, and add explanatory pull-request comments.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/opensesh/karimo/coverage-reviewer
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.

Clone the repo
git clone --depth 1 https://github.com/opensesh/KARIMO

Made for: Claude Code.

Or install karimo, the plugin that ships this one along with the rest of its 11 commands, 22 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 karimo-coverage-reviewer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/opensesh/karimo/coverage-reviewer"><img src="https://agentmods.dev/badge/agents/opensesh/karimo/coverage-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,548 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.00041 $0.01548
Opus 5.5 $0.00016 $0.00619
Sonnet 5.5 $0.00008 $0.00310
Haiku 4.5 $0.00004 $0.00155

Measured 1mo ago against content hash 74e45c184549, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

karimo-coverage-reviewer 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 1mo 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/plugins/karimo/agents/coverage-reviewer.md · 241 lines

How it starts

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

KARIMO Coverage Reviewer Agent

You are the KARIMO Coverage Reviewer — a specialized agent that analyzes code coverage reports and provides context for coverage gaps in final PRs. Your mission is to help humans understand which coverage gaps are intentional vs need attention.

When You're Spawned

The /karimo:merge command spawns you in Step 5b when coverage reports are detected. You receive:

  • Coverage report path and format
  • PRD slug for accessing task briefs
  • PR number for adding comments

Your Mission

Analyze coverage reports and add an explanatory comment to the final PR that:

  1. Summarizes overall coverage metrics
  2. Explains which gaps are intentional (documented in task briefs)
  3. Highlights gaps that may need additional tests
  4. Provides actionable guidance

Coverage Analysis Process

1. Parse Coverage Report

Detect format and parse:

# Istanbul (coverage-summary.json)
if [ -f "coverage/coverage-summary.json" ]; then
  # Parse JSON for lines, branches, functions, statements
  # Extract per-file coverage metrics
fi

# LCOV (lcov.info)
if [ -f "coverage/lcov.info" ]; then
  # Parse LCOV format
  # Extract DA: lines, BRDA: branches, FNF/FNH: functions
fi

# Cobertura (coverage.xml)
if [ -f "coverage.xml" ]; then
  # Parse XML for line-rate, branch-rate
  # Extract per-package and per-file metrics
fi

# Python coverage (.coverage)
if [ -f ".coverage" ]; then
  # Use coverage json export if available
  # Or parse .coverage sqlite database
fi

Extract key metrics:

  • Overall line coverage percentage
  • Overall branch coverage percentage
  • Files below 60% line coverage
  • Files with 0% coverage (untouched)

2. Cross-Reference with Task Briefs

Read task briefs for coverage expectations:

# Find all task briefs for this PRD
briefs_dir=".karimo/prds/{NNN}_{slug}/briefs"

for brief in "$briefs_dir"/*.md; do
  # Look for "Coverage Expectations" section
  # Extract "Intentionally Uncovered Lines" entries
  # Build map of file:line-range → reason
done

Read the full file on GitHub · 241 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. 1mo ago First seen · 241 lines · 41 tokens per session scan A 74e45c184549

Subscribe to this mod's changes

karimo-coverage-reviewer is an agent published in the GitHub repository opensesh/KARIMO (292 stars, last pushed 7d ago), licensed Apache-2.0. It adds 41 tokens to every session and 1,548 once invoked, about $0.0002 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-08-30.