# amitte/sql-query-optimizer

> Read a slow Postgres EXPLAIN ANALYZE plan, rewrite the query for selectivity, and propose targeted indexes with cost estimates.

## Identity

- **Type:** skill
- **Version:** 0.1.0
- **Trust tier:** official
- **License:** CC-BY-4.0
- **Authors:** Amitte Maintainers
- **Repo / bundle:** amitte/showcase
- **Canonical URL:** https://amitte.com/s/amitte/sql-query-optimizer

## Tags

- **Capabilities:** sql-tuning, explain-analyze, indexing
- **Domains:** data, databases

## Evaluation

- **Adversarial score:** 100/100
- **Content score:** 92/100

## Programmatic access

- Fetch JSON-RPC: `POST https://registry.amitte.com/rpc` with `{ "method": "fetch", "params": { "id": "amitte/sql-query-optimizer" } }`
- Install via CLI: `amitte install amitte/sql-query-optimizer`
- HTML page: https://amitte.com/s/amitte/sql-query-optimizer

Last updated: 2026-06-27T00:07:42.163Z