cockroach: Agent for Claude Code

.claude/agents/crdb-test-reviewer.md

crdb-test-reviewer is an agent for Claude Code from cockroachdb/cockroach. It costs 55 tokens per session (766 once invoked), scanned A, original, no licence file.

A code-review agent for CockroachDB, a distributed SQL database, that checks tests added or changed with code.

In plain words
What is it for?
Use it when test files change or new behavior is introduced. It reviews coverage quality, completeness, and red/green testing discipline.
Why use it?
It helps identify missing coverage for important paths, unusual inputs, and failures, as well as tests that do not clearly show the expected failing and passing behavior.

Agent for Claude Code ✓ vendor

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is cockroachdb/cockroach's own configuration. It tells Claude Code how to work on cockroach 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 cockroach configures →

Reuse

Borrowing it

Nothing to install: this file belongs to cockroachdb/cockroach. 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/cockroachdb/cockroach/master/.claude/agents/crdb-test-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/cockroachdb/cockroach

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 crdb-test-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/cockroachdb/cockroach/crdb-test-reviewer/github.svg)](https://agentmods.dev/agents/cockroachdb/cockroach/crdb-test-reviewer)
Your own site
<a href="https://agentmods.dev/agents/cockroachdb/cockroach/crdb-test-reviewer"><img src="https://agentmods.dev/badge/agents/cockroachdb/cockroach/crdb-test-reviewer/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 crdb-test-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/cockroachdb/cockroach/crdb-test-reviewer"><img src="https://agentmods.dev/badge/agents/cockroachdb/cockroach/crdb-test-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 766 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 unknown 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.00055 $0.00766
Opus 5.5 $0.00022 $0.00306
Sonnet 5.5 $0.00011 $0.00153
Haiku 4.5 $0.00006 $0.00077

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

Security

Grade A, and why

crdb-test-reviewer 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.

.claude/agents/crdb-test-reviewer.md · 96 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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 · 96 lines · 55 tokens per session scan A 9e897671d5f8

Subscribe to this mod's changes

crdb-test-reviewer is an agent published in the GitHub repository cockroachdb/cockroach (32,591 stars, last pushed 7d ago), with no licence file. It adds 55 tokens to every session and 766 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-30.

Related

Other agents, from other repositories

Principal software engineer

Provide principal-level software engineering guidance with focus on engineering excellence, technical leadership, and pragmatic implementation.

github/awesome-copilot · 23 tokens

sap-test-plan-reviewer

Adversarial review of a test-case plan produced by design-cases. READS the actual ABAP source snapshot (plus findings.md, flow.md, units.md, and the TC-.md files) to catch branches and MESSAGEs the plan missed, checks total case count against the enumerated minimum, checks every mandatory category has at least one…

marcellourbani/vscode_abap_remote_fs · 161 tokens

abap-quality-checker

Check ABAP code quality using ATC analysis and unit tests.

marcellourbani/vscode_abap_remote_fs · 19 tokens

verifier

Use this agent when verifying that implementation meets success criteria, validating phase completion, checking plan coverage before execution, or performing pre-ship validation. Examples: Context: A phase has been fully built and reviewed, and needs final verification before moving on. user: "Verify that the database…

lgbarn/shipyard · 278 tokens

sql-reviewer

Read-only reviewer for SQL files, migrations and application code that builds SQL. Uses GoSQLX tools to validate syntax, lint style, scan for injection patterns and check dialect compatibility, then returns prioritized findings. Use after SQL or data-access code is written or changed, or when asked to review database…

ajitpratap0/GoSQLX · 65 tokens

engineer

Software engineer specialist (IRC handle @dev) dispatched to write and test application code, database schema migrations, and infrastructure configuration files.

NexaDuo/mARC · 30 tokens