query-explain

by Plagemes · ★ 8 · updated 15 Oct 2026

PanesCommandswarnings

0

/explain-query runs EXPLAIN on your local database and explains the plan in plain words.

install query-explain

Install

/plugin marketplace add Plagemes/claude-mods
/plugin install query-explain@claude-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startcommand.runui.render
API calls
$.clock.after$.command.register$.env.get$.fs.exists$.fs.read$.model.complete$.process.run$.prompt.fill$.session.cwd$.state.get$.state.set$.ui.close$.ui.copy$.ui.invalidate$.ui.log$.ui.open$.ui.resolve$.ui.selection$.ui.toast
Draws
Pane
Reach
level 2 of 3 runs processesdrives Claudewrites the prompt boxwrites the clipboardreads filesreads env varsreads the selectionreads mod statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/Plagemes/claude-mods
Path in repo
mods/query-explain
Source commit
e9815ce the exact code the scan read
Author
@Plagemes
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from Plagemes/claude-mods

query-result-cap

Plagemes/claude-mods

Adds a LIMIT to ad-hoc SELECTs Claude runs in psql, mysql or sqlite so results don't flood the context.

★ 8Guards

quick-commands

Plagemes/claude-mods

Short aliases like /t, /l and /b that run your test, lint and build commands.

★ 8GuardsCommandsAutomation

quiet-mode

Plagemes/claude-mods

/quiet silences toasts and sounds from every mod while you focus.

★ 8Status lineCommands

quiz-me

Plagemes/claude-mods

/quiz asks you questions about the code Claude just wrote, to check you really understand it.

★ 8PanesGuardsCommands

quote-selection

Plagemes/claude-mods

/quote pastes your mouse selection into the prompt as a Markdown quote.

★ 8CommandsAutomation

rate-limit-guard

Plagemes/claude-mods

Stops Claude from hammering external APIs with curl loops.

★ 8ToastsGuards

react-doctor

Plagemes/claude-mods

Catches React hook mistakes as Claude writes them: missing effect deps, setState in render, conditional hooks.

★ 8Status lineGuards

readme-sync

Plagemes/claude-mods

Warns when public APIs, CLI flags or env vars change but the docs do not.

★ 8BandsGuards

recall

Plagemes/claude-mods

Gives Claude a recall tool to search your saved notes, decisions and journal.

★ 8PanesGuardsCommands

recent-files

Plagemes/claude-mods

/recent lists the files read and edited in this session, newest first.

★ 8GuardsCommandsAutomation

redactor

Plagemes/claude-mods

Masks secrets and personal data in tool results before the model ever reads them.

★ 8Status lineGuards

regression-guard

Plagemes/claude-mods

Remembers which tests passed at the start of the session and warns if any of them now fail.

★ 8BandsStatus lineGuards

Other mods in Panes, close to this one by stars.