cockroachdb

113 mods across 3 repositories, 32k stars between them.

redux-to-swr

26

cockroachdb/cockroach

Skill Claude CodeCodex

Migrate React components from Redux + Saga to SWR hooks. Use when converting data fetching from Redux store (reducers, sagas, selectors, connect HOC) to SWR-based hooks in CockroachDB DB Console or cluster-ui.

32k +4 5d ago A 53 tokens

cockroachdb/cockroach

Skill Claude CodeCodex

Automates visual regression testing for DB Console UI changes. Compares screenshots and network requests between the current branch and its merge base using roachprod, playwright-cli, and ImageMagick. Use when the user wants to verify UI changes haven't introduced visual or behavioral regressions.

32k +4 5d ago C 61 tokens

claude-plugin

29

cockroachdb/claude-plugin

Plugin Claude Code

Connect Claude Code directly to your CockroachDB clusters for hands-on database work — explore schemas, write optimized SQL, debug queries, and manage distributed database clusters. This plugin provides tools across MCP backends (self-hosted MCP Toolbox and managed CockroachDB Cloud MCP Server), specialized agents…

4 1mo ago A tokens not measured original Apache-2.0

cockroachdb-toolbox

30

cockroachdb/claude-plugin

MCP server Claude CodeCodexCursor +2

MCP server "cockroachdb-toolbox" as configured in cockroachdb/claude-plugin. Launched with toolbox --config ${CLAUDE_PLUGIN_ROOT}/tools.yaml --stdio. Needs 6 environment variables to run.

4 1mo ago A tokens not measured original Apache-2.0

cockroachdb/claude-plugin

MCP server Claude CodeCodexCursor +2

MCP server "cockroachdb-toolbox-http", hosted remotely at 127.0.0.1, as configured in cockroachdb/claude-plugin.

4 1mo ago A tokens not measured original Apache-2.0

cockroachdb-cloud

32

cockroachdb/claude-plugin

MCP server Claude CodeCodexCursor +2

MCP server "cockroachdb-cloud", hosted remotely at cockroachlabs.cloud, as configured in cockroachdb/claude-plugin.

4 1mo ago A tokens not measured original Apache-2.0

cockroachdb/claude-plugin

Instructions file CodexOpenCode

Instructions for cockroachdb/claude-plugin, covering agent instructions for claude-plugin, what this repo is, rules that prevent breakage, testing and writing style.

4 1mo ago A 594 tokens original Apache-2.0

cockroachdb/claude-plugin

Instructions file

Instructions for cockroachdb/claude-plugin, a project described as: CockroachDB development plugin for Claude.

4 1mo ago A 5 tokens copy · 100% Apache-2.0

cockroachdb-dba

35

cockroachdb/claude-plugin

Agent

CockroachDB database administration agent. Use when diagnosing performance issues, reviewing schema designs, analyzing query plans, troubleshooting cluster problems, or planning multi-region deployments. This agent has deep knowledge of CockroachDB distributed SQL internals.

4 1mo ago A 51 tokens original Apache-2.0

cockroachdb/claude-plugin

Agent

CockroachDB application developer agent. Use when building applications on CockroachDB, configuring ORMs/drivers, implementing transaction retry logic, optimizing queries, designing schemas for distributed SQL, or migrating from PostgreSQL/Oracle. Deep knowledge of JPA/Hibernate, Spring, JDBC, and multi-language…

4 1mo ago A 68 tokens original Apache-2.0

cockroachdb/claude-plugin

Agent

CockroachDB operator and SRE agent. Use when managing cluster operations, monitoring, alerting, incident response, backup/restore, scaling, version upgrades, node maintenance, changefeed management, or troubleshooting performance and availability issues. Based on the official CockroachDB runbook template.

4 1mo ago A 63 tokens original Apache-2.0

PreToolUse

38

cockroachdb/claude-plugin

Hook

Runs before the agent uses a tool for mcp__cockroachdb-toolbox__cockroachdb-execute-sql tool calls, executing validate-sql.py via python3. From cockroachdb/claude-plugin.

4 1mo ago A tokens not measured original Apache-2.0

PostToolUse

39

cockroachdb/claude-plugin

Hook

Runs after a tool call finishes for Write, Edit and MultiEdit tool calls, executing check-sql-files.py via python3. From cockroachdb/claude-plugin.

4 1mo ago A tokens not measured original Apache-2.0

cockroachdb/claude-plugin

Skill Claude CodeCodex

Guides benchmarking and comparing explicit multi-statement transactions versus single-statement CTE transactions in CockroachDB, with fair test methodology, contention analysis, and performance interpretation. Use when comparing transaction formulations, benchmarking CockroachDB workloads under contention…

4 1mo ago A 73 tokens copy · 100% Apache-2.0

cockroachdb/claude-plugin

Skill Claude CodeCodex

Guides application developers in designing correct and performant transaction patterns for CockroachDB, covering transaction lifetime, implicit vs explicit transactions, retry handling with exponential backoff, pushing invariants into SQL, selective pessimistic locking, set-based operations, connection pooling…

4 1mo ago A 102 tokens copy · 100% Apache-2.0

cockroachdb/claude-plugin

Skill Claude CodeCodex

Guides developers in selecting and implementing multi-region patterns for CockroachDB applications, covering active-passive vs active-active architectures, REGIONAL BY ROW, GLOBAL tables, manual geo-partitioning with lease preferences, and live demo setup with validation queries. Use when designing multi-region…

4 1mo ago A 89 tokens copy · 100% Apache-2.0

cockroachdb/claude-plugin

Skill Claude CodeCodex

Analyzes CockroachDB range distribution across tables and indexes using SHOW RANGES to identify range count, size patterns, leaseholder placement, and replication health. Use when investigating hotspots, uneven data distribution, range fragmentation, or validating zone configuration effects without DB Console access.

4 1mo ago A 60 tokens copy · 100% Apache-2.0

cockroachdb/claude-plugin

Skill Claude CodeCodex

Estimates storage requirements for CockroachDB online schema change backfills using SHOW RANGES WITH DETAILS, KEYS, INDEXES. Use before CREATE INDEX, ADD COLUMN with INDEX/UNIQUE, ALTER PRIMARY KEY, CREATE MATERIALIZED VIEW, CREATE TABLE AS, REFRESH, or SET LOCALITY on tables with large per-index footprints, to avoid…

4 1mo ago A 83 tokens copy · 100% Apache-2.0

cockroachdb/claude-plugin

Skill Claude CodeCodex

Audits optimizer table statistics for staleness, missing coverage, and data quality issues using SHOW STATISTICS. Use when diagnosing poor query performance, unexpected plan changes, or after bulk data changes to identify stale statistics requiring refresh via CREATE STATISTICS.

4 1mo ago A 55 tokens copy · 100% Apache-2.0

cockroachdb/claude-plugin

Skill Claude CodeCodex

Monitors CockroachDB background job health by identifying failed, paused, and long-running jobs using SHOW JOBS and SHOW AUTOMATIC JOBS. Surfaces schema changes, backups/restores, automatic statistics collection, and SQL stats compaction jobs without DB Console access. Use when investigating schema change delays…

4 1mo ago A 74 tokens copy · 100% Apache-2.0

cockroachdb/claude-plugin

Skill Claude CodeCodex

Ranks and analyzes statement fingerprints using aggregated SQL statistics from crdbinternal.statementstatistics to identify slow, resource-intensive, or error-prone query patterns. Use when investigating historical performance trends, identifying optimization opportunities, or diagnosing recurring slowness without DB…

4 1mo ago A 59 tokens copy · 100% Apache-2.0

cockroachdb/claude-plugin

Skill Claude CodeCodex

Analyzes transaction fingerprints using aggregated statistics from crdbinternal.transactionstatistics to identify high-retry transactions, contention patterns, and commit latency issues. Provides historical transaction-level analysis to understand which statement combinations are causing retries, contention, or…

4 1mo ago A 80 tokens copy · 100% Apache-2.0