query-explain
by Plagemes · ★ 8 · updated 15 Oct 2026
/explain-query runs EXPLAIN on your local database and explains the plan in plain words.
Install
/plugin marketplace add Plagemes/claude-mods/plugin install query-explain@claude-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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
e9815cethe 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.
quick-commands
Plagemes/claude-mods
Short aliases like /t, /l and /b that run your test, lint and build commands.
quiet-mode
Plagemes/claude-mods
/quiet silences toasts and sounds from every mod while you focus.
quiz-me
Plagemes/claude-mods
/quiz asks you questions about the code Claude just wrote, to check you really understand it.
quote-selection
Plagemes/claude-mods
/quote pastes your mouse selection into the prompt as a Markdown quote.
rate-limit-guard
Plagemes/claude-mods
Stops Claude from hammering external APIs with curl loops.
react-doctor
Plagemes/claude-mods
Catches React hook mistakes as Claude writes them: missing effect deps, setState in render, conditional hooks.
readme-sync
Plagemes/claude-mods
Warns when public APIs, CLI flags or env vars change but the docs do not.
recall
Plagemes/claude-mods
Gives Claude a recall tool to search your saved notes, decisions and journal.
recent-files
Plagemes/claude-mods
/recent lists the files read and edited in this session, newest first.
redactor
Plagemes/claude-mods
Masks secrets and personal data in tool results before the model ever reads them.
regression-guard
Plagemes/claude-mods
Remembers which tests passed at the start of the session and warns if any of them now fail.
Related mods
Other mods in Panes, close to this one by stars.