Tuner

Analyze query execution plans and recommend indexes for PostgreSQL, MySQL, and SQLite.

68|14|Updated Jan 7, 2026
One-click install
npx skills add https://github.com/simota/agent-skills --skill tuner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Tuner
Source: https://github.com/simota/agent-skills/tree/main/tuner
Command: npx skills add https://github.com/simota/agent-skills --skill tuner

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses database performance bottlenecks, slow queries, and inefficient execution plans, ensuring your applications run smoothly and efficiently.

Core Features & Use Cases

  • Query Analysis: Analyzes query execution plans using EXPLAIN ANALYZE to pinpoint performance issues.
  • Index Recommendations: Suggests optimal indexing strategies to speed up data retrieval.
  • Slow Query Detection & Correction: Identifies and helps fix slow-running queries.
  • Schema Optimization: Provides guidance on schema design for better query performance.
  • Use Case: When your application experiences slow load times due to database operations, Tuner can analyze the problematic queries, identify missing indexes or inefficient joins, and provide actionable recommendations for improvement.

Quick Start

Use the Tuner skill to analyze the execution plan for the query 'SELECT * FROM users WHERE created_at > ''2023-01-01'';'.

Frequently Asked Questions about Tuner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize slow database queries causing application load delays?

To optimize slow database queries, analyze query execution plans using EXPLAIN ANALYZE to pinpoint performance issues, identify missing indexes, and correct inefficient joins. This provides actionable tuning advice to resolve application load delays caused by database operations.

Does query optimization work with PostgreSQL, MySQL, and SQLite?

Yes, query optimization works with PostgreSQL, MySQL, and SQLite. It analyzes execution plans and provides detailed diagnostics and actionable tuning advice tailored for these three database systems to resolve performance bottlenecks.

What is the best way to find missing indexes for SQL performance tuning?

The best way to find missing indexes for SQL performance tuning is by analyzing query execution plans. It evaluates your queries to suggest optimal indexing strategies that speed up data retrieval and correct inefficient execution plans.

How do I analyze an EXPLAIN ANALYZE execution plan to fix slow queries?

You analyze an EXPLAIN ANALYZE execution plan by running problematic queries through the tool, which detects slow-running operations, pinpoints performance issues within the plan, and provides actionable recommendations to fix the slow queries.

When do I need schema design optimization for better database performance?

You need schema design optimization when your application experiences slow load times due to database operations. Optimizing your schema design ensures better query performance by addressing inefficient execution plans and data retrieval bottlenecks.