reduce-foreground-guard-prompts SKILL.md skillA
reduce-foreground-guard-prompts from karlkfi/claude-bouncer is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add karlkfi/claude-bouncer/reduce-foreground-guard-prompts@git:20261004.442c86ePins git:20261004.442c86e in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- karlkfi/claude-bouncer
- Path
plugins/foreground-guard/skills/reduce-foreground-guard-prompts/SKILL.md- Versions recorded
- 2
- Latest version
- git:20261004.442c86e, committed Oct 4, 2026
- First version recorded
- Aug 22, 2026
- Size
- 13,075 bytes
- Repository stars
- 13
- License
- MIT
Explain why foreground-guard is prompting on Bash commands and how to stop the avoidable prompts. Use when the user asks "why am I getting so many foreground-guard prompts", "reduce foreground-guard prompts", "stop the watch/sleep/gh run watch permission prompts", or otherwise wants fewer confirmation prompts from this hook.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Reducing foreground-guard prompts foreground-guard is a `PreToolUse` hook for `Bash` that guards the session's **main-thread time**. It blocks in two classes and defers silently on everything else. The verdict is `deny` by default: the resource at stake is the session's own time, so every finding carries a rewrite the agent can apply and nobody has to be woken. `"action": "ask"` on either class turns the denies back into prompts for someone who wants to watch the guard work. - **Class A — foreground poll/watch**: a command that parks the main thread on a live view — watch/follow modes (`gh run watch`, `gh pr checks --watch`, `kubectl logs -f`, `kubectl get -w`, `tail -f`, `journalctl -f`, `docker logs -f`, `watch ...`), a `while`/`until`/`for` loop that polls with `sleep`, a chained repeat-with-sleep (`cmd; sleep N; cmd`), or a bare `sleep N` at/above the floor (default 10s). `run_in_background: true` does **not** exempt Class A: a detached poll still holds a task slot for the whole wait and hands back output whose freshness the agent can't judge, so it still blocks. - **Class B — slow command with an inadequate timeout**: a command the repo …
Read the whole file at its exact version.
How to install
mdr add karlkfi/claude-bouncer/reduce-foreground-guard-prompts@sha256:20954d4d53574735The line at the top of this page pins the label git:20261004.442c86e, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_p2oshvbifnvaeazm)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Aug 22, 2026 and Oct 4, 2026, about one every 44 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261004.442c86e latest | 2026-10-04 | 442c86e | 13,075 B | A | view · diff |
| git:20260822.35bc521 | 2026-08-22 | 35bc521 | 12,985 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (13075 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
karlkfi/claude-bouncer · 13 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_p2oshvbifnvaeazm GET https://markdownregistry.com/api/v1/resolve?ref=karlkfi/claude-bouncer/reduce-foreground-guard-prompts GET https://markdownregistry.com/api/v1/blob/20954d4d53574735c2532d11f0e76dfa74a35958a4e50fa5586cafb6e83075d7
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.