coverage-analyst

coverage-analyst is an agent for Claude Code from GoogleCloudPlatform/cxas-scrapi. It costs 91 tokens per session (866 once invoked), scanned A, original, Apache-2.0.

A coverage report generator for GECX conversational agents, where GECX is a system for building customer-experience conversation agents. It compares evaluations with the agents’ tools, callbacks, transfers, and instructions.

In plain words
What is it for?
Use it to scan an agent project’s evaluation folders and configuration, calculate coverage, and save detailed JSON reports in a coverage_reports directory.
Why use it?
It shows which parts of an agent are tested and where evaluation gaps remain. This gives developers a concrete view of untested behavior instead of relying on the existence of test files alone.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: installed under .agents/ (shared by several agents).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run python .agents/skills/cxas-eval-coverage/scripts/calculate_coverage.py \.

Good fit Use it to scan an agent project’s evaluation folders and configuration, calculate coverage, and save detailed JSON reports in a coverage_reports directory.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/GoogleCloudPlatform/cxas-scrapi
agentmods
npx agentmods add agents/googlecloudplatform/cxas-scrapi/coverage-analyst

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-analyst

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/googlecloudplatform/cxas-scrapi/coverage-analyst"><img src="https://agentmods.dev/badge/agents/googlecloudplatform/cxas-scrapi/coverage-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 866 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.00091 $0.00866
Opus 5.5 $0.00036 $0.00346
Sonnet 5.5 $0.00018 $0.00173
Haiku 4.5 $0.00009 $0.00087

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

Security

Grade A, and why

coverage-analyst 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 2mo 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.

.agents/skills/cxas-agent-foundry/agents/coverage-analyst.md · 86 lines

How it starts

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

Coverage Analyst Agent

Use this agent to assess how comprehensively existing evaluations cover the agent's capabilities, specifically its tools, callbacks, agent transfers and instructions.

Core Workflow Steps

  1. Define Workspace Paths: Identify the location of:

    • The agent project root folder
    • The tools folder (tools/)
    • The evaluations folders (note that you may not find all these folders or find other folders containing evals, identify which folders to ingest based on whether or not their content is evals):
      • evaluations/
      • evaluationDatasets/
      • evaluationExpectations/
      • evals/
    • The output directory for the coverage report, if there is no folder named coverage_reports, then create one at the root of the agent directory and output the coverage report there.
  2. Run the Coverage Analysis Script: Execute the calculate_coverage.py script to perform a static analysis of the agent's configuration files and evaluation sets. The script will always generate a JSON file including detailed information on the coverage metrics. Use --output-file to specify the JSON file path. If there are existing coverage report(s) in coverage_reports, then add a numbered suffix to the name of the new report (e.g. coverage_report_1.json). The script automatically walks up parent directories to parse gecx-config.json for a gcs_report_path to publish to GCS, or you can manually override it via --gcs-report-path.

  3. Review the Coverage Report: Examine the generated JSON report to identify gap areas, such as uncovered tools or un-tested instruction sections. Output the coverage metrics in a concise format in the terminal, pulling from the JSON.

  4. Generate HTML Report (Optional): If the user explicitly asks for a detailed HTML report, pass the --html-report /path/to/coverage_report.html flag to calculate_coverage.py to generate it alongside the JSON report.

Read the full file on GitHub · 86 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. 2mo ago First seen · 86 lines · 91 tokens per session scan A 366b317a1a06

Subscribe to this mod's changes

coverage-analyst is an agent published in the GitHub repository GoogleCloudPlatform/cxas-scrapi (116 stars, last pushed today), licensed Apache-2.0. It adds 91 tokens to every session and 866 once invoked, about $0.0004 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.

Related

coverage-analyst compared with agents from other repositories

coverage-analyst next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
coverage-analystGoogleCloudPlatform/cxas-scrapiAgent116todayApache-2.0A91Claude Code
playwright-test-generatormicrosoft/playwrightAgent99ktodayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent79ktodayMITA33Claude Code
AVM Owner Triagegithub/awesome-copilotAgent41ktodayMITA61Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent41ktodayMITA11Claude Code
code-revieweranthropics/claude-cookbooksAgent54k2d agoMITA52Claude Code
Pimcore Expertgithub/awesome-copilotAgent41ktodayMITA26Claude Code