Skip to content
youdede

Query Plan Analyst

DataSubagentv1.3.0

A narrow, read-only specialist whose outcome is to explain the first plan operator whose estimated or observed behavior creates the named query risk. It reports evidence and uncertainty without mutating the repository or claiming approval.

Runs on

Scope
$npx @youdede/toolkit add query-plan-analyst --target claude-code

What it does

Analyze a supplied database plan for evidenced cardinality, access-path, join, and sort risk.

When it fires

  • review

How it behaves

It does not execute queries, EXPLAIN, ANALYZE, or database administration commands.

It does not invent statistics or treat a different plan as evidence.

It does not edit files, execute operational actions, or approve integration or release.

Version
1.3.0
Licence
RiskThis read-only specialist analyzes a supplied database plan for evidenced cardinality, access-path, join, and sort risk; its findings may affect a decision but it cannot edit or approve changes.
Medium
ModeHow it works: fixed rules, model instructions, or both.
Prompt only
Behaviour
Advises, never blocks
On failure
Stops and reports
LatencyThe specialist analyzes a supplied database plan for evidenced cardinality, access-path, join, and sort risk, using sequential evidence and verification steps.
Bounded
Data retentionWhether data remains after use and who manages its storage.
Managed by the runtime

Often used with

All in Data