redbar.inspect

redbar.inspect is a skill for Claude Code from emersonjds/redbar. It costs 102 tokens per session (733 once invoked), scanned A, original, MIT.

A command that compares changed code with a test coverage report, which records which code the test suite actually ran, to find untested areas.

In plain words
What is it for?
Use it before opening a pull request to identify changed functions or symbols that lack test coverage.
Why use it?
It replaces guesses about test gaps with results based on the repository's coverage data and Git changes.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it before opening a pull request to identify changed functions or symbols that lack test coverage.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/emersonjds/redbar/redbar.inspect
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.

Any agent
npx skills add emersonjds/redbar --skill redbar.inspect
Clone the repo
git clone --depth 1 https://github.com/emersonjds/redbar

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 redbar.inspect

README.md
[![agentmods](https://agentmods.dev/badge/skills/emersonjds/redbar/redbar.inspect.svg)](https://agentmods.dev/skills/emersonjds/redbar/redbar.inspect)
Your own site
<a href="https://agentmods.dev/skills/emersonjds/redbar/redbar.inspect"><img src="https://agentmods.dev/badge/skills/emersonjds/redbar/redbar.inspect.svg" alt="Measured on agentmods" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 733 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.00102 $0.00733
Opus 5 $0.00051 $0.00367
Sonnet 5 $0.00020 $0.00147
Haiku 4.5 $0.00010 $0.00073

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

Security

Grade A, and why

redbar.inspect 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.

.claude/skills/redbar.inspect/SKILL.md · 56 lines

How it starts

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

User Input

$ARGUMENTS

Optional. A repo path, and/or --base <ref> to compare against something other than the detected base branch.

What this is

You do not analyze coverage. The engine does. Your job is to run it and report what it printed.

This matters: the gap list must be a measurement, not your reading of the code. Coverage is a runtime fact — which lines the test suite actually executed — and it is not visible in the source. If you guess, you produce a confident wrong answer, which is worse than no answer. Run the tool.

Outline

  1. Run the engine from the project root:

    npx redbar inspect $ARGUMENTS
    

    If redbar is not on PATH, fall back to the local build:

    npx tsx src/cli.ts inspect $ARGUMENTS
    
  2. If it fails because the coverage report is missing, the error already contains the exact command for this project's runner (jest and vitest do not share one, and neither do maven and gradle). Show that command to the human and stop — do not run it yourself, and do not guess a different one. Generating coverage can be slow and is the human's call.

  3. Report what the engine printed. Lead with the criticality counts, then the top gaps by name. For each one worth mentioning: the symbol, the file, which layer of test it is missing (unit / integration / e2e), and why it ranks where it does (zero coverage? how many branches?).

  4. Do not fix anything. This phase only reports. If the human wants the tests written, that is /redbar.fix.

Reading the output

  • critical — no coverage at all, and 5+ branches. Every branch is a path nothing has ever executed. This is the row that matters.
  • high — no coverage, and there is at least one decision in it.
  • medium — untested but straight-line, or dense but partly covered.
  • low — partly covered and simple.
  • ! next to a row means the symbol has no coverage anywhere in the file.

The kind column is the layer of test the gap is asking for, inferred from the file (a route → e2e, an I/O boundary → integration, everything else → unit).

Read the full file on GitHub · 56 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. 3d ago First seen · 56 lines · 102 tokens per session scan A 3fe2e9adb24d

Subscribe to this mod's changes

redbar.inspect is a skill published in the GitHub repository emersonjds/redbar (6 stars, last pushed 3d ago), licensed MIT. It adds 102 tokens to every session and 733 once invoked, about $0.0005 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-04.

Related

Other skills, from other repositories

dev-architecture-playbook

Route full software-development architecture work from product intent through design, implementation, testing, release, and operations. Use when the user asks for a complete development architecture, wants to know which Spellbook skills to combine, needs an execution path across…

majiayu000/spellbook · 81 tokens

repo-harness-check

Verification entrypoint for repo-harness workflow readiness. Runs workflow gates, task sync, contract checks, inspector, and migration dry-run before merge or release.

Ancienttwo/repo-harness · 36 tokens

quick-finalize

Close out a change without the deep review loop: stage, simplify code and docs, run the project's checks, smoke test, update the changelog, self-improve, and ship. Use when the user asks to "quick finalize", "quickly finalize", "finalize quickly", "light finalize", "wrap this up quickly", "close this out without the…

tobihagemann/turbo · 89 tokens

ring:creating-worktrees

Creating an isolated git worktree for parallel branch work: selects the directory by priority order, verifies/adds .gitignore safety, auto-installs the detected toolchain's dependencies, runs a baseline test, and reports readiness. Use before a feature that needs isolation from the main workspace or before executing…

LerianStudio/ring · 88 tokens

workflow-ship

Ship it. Runs preflight checks (typecheck, lint, tests), auto-fixes issues, then commits, pushes, and creates a PR. Bails early if preflight fixes were needed so you can review before shipping. Prompts for branch and PR target using quick multi-choice questions.

charlesjones-dev/claude-code-plugins-dev · 65 tokens

ship

Ship phase. Runs isolated integration test in a fresh worktree, creates a PR with full spec + audit report in the body, watches CI, and auto-fixes failures.

epicsagas/epic-harness · 37 tokens