Skip to content
anyai.fyi

sql-optimizer

Skill from milad-ahmd/agent-skills

Data & Databases No risky patterns found contains scripts sqlmysql

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?

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.

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

test-gap-hunter
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 …

Development
No risky patterns found
social-media-calendar
milad-ahmd/agent-skills

Builds a monthly cross-platform content calendar with themes, post ideas, drafts and posting times, exported as CSV for Notion or Buffer.

Writing & Marketing
No risky patterns found
startup-idea-validator
milad-ahmd/agent-skills

Stress-tests a startup or product idea with skeptical critique, cheap tests and a Go, Pivot or Kill verdict.

Agents & Workflows
No risky patterns found
tdd-loop
milad-ahmd/agent-skills

Runs strict test-driven development one failing test at a time; a guard rejects wrong-reason reds and edited or skipped tests.

Testing & QA
No risky patterns found
terse-mode
milad-ahmd/agent-skills

Switches chat replies to a short, dense style for the session, keeping commands, code and warnings intact.

Development
No risky patterns found
ui-taste
milad-ahmd/agent-skills

Polishes a web UI so it looks deliberate, not generic or AI-made, moving font sizes, spacing and near-duplicate colours into tokens.

Frontend & UI
No risky patterns found
youtube-script-writer
milad-ahmd/agent-skills

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 …

Writing & Marketing
No risky patterns found
social-analytics-reporter
milad-ahmd/agent-skills

Turns social analytics exports (Instagram Insights, TikTok, YouTube Studio, LinkedIn, X) into a monthly report.

Data & Databases
No risky patterns found

Related skills in Data & Databases

hyperframes-registry
heygen-com/hyperframes

About 450 ready-made HyperFrames blocks and components installed as editable source - transitions, overlays, titles, kinetic type, captions, charts, map overlays, 3D, camera moves.

Data & Databases 1391k installs curated
No risky patterns found
azure-storage
microsoft/azure-skills

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 …

Data & Databases 748k installs curated
No risky patterns found
azure-kusto
microsoft/azure-skills

Query and analyze data in Azure Data Explorer (Kusto/ADX) using KQL for log analytics, telemetry, and time series analysis.

Data & Databases 747k installs curated
No risky patterns found
supabase-postgres-best-practices
supabase/agent-skills

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 …

Data & Databases 492k installs
No risky patterns found
prisma-database-setup
prisma/skills

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.

Data & Databases 438k installs
No risky patterns found
prisma-postgres
prisma/skills

Deprecated compatibility name for prisma-postgres-setup. Use only when a user or existing integration explicitly invokes prisma-postgres; otherwise select prisma-postgres-setup.

Data & Databases 430k installs
No risky patterns found
prisma-postgres-setup
prisma/skills

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 …

Data & Databases 425k installs
Worth a look
prisma-driver-adapter-implementation
prisma/skills

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.

Data & Databases 425k installs
No risky patterns found