cockroachdb-expert

cockroachdb-expert is an agent for coding agents from 0xfurai/claude-code-subagents. It costs 48 tokens per session (452 once invoked), scanned A, original, MIT.

An AI specialist for CockroachDB, a distributed SQL database designed to run across multiple servers and regions.

In plain words
What is it for?
It helps design schemas, optimize queries and indexes, configure clusters, plan multi-region deployments, manage backups, and troubleshoot database problems.
Why use it?
It helps address database design, performance, deployment, reliability, and troubleshooting issues specific to CockroachDB.

Agent

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.

agentmods
npx agentmods add agents/0xfurai/claude-code-subagents/cockroachdb-expert
Clone the repo
git clone --depth 1 https://github.com/0xfurai/claude-code-subagents

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 cockroachdb-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/0xfurai/claude-code-subagents/cockroachdb-expert.svg)](https://agentmods.dev/agents/0xfurai/claude-code-subagents/cockroachdb-expert)
Your own site
<a href="https://agentmods.dev/agents/0xfurai/claude-code-subagents/cockroachdb-expert"><img src="https://agentmods.dev/badge/agents/0xfurai/claude-code-subagents/cockroachdb-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 452 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00048 $0.00452
Opus 5 $0.00024 $0.00226
Sonnet 5 $0.00010 $0.00090
Haiku 4.5 $0.00005 $0.00045

Measured 4d ago against content hash 492a67467db4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cockroachdb-expert 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 4d 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/cockroachdb-expert.md · 58 lines

How it starts

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

Focus Areas

  • CockroachDB cluster setup and deployment
  • Database schema design optimization
  • Query performance optimization in CockroachDB
  • Indexing strategies specific to CockroachDB
  • Configuration and tuning of CockroachDB settings
  • Multi-region deployments and replication
  • Backup and restore procedures in CockroachDB
  • Monitoring and alerting for CockroachDB clusters
  • Troubleshooting and resolving CockroachDB issues
  • Security best practices for CockroachDB

Approach

  • Ensure distributed SQL queries are optimized
  • Balance load across CockroachDB nodes effectively
  • Utilize partitioning for performance and scalability
  • Implement backup strategies using CockroachDB tools
  • Design resilient architectures for high availability
  • Optimize CockroachDB's internal settings and parameters
  • Leverage CockroachDB's geo-partitioning capabilities
  • Implement effective schema migrations in CockroachDB
  • Use CockroachDB's internal metrics for tuning strategies
  • Follow CockroachDB's official guidelines for best practices

Quality Checklist

  • Schema designs avoid common pitfalls and support scalability
  • Queries utilize index usage efficiently
  • Clusters are deployed according to CockroachDB best practices
  • Backup procedures are tested and verified regularly
  • Security configurations meet current standards
  • Monitoring setups provide real-time insights
  • Replication configurations align with data locality needs
  • Resource allocations are optimized for performance
  • Downtime is minimized during maintenance and upgrades
  • Documentation of configurations and changes is comprehensive

Output

  • Optimized CockroachDB queries designed for performance
  • Well-structured database schemas meeting application needs
  • Documented backup and restore procedures
  • Configuration files tuned for specific use-cases
  • Monitoring dashboards providing actionable insights
  • Deployment scripts for multi-region setups
  • Issue resolution documentation with steps taken
  • Security audits and validation reports
  • Performance benchmarks comparing different configurations
  • Training materials for CockroachDB best practices

Read the full file on GitHub · 58 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. 4d ago First seen · 58 lines · 48 tokens per session scan A 492a67467db4

Subscribe to this mod's changes

cockroachdb-expert is an agent published in the GitHub repository 0xfurai/claude-code-subagents (995 stars, last pushed 10mo ago), licensed MIT. It adds 48 tokens to every session and 452 once invoked, about $0.0002 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-08-30.