ask-guard
by Stephan Schreiber · ★ 3 · updated yesterday
Sends Claude back when a reply ends on a yes/no question written as prose instead of AskUserQuestion
Install
/plugin marketplace add schreibse/claude-code-mods/plugin install ask-guard@schreibse-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
classic.Stop- Can see
classic hooks- 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/schreibse/claude-code-mods
- Path in repo
ask-guard- Source commit
b2c2029the exact code the scan read- Author
- Stephan Schreiber @schreibse
- 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 schreibse/claude-code-mods
coderabbit-band
schreibse/claude-code-mods
A band above the prompt with the open CodeRabbit threads and nitpicks of the branch's MR
handover
schreibse/claude-code-mods
The handover sentence for a cold session, one per session: a band above the prompt, /handover-copy to copy it, after /clear it waits in the prompt, and /handover picks or drops one in a new terminal
mem-guard
schreibse/claude-code-mods
Bash memory rules: Node commands run in claude-cmd.slice, and runs that would starve the machine are refused
mr-banner
schreibse/claude-code-mods
A colored card with a link under each MR/PR created, merged, approved or reviewed
needs-you
schreibse/claude-code-mods
Lines where Claude waits on you are drawn in colour and pinned in a band above the prompt
quiet-bash
schreibse/claude-code-mods
One-line tool rows, tool output hidden, inline PNG thumbnails; /quiet shows everything, /thumb shows a PNG
quiet-spinner
schreibse/claude-code-mods
Plain words for the turn spinner and the turn-duration line
redact
schreibse/claude-code-mods
Secrets found by betterleaks reach the model as ‹secret:…› tokens; Write/Edit restore them, other tools refuse them
reminder-log
schreibse/claude-code-mods
Tallies the reminders Claude Code injects for the model, per session; drops the token counter and repeated attribution blocks; /reminders prints the last 30 days
repo-line
schreibse/claude-code-mods
A line right above the prompt with the repository's name as a badge in the repository's own colour, the branch and the worktree, so a prompt never goes to the wrong session
review-walk
schreibse/claude-code-mods
Walk a code review's findings one at a time: the skill asks per finding, the mod draws Finding N/M with a progress bar and the decisions so far
stack-down
schreibse/claude-code-mods
On /clear and exit, stops the session repo's nx processes and brings its Compose projects down.