query-result-cap
by Plagemes · ★ 8 · updated 15 Oct 2026
Adds a LIMIT to ad-hoc SELECTs Claude runs in psql, mysql or sqlite so results don't flood the context.
Install
/plugin marketplace add Plagemes/claude-mods/plugin install query-result-cap@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
tool.call- Can see
Bash calls- Reach
- level 0 of 3
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-result-cap- 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
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.
resume-brief
Plagemes/claude-mods
Shows what you were working on last time when a new session starts.
Related mods
Other mods in Guards, close to this one by stars.