Diagnose Queries

Use when a database query or query-backed endpoint is slow — this query is slow, the page takes forever, DB is pegged, find the slow queries, why is this endpoint slow, N+1 suspicion, query timeouts, high p99 latency, EXPLAIN or plan analysis, a slow Snowflake/dbt model, or a query that used to be fast. Routes to one of five diagnostic modes (analyze a known query, locate an unknown offender, triage a live incident, audit proactively, or chase a regression), runs the right toolkit (EXPLAIN ANALYZE, pg_stat_statements, pg_stat_activity, APM/DBM tracing, Snowflake Query Profile), and produces a root-caused fix with before/after verification.

mnox b49aaac 5 files · 38.2 KB Updated

File contents

mnox/mnox-ai/tree/main/plugins/diagnose-queries/skills/diagnose-queries commit b49aaacd9a

Frequently asked questions

npx skillmds@latest add mnox/diagnose-queries