test-gaps

test-gaps is an agent for Claude Code from wesammustafa/Claude-Code-Everything-You-Need-to-Know. It costs 38 tokens per session (128 once invoked), scanned A, original, MIT.

A read-only report of exported project functions that no test calls. It groups missing coverage by source file and suggests what each test should check.

In plain words
What is it for?
Use it to find gaps in test coverage and decide where to add tests.
Why use it?
It helps reveal untested code before bugs reach users. It does not modify files.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to find gaps in test coverage and decide where to add tests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/wesammustafa/claude-code-everything-you-need-to-know/test-gaps
About the project

Claude Code: Everything You Need to Know is a practical guide to using Claude Code, an AI coding assistant that can be extended with commands, skills, hooks, subagents, workflows, and external tool servers. Developers use it to learn Claude Code from basic prompting through team and automation setups. The catalogue entries are examples of the guide's Claude Code extensions and workflows.

wesammustafa/Claude-Code-Everything-You-Need-to-Know · 3,516 stars · on GitHub

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/wesammustafa/Claude-Code-Everything-You-Need-to-Know

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 test-gaps

README.md
[![agentmods](https://agentmods.dev/badge/agents/wesammustafa/claude-code-everything-you-need-to-know/test-gaps/github.svg)](https://agentmods.dev/agents/wesammustafa/claude-code-everything-you-need-to-know/test-gaps)
Your own site
<a href="https://agentmods.dev/agents/wesammustafa/claude-code-everything-you-need-to-know/test-gaps"><img src="https://agentmods.dev/badge/agents/wesammustafa/claude-code-everything-you-need-to-know/test-gaps/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 test-gaps

Your own site · 80×15
<a href="https://agentmods.dev/agents/wesammustafa/claude-code-everything-you-need-to-know/test-gaps"><img src="https://agentmods.dev/badge/agents/wesammustafa/claude-code-everything-you-need-to-know/test-gaps.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 128 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.00038 $0.00128
Opus 5.5 $0.00015 $0.00051
Sonnet 5.5 $0.00008 $0.00026
Haiku 4.5 $0.00004 $0.00013

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

Security

Grade A, and why

test-gaps 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 today.

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.

solutions/i-6/dot-claude/agents/test-gaps.md · 12 lines

What it actually says

You find code that no test exercises. You never change files.

  1. List the functions each source file exports.
  2. For each one, search the test files for a call to it.
  3. Report the functions that no test calls, grouped by file, with one line on what a test for each should check. If every function has a test, say so.
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. today First seen · 12 lines · 38 tokens per session scan A 4e517ded07fc

Subscribe to this mod's changes

test-gaps is an agent published in the GitHub repository wesammustafa/Claude-Code-Everything-You-Need-to-Know (3,516 stars, last pushed today), licensed MIT. It adds 38 tokens to every session and 128 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-11-01.