r3bl-open-core: Skill for Claude Code

.agents/skills/check-test-coverage/SKILL.md

check-test-coverage is a skill for Claude Code, Codex from r3bl-org/r3bl-open-core. It costs 63 tokens per session (1,629 once invoked), scanned A, original, Apache-2.0.

A test-coverage audit for one file or module. It checks whether the project's own branches, state changes, and boundary cases are tested, without counting library or generated code as work to test.

In plain words
What is it for?
Use it before committing or finishing a task to identify missing tests and remove redundant coverage.
Why use it?
It helps find important untested paths without creating low-value tests for standard libraries, third-party packages, or generated boilerplate.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is r3bl-org/r3bl-open-core's own configuration. It tells Claude Code and Codex how to work on r3bl-open-core 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 r3bl-open-core configures →

Reuse

Borrowing it

Nothing to install: this file belongs to r3bl-org/r3bl-open-core. 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/r3bl-org/r3bl-open-core/main/.agents/skills/check-test-coverage/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/r3bl-org/r3bl-open-core

Made for: Claude Code, Codex.

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 check-test-coverage

README.md
[![agentmods](https://agentmods.dev/badge/skills/r3bl-org/r3bl-open-core/check-test-coverage/github.svg)](https://agentmods.dev/skills/r3bl-org/r3bl-open-core/check-test-coverage)
Your own site
<a href="https://agentmods.dev/skills/r3bl-org/r3bl-open-core/check-test-coverage"><img src="https://agentmods.dev/badge/skills/r3bl-org/r3bl-open-core/check-test-coverage/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 check-test-coverage

Your own site · 80×15
<a href="https://agentmods.dev/skills/r3bl-org/r3bl-open-core/check-test-coverage"><img src="https://agentmods.dev/badge/skills/r3bl-org/r3bl-open-core/check-test-coverage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,629 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00063 $0.01629
Opus 5 $0.00032 $0.00814
Sonnet 5 $0.00013 $0.00326
Haiku 4.5 $0.00006 $0.00163

Measured 3d ago against content hash 7f35e5e00269, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

check-test-coverage 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 3d 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/check-test-coverage/SKILL.md · 147 lines

How it starts

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

// Copyright (c) 2026 R3BL LLC. Licensed under Apache License, Version 2.0.

Skill: check-test-coverage

Audit and verify test coverage for a specific file or module. Ensure all custom logic branches, state transitions, and boundary conditions are covered while strictly eliminating dependency test bloat (never testing std, third-party crates, or macro-derived boilerplate).

When to Use

  • When invoked via the /check-test-coverage <file_path> command.
  • When reviewing a file before creating a commit or finalizing a task.
  • When evaluating whether a newly added or modified file has sufficient test coverage.
  • When auditing existing test suites to identify missing custom logic tests or remove redundant test bloat.

Core Philosophy: Zero Test Bloat ("Test OUR Code, Not Dependencies")

Traditional "code coverage" tools blindly count lines or instructions executed, encouraging developers to write low-signal tests for boilerplate, compiler derives, and third-party crates.

In this codebase, test quality is measured by branch-targeted verification of OUR custom logic:

  1. Test OUR Code Exclusively:
    • Tests must target the unique execution paths, custom algorithms, match branches, state transitions, conversion traits (From, TryFrom), and error conditions written by us.
  2. Never Test Dependencies or Compiler Derives:
    • Never write tests that merely assert standard library behavior (std::collections::HashMap, std::env, std::ffi::OsString).
    • Never write unit tests for standard compiler derives (#[derive(Default, Clone, Copy, PartialEq, Eq, Debug)]).
    • Never write unit tests for third-party derive macros (such as #[derive(Display, EnumString)] with #[strum(serialize_all = "lowercase")] or clap::ValueEnum).
  3. High Signal, Low Maintenance Overhead:
    • Redundant tests slow down cargo test and check.fish iteration cycles.
    • Redundant test failures during refactoring obscure real bugs and create maintenance friction.

Read the full file on GitHub · 147 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 147 lines · 63 tokens per session scan A 7f35e5e00269

Subscribe to this mod's changes

check-test-coverage is a skill published in the GitHub repository r3bl-org/r3bl-open-core (483 stars, last pushed 3d ago), licensed Apache-2.0. It adds 63 tokens to every session and 1,629 once invoked, about $0.0003 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-09-06.