pedrol-cmd

DB Opt — Data skill for Claude Code

Data community

Identifies and optimizes slow database queries and schema bottlenecks.

How to install DB Opt

Installs to ~/.claude/commands/pedrol-cmd-brain-drin-db-opt.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/pedrol-cmd/brain-drin/HEAD/.claude/commands/db-opt.md -o ~/.claude/commands/pedrol-cmd-brain-drin-db-opt.md

Restart Claude Code, or start a new session, for it to be picked up.

What DB Opt does


description: Identifies and optimizes slow database queries and schema bottlenecks.

/db-opt

Optimizes your data persistence layer.

Usage

  1. Provide a slow query or an execution plan (EXPLAIN).
  2. The agent will suggest indexes, query rewrites, or schema changes.
  3. Verifies the performance improvement.

Specialist Agent

@database-architect

Alternatives in Data

  • SQL Queries — Generate SQL queries from natural language across major dialects 7.8k ★
  • Aoci Code — Local-first MCP server + CLI in Go: a persistent, governed codebase index that distills code and database sche 443 ★
  • Symfony Migrations — Create and manage Doctrine migrations for database schema changes 206 ★

Full documentation available on GitHub

View Source Repository