Skip to main content
F

/flux-query

FluxData & Databases

Optimizes slow database queries by reading execution plans, identifying missing indexes, rewriting inefficient joins and subqueries, and suggesting caching strategies where appropriate. Explains why each change helps so you can apply the same reasoning to future query problems.

Install

This skill

Install Flux Query

1. Add to marketplace

$ claude plugin marketplace add tonone-ai/tonone

2. Install this skill

$ claude plugin install flux-query@tonone-ai

The agent

Install Flux

1. Add to marketplace

$ claude plugin marketplace add tonone-ai/tonone

2. Install Flux

$ claude plugin install flux@tonone-ai

Want all 31 agents across both teams?

Full installation guide

Invoke this skill

Command|$ /flux-query

When to use

When specific queries are slow in production or staging and it is not clear why. When pg_stat_statements or slow query logs show high-cost queries that are running frequently. When preparing for a traffic spike and you need to identify database bottlenecks before load arrives.

Deep dive

AI Slow Query Optimizer

Most slow queries have a fixable execution plan. /flux-query reads the plan, identifies missing indexes and bad joins, rewrites the query, and explains the reasoning.

Read the article

More from Flux

All Flux skills

Ready to use Flux Query?