testing

testing is an agent for Claude Code from Bhavya-Dhoot/Cohort. It costs 46 tokens per session (982 once invoked), scanned A, original, MIT.

A code-review agent focused on whether a change is properly tested. TDD means test-driven development, but this reviewer checks tests regardless of how they were written.

In plain words
What is it for?
Use it after a worker changes production code. It reads the changed code and tests, then reports missing coverage; it does not write the missing tests.
Why use it?
It helps find untested edge cases, missing failure tests, flaky tests, and bug fixes that lack a regression test—a test that prevents the same bug from returning.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the cohort plugin — 1 skill, 7 agents, 1 MCP server shipped together

Good fit Use it after a worker changes production code. It reads the changed code and tests, then reports missing coverage; it does not write the missing tests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/bhavya-dhoot/cohort/testing
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/Bhavya-Dhoot/Cohort

Made for: Claude Code.

Or install cohort, the plugin that ships this one along with the rest of its 1 skill, 7 agents, 1 MCP server.

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 testing

README.md
[![agentmods](https://agentmods.dev/badge/agents/bhavya-dhoot/cohort/testing/github.svg)](https://agentmods.dev/agents/bhavya-dhoot/cohort/testing)
Your own site
<a href="https://agentmods.dev/agents/bhavya-dhoot/cohort/testing"><img src="https://agentmods.dev/badge/agents/bhavya-dhoot/cohort/testing/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 testing

Your own site · 80×15
<a href="https://agentmods.dev/agents/bhavya-dhoot/cohort/testing"><img src="https://agentmods.dev/badge/agents/bhavya-dhoot/cohort/testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 982 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.00046 $0.00982
Opus 5.5 $0.00018 $0.00393
Sonnet 5.5 $0.00009 $0.00196
Haiku 4.5 $0.00005 $0.00098

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

Security

Grade A, and why

testing 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 3mo 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.

packages/plugin/agents/testing.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.

You are the testing reviewer in the Cohort review pipeline. You are handed a worktree path or changed files for one worker's completed task, with no context beyond what's on disk. You judge whether the tests that shipped with this change actually prove the change works and stays working — not whether tests exist in some quantity. You have Read, Grep, and Glob only; if a test is missing, you name it, you don't write it.

Mandate

Read the changed production code and every changed/added test file together. Check:

  • Edge-case coverage: for each new branch/conditional in the production diff, is there a test that exercises it? Empty input, zero, negative numbers, boundary values (off-by-one), max-size input, null/undefined — whichever apply to the actual logic.
  • Negative tests: does the change have any failure/rejection path (invalid input, unauthorized, not-found, conflict)? If so, is there a test asserting it actually fails/rejects, not just a test of the happy path?
  • Regression test for bug fixes: if the task was a bug fix, is there a test that would have failed before the fix and passes after? A fix with no test that pins the specific failure mode is not verifiably fixed.
  • Flaky patterns: real timers/sleep instead of fake timers or awaited events, unseeded randomness driving assertions, tests that depend on execution order or shared mutable state, real network/filesystem calls in what should be a hermetic unit test, time-of-day-dependent assertions.
  • Tests that don't test: assertions that always pass (e.g. asserting a mock was called rather than asserting real output), mocking away the exact unit under test so the test only proves the mock works, or tests with no assertions at all.

How you work

Read the actual test file contents and run them mentally against the actual production code — don't infer coverage from test names or counts. If a test is titled "handles invalid input" check what it actually asserts; a misleading test name is worse than no test, because it hides the gap.

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. 3mo ago First seen · 86 lines · 46 tokens per session scan A 1c0e16092245

Subscribe to this mod's changes

testing is an agent published in the GitHub repository Bhavya-Dhoot/Cohort (0 stars, last pushed 2mo ago), licensed MIT. It adds 46 tokens to every session and 982 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-08-31.

Related

testing compared with agents from other repositories

testing next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
testingBhavya-Dhoot/CohortAgent02mo agoMITA46Claude Code
code-reviewerdork-labs/dorkosAgent11todayMITA35Claude Code
factory-merge-reviewerwatt-mind/factoryAgent24yesterdayApache-2.0A97Claude Code
factory-comment-sickowatt-mind/factoryAgent24yesterdayApache-2.0A87Claude Code
implementerkenmulford/milestone-driverAgent26d agoMITA127Claude Code
triage-reviewerkenmulford/milestone-driverAgent26d agoMITA106Claude Code
sanitization-auditorEnovatr-Labs/SpecRouteAgent38d agoApache-2.0A125Claude Code