Skip to content
Back to skills

Sql Explain

ASecurity

Interpret EXPLAIN / query plans (MySQL, PostgreSQL, or pasted plan text): access types, indexes, and tuning hints.

  • 22 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 12, 2026
databasessql

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add fisker086/AIOps --skill sql_explain --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sql Explain?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sql Explain
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fisker086-sql-explain/badge)](https://www.skillsdirectory.com/skills/fisker086-sql-explain)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sql-explain
description: Interpret EXPLAIN / query plans (MySQL, PostgreSQL, or pasted plan text): access types, indexes, and tuning hints.
activation_keywords: [sql, explain, query plan, execution plan, slow query, index, postgres, mysql]
execution_mode: server
---

# SQL Explain Skill

Use when the user pastes **EXPLAIN** output or asks how to read a **query plan**.

- **MySQL live analysis**: Prefer the **MySQL Explain** skill (`builtin_mysql_explain` / `mysql_explain`) when you need to run `EXPLAIN` / `EXPLAIN ANALYZE` against a DSN.
- **Any engine (text)**: Use `builtin_sql_explain` to parse pasted plans (MySQL traditional/JSON/TREE, PostgreSQL `EXPLAIN`, etc.) and explain:
  - Access type (seq scan vs index, join order hints)
  - Whether indexes are used as intended
  - “Using filesort”, “Using temporary”, buffer usage (when present)
  - Practical next steps (indexes to add/change, query rewrite)

Tool fields:
- `plan`: Pasted EXPLAIN / EXPLAIN ANALYZE / query plan text.
- `engine`: Optional engine hint: `mysql`, `postgres`, or `generic`.
- `query`: Optional original SQL query for additional hints.

If the plan is truncated, ask only for the missing fragment.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.