SQL Index Review

Match slow queries to missing or unused indexes.

Single skill Verified 21 Nov codingdatabaseperformance

Use it for

A database where queries are slow and nobody has looked at indexes

Skip it if

Adding indexes blindly — write cost is the check

What it is

Reads query plans and index usage and proposes changes: which query lacks an index, which index is unused, which composite order matters. The constraint is that every proposal names the write cost it adds, because an index that speeds a report can slow every insert.

Install

Clone the repository, then copy the skill folder into your agent's skills directory — ~/.claude/skills/ for Claude Code. Skills are plain files: no build step, no daemon.

Terminal
npx skills add sql-index-review

How to judge it

Read the SKILL.md before you install. A good skill states when it applies, what it must not do, and how to verify the result. A skill that only lists adjectives will change the agent's tone without improving its output — skip those.

Other Coding & Dev skills

Tools it pairs with

All tools

Servers it runs on

All servers
  • 01
    ClickHouse MCPCommunity

    Runs SQL against a ClickHouse database with a read-only user: table listing, schema inspection, and query execution. The natural fit is event data where an agent can…

    #database#analytics#sql
    Pythonstdio
  • 02
    DuckDB MCPCommunity

    Opens a local DuckDB database and exposes SQL over it, including files as views. That makes it the cheapest way to let an agent analyse a data dump on a laptop: no w…

    #database#analytics#local
    Pythonstdio
  • 03
    PlanetScale MCPCommunity

    Reads PlanetScale databases and branches, and can run SQL against a branch. The branching model is the safety feature: point the agent at a branch, let it experiment…

    #database#mysql#schema
    TypeScriptstdio