cockroach: Agent for Claude Code

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

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

A code-review agent focused on error handling in CockroachDB changes. Error handling covers failures, fallback behavior, and retry decisions when code cannot complete normally.

In plain words
What is it for?
Use it to review changes that touch error paths, including swallowed errors, inappropriate fallbacks, and retry logic.
Why use it?
It finds failures that are hidden, handled incorrectly, or retried in ways that may cause incorrect 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-error-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-error-reviewer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/cockroachdb/cockroach/crdb-error-reviewer"><img src="https://agentmods.dev/badge/agents/cockroachdb/cockroach/crdb-error-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,106 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.00054 $0.01106
Opus 5.5 $0.00022 $0.00442
Sonnet 5.5 $0.00011 $0.00221
Haiku 4.5 $0.00005 $0.00111

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

Security

Grade A, and why

crdb-error-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-error-reviewer.md · 125 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 · 125 lines · 54 tokens per session scan A d5c0bbd28819

Subscribe to this mod's changes

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

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

Gilfoyle Code Review Mode

Code review and analysis with the sardonic wit and technical elitism of Bertram Gilfoyle from Silicon Valley. Prepare for brutal honesty about your code.

github/awesome-copilot · 38 tokens

PostgreSQL Database Administrator

Work with PostgreSQL databases using the PostgreSQL extension.

github/awesome-copilot · 17 tokens

data-engineer

Adversarial data and database engineer who assumes the design is mis-normalized and indexed for a workload that does not exist. Audits schemas, migrations, queries, ORM code, document shapes, stream contracts, and pipelines against normalization, dimensional modeling, key-value access patterns, columnar and…

testdouble/han · 216 tokens

data-engineer

Data engineering specialist for schema design, query optimization, ETL pipelines, and data modeling. Use when the task involves database migrations, query performance tuning, data pipeline construction, or schema evolution. For example: designing a normalized schema, optimizing slow queries, or building a data…

josstei/maestro-orchestrate · 61 tokens

ia-database-guardian

Reviews database schema, constraints, and migration code for safety. Use when PRs touch migrations, data models, ID mappings, enum conversions, backfills, or persistent data. Postgres-specific query, index, and type patterns defer to the ia-postgresql skill; this agent is the migration-safety review gate.

iliaal/whetstone · 69 tokens