sql-query-optimizerAnalyze and optimize SQL queries by providing performance analysis, index recommendations, execution plan interpretation, and optimization suggestions.
Install via ClawdBot CLI:
clawdbot install HonestQiao/sql-query-optimizerGrade Fair — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Generated Mar 20, 2026
An e-commerce site experiences slow product search queries during peak traffic. The skill analyzes queries like SELECT * FROM products WHERE name LIKE '%shoes%' and suggests indexing the name column, avoiding wildcard prefixes, and limiting results to improve response times.
A bank needs to generate daily transaction reports from large datasets. The skill detects inefficient queries such as nested subqueries and recommends using JOINs and proper WHERE clauses to reduce execution time and resource usage.
A hospital's database struggles with slow patient record retrieval. The skill identifies issues like missing LIMIT in queries and suggests adding indexes on patient IDs and optimizing SELECT statements to speed up access for medical staff.
A SaaS provider faces performance degradation as user data grows. The skill analyzes execution plans for user management queries, recommending index additions and avoiding SELECT * to maintain fast query responses and support scaling.
Offer basic query analysis for free to attract users, with premium features like advanced optimization suggestions and priority support for a monthly subscription fee. Targets small to medium businesses.
Provide personalized SQL optimization consulting for enterprises, including on-site training and custom integration. Revenue comes from project-based contracts and ongoing maintenance agreements.
License the skill as an API for integration into other database management tools or platforms. Charge based on usage volume, such as per query analyzed or monthly active users.
💬 Integration Tip
Integrate this skill into CI/CD pipelines to automatically analyze SQL queries during code reviews, catching performance issues early in development.
Scored Apr 19, 2026
Use the @steipete/oracle CLI to bundle a prompt plus the right files and get a second-model review (API or browser) for debugging, refactors, design checks, or cross-validation.
Local search/indexing CLI (BM25 + vectors + rerank) with MCP mode.
Use when designing database schemas, writing migrations, optimizing SQL queries, fixing N+1 problems, creating indexes, setting up PostgreSQL, configuring EF Core, implementing caching, partitioning tables, or any database performance question.
Connect to Supabase for database operations, vector search, and storage. Use for storing data, running SQL queries, similarity search with pgvector, and managing tables. Triggers on requests involving databases, vector stores, embeddings, or Supabase specifically.
Use SQLite correctly with proper concurrency, pragmas, and type handling.
Write correct MySQL queries avoiding common pitfalls with character sets, indexes, and locking.