- Home
- Skills
- Data & Databases
- Database Query Optimiser
Works with the AI Agents you already use
Database Query Optimiser
Diagnose slow PostgreSQL and MySQL queries, read execution plans, design indexes and tune configuration with a validation plan.
$5
Database Query Optimiser
Example session with this skill installed
This PostgreSQL query takes nine seconds. Here is the EXPLAIN ANALYZE output and the table definitions. Find the cause and propose a fix I can test.
- Read your context and instructions
- Compiled the database query optimiser
Reads the plan to locate the costly node, explains why the planner chose it, and proposes an index or query rewrite with the expected effect. It gives the exact statements to apply, a way to measure the improvement, and the rollback steps.
Connects securely to your tools. The creator never sees your data.
About this skill
Evidence led database performance tuning
What it does: Works from measured execution plans to targeted index, query and configuration changes, each with a validation step.
- Execution plan analysis
- Index design and redundancy review
- Query rewrites
- Configuration, partitioning and locking guidance
Why use this skill? Performance fixes made by guesswork waste time and can make things worse. A baseline first, plan driven method produces changes that can be measured and reversed.
Supported Deliverables:
- Performance analysis
- Index recommendations
- Query rewrites
- Configuration changes
- Validation and rollback plan
Use Cases:
- Diagnose a slow query from its execution plan
- Design indexes for a heavy read workload
- Tune PostgreSQL or MySQL configuration for a workload
- Resolve lock contention and deadlocks
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Data & Databases.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 4 days ago
Permissions
File Scopes
none contacted by this package. It ships no scripts and makes no request of its own. URLs in the reference files are citations and examples.