SQL Query Optimizer skill for Claude
SQL Query Optimizer as a Claude skill. Claude asks for Database Engine, Query Type, Paste the slow query here and 4 more, then does the rest. Free to install…
Install it once and Claude runs it for you. When your request matches, Claude loads the skill, asks for anything it is missing, and works through the template itself. Prefer to fill it in by hand? See the full prompt template.
Download the skill (.zip) · View SKILL.md
When Claude uses it
Use when the user wants help with SQL Query Optimizer. Related topics: sql, database, performance.
What Claude will ask you for
- Database Engine (choose one: PostgreSQL, MySQL, SQL Server, SQLite, Oracle)
- Query Type (choose one: SELECT, INSERT, UPDATE, DELETE, Complex JOIN)
- Paste the slow query here (longer free text)
- Approximate number of rows in main table (number from 1000 to 100000000)
- Describe the table schema/indexes (longer free text)
- Main bottlenecks to check (choose any: Missing Indexes, Subqueries, JOIN optimization, N+1 problem)
- Explain the execution plan changes? (choose one: Yes, No)
How to install
Claude.ai and the Claude desktop app
- Download the skill .zip.
- Open Settings, then Capabilities, and find Skills.
- Choose Upload skill and select the .zip.
- Ask Claude for help with the task. It loads the skill when your request matches.
Claude Code
- Download the skill .zip.
- Unzip it into ~/.claude/skills/ (or .claude/skills/ inside a project).
- Start a new session. Claude Code loads the skill when your request matches.