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

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

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.

agentmods
npx agentmods add agents/opensesh/karimo/coverage-reviewer
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00041 $0.01548
Opus 5 $0.00020 $0.00774
Sonnet 5 $0.00008 $0.00310
Haiku 4.5 $0.00004 $0.00155

Measured 5d ago against content hash 74e45c184549, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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. 5d 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 (284 stars, last pushed 3mo 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. 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.

Related

Other agents, from other repositories

type-design-analyzer

Analyzes type design for encapsulation, invariant expression, and enforcement quality. Use when introducing new types or refactoring existing ones.

opensesh/karimo-overview · 31 tokens

agent-creator

Use this agent when the user asks to "create an agent", "generate an agent", "build a new agent", "make me an agent that...", or describes agent functionality they need. Trigger when user wants to create autonomous agents for plugins. Examples.

opensesh/karimo-overview · 0 tokens

plugin-validator

Use this agent when the user asks to "validate my plugin", "check plugin structure", "verify plugin is correct", "validate plugin.json", "check plugin files", or mentions plugin validation. Also trigger proactively after user creates or modifies plugin components. Examples.

opensesh/karimo-overview · 0 tokens

silent-failure-hunter

Reviews code for silent failures, inadequate error handling, and inappropriate fallback behavior. Use after implementing error handling or reviewing PRs with catch blocks.

opensesh/karimo-overview · 34 tokens

skill-reviewer

Use this agent when the user has created or modified a skill and needs quality review, asks to "review my skill", "check skill quality", "improve skill description", or wants to ensure skill follows best practices. Trigger proactively after skill creation. Examples.

opensesh/karimo-overview · 0 tokens

comment-analyzer

Analyzes code comments for accuracy, completeness, and long-term maintainability. Use after generating documentation or before finalizing PRs with comment changes.

opensesh/karimo-overview · 33 tokens