sql-explain
FreeNo executable scriptsNot checkedExplains a PostgreSQL EXPLAIN ANALYZE plan and points at the slowest node. Use when the user pastes a query plan; not for rewriting schemas.
by Goldziher★ 182 GitHub starsAbout this skill
SQL explain
- Identify the node with the highest actual time and its row estimate versus actual rows.
- If the estimate is off by more than 10x, say that statistics are likely stale and suggest
ANALYZE <table>. - If a sequential scan filters most rows away, suggest one index and show the
CREATE INDEXstatement without running it. - Finish with a three-line summary: slowest node, cause, suggested change.
Install sql-explain in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the sql-explain skill do?
Explains a PostgreSQL EXPLAIN ANALYZE plan and points at the slowest node. Use when the user pastes a query plan; not for rewriting schemas.
How do I install the sql-explain skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the sql-explain skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
patterns
Find patterns worth sharing from recent PRs and repo history, both repeats to fix and good practices worth spreading. Use when a champion wants to know what…
by Anthropiccopilot-cli-quickstart
Use this skill when someone wants to learn GitHub Copilot CLI from scratch. Offers interactive step-by-step tutorials with separate Developer and…
by GitHubvardoger-analyze
Use when the user asks to personalize the GitHub Copilot CLI assistant, adapt Copilot to their style, use vardoger, or analyze their Copilot CLI conversation…
by GitHubpolicy-lookup
Find and explain company policies in plain language. Trigger with "what's our PTO policy", "can I work remotely from another country", "how do expenses work"…
by Anthropic