sql-optimizer
Skill from milad-ahmd/agent-skills
Install
npx skills add milad-ahmd/agent-skills --skill sql-optimizer
Runs the open skills CLI and installs the skill for your agent (Claude Code, Codex, Cursor …). Alternatively copy the skill folder into .claude/skills/ or upload it in Claude.ai under Settings → Skills.
As a Claude Code plugin
/plugin marketplace add milad-ahmd/agent-skills
/plugin install all-skills@milad-agent-skills
This skill is part of the plugin “all-skills”. In Claude Code the plugin installs it together with the plugin’s other skills, commands and hooks.
What does the sql-optimizer skill do?
Description from the SKILL.md in the source repository.
Questions about sql-optimizer
What does the sql-optimizer skill do?
Explains slow SQL queries and EXPLAIN plans and suggests rewrites and indexes (PostgreSQL, MySQL, SQLite, ORM N+1). Use when the user shares a slow query or EXPLAIN output, asks why a query or page loads slowly, or wants index advice.
How do I install sql-optimizer?
In a terminal: npx skills add milad-ahmd/agent-skills --skill sql-optimizer. The skills CLI asks which agents to install it for. In Claude.ai you can upload the skill folder as a ZIP under Settings → Skills.
Which agents can use sql-optimizer?
Skills use the open SKILL.md format, which Claude Code, Claude.ai, the Claude API, OpenAI Codex, Cursor, Gemini CLI and other agents support.
Is sql-optimizer safe to use?
Our automatic check found no risky patterns (piped shell scripts, hidden characters, secret access, prompt overrides). It is not a full audit – read the SKILL.md and any scripts before installing.
More skills from milad-ahmd/agent-skills
Finds the riskiest untested code and writes meaningful tests in the project's own framework. Use when the user asks to improve coverage, find untested code, read an lcov report, or add tests …
Builds a monthly cross-platform content calendar with themes, post ideas, drafts and posting times, exported as CSV for Notion or Buffer.
Stress-tests a startup or product idea with skeptical critique, cheap tests and a Go, Pivot or Kill verdict.
Runs strict test-driven development one failing test at a time; a guard rejects wrong-reason reds and edited or skipped tests.
Switches chat replies to a short, dense style for the session, keeping commands, code and warnings intact.
Polishes a web UI so it looks deliberate, not generic or AI-made, moving font sizes, spacing and near-duplicate colours into tokens.
Writes high-retention YouTube and Shorts scripts with hooks, B-roll cues, sponsor reads and CTAs. Use when asked to write or rewrite what they say on camera, a YouTube script, talking points, an …
Turns social analytics exports (Instagram Insights, TikTok, YouTube Studio, LinkedIn, X) into a monthly report.
Related skills in Data & Databases
About 450 ready-made HyperFrames blocks and components installed as editable source - transitions, overlays, titles, kinetic type, captions, charts, map overlays, 3D, camera moves.
Azure Storage Services including Blob Storage, File Shares, Queue Storage, Table Storage, and Data Lake. Answers questions about storage access tiers (hot, cool, cold, archive), when to use each tier, and tier …
Query and analyze data in Azure Data Explorer (Kusto/ADX) using KQL for log analytics, telemetry, and time series analysis.
Postgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill BEFORE writing or changing anything that lives in a Postgres database: creating or altering tables and columns (including choosing …
Deprecated compatibility name for prisma-orm-setup. Use only when a user or existing integration explicitly invokes prisma-database-setup; otherwise select prisma-orm-setup.
Deprecated compatibility name for prisma-postgres-setup. Use only when a user or existing integration explicitly invokes prisma-postgres; otherwise select prisma-postgres-setup.
Obtain or reuse a Prisma Postgres database and connect an application. Use when the user needs a database and has none configured ("I need a database", "add a Postgres database", "set up …
Required reference for Prisma ORM 7 SQL driver adapter work. Use when implementing or modifying adapters, adding database drivers, or touching SqlDriverAdapter, Transaction, savepoint, result mapping, or DriverAdapterError behavior.