CLAUDE.md@plugins/foreground-guardA
CLAUDE.md@plugins/foreground-guard from karlkfi/claude-bouncer is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.
mdr add karlkfi/claude-bouncer/plugins/foreground-guard/CLAUDE.md@git:20261004.9e4ee8cPins git:20261004.9e4ee8c in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- CLAUDE.md file
- Repository
- karlkfi/claude-bouncer
- Path
plugins/foreground-guard/CLAUDE.md- Versions recorded
- 4
- Latest version
- git:20261004.9e4ee8c, committed Oct 4, 2026
- First version recorded
- Aug 22, 2026
- Size
- 6,465 bytes
- Repository stars
- 13
- License
- MIT
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
# foreground-guard A Claude Code plugin that adds a `PreToolUse` hook for `Bash`. It guards the session's **main-thread time**: Class A catches foreground polling/watching (`gh run watch`, `kubectl logs -f`, `tail -f`, `watch`, `sleep`-loops, repeat-with-sleep chains, long bare `sleep`s); Class B catches commands the repo has registered as slow when they are about to run with an inadequate Bash-call timeout. Everything else defers silently. Both classes **deny**, and the reason carries the rewrite the agent applies. The verdict routes the uncertainty to whoever can resolve it, and here that is never the human: the resource at stake is the session's own main thread, so a person at the prompt holds no fact the agent lacks, and Class B's fixes are parameters of the Bash call that only the agent can re-issue. `"action": "ask"` on either class de-escalates it to a prompt — the supervised posture, opt-in because it is the setting that spends attention. A `FOREGROUND_GUARD_OVERRIDE=<reason>` prefix makes the hook defer, in every permission mode. See `README.md` for the decision table, covered forms, exemptions, and config reference. …
Read the whole file at its exact version.
How to install
mdr add karlkfi/claude-bouncer/plugins/foreground-guard/CLAUDE.md@sha256:2ebb3969a763c8aeThe line at the top of this page pins the label git:20261004.9e4ee8c, 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_bbrmhz6iev5ndgy6)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Aug 22, 2026 and Oct 4, 2026, about one every 15 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261004.9e4ee8c latest | 2026-10-04 | 9e4ee8c | 6,465 B | A | view · diff |
| git:20261002.c0bf6c4 | 2026-10-02 | c0bf6c4 | 6,181 B | A | view · diff |
| git:20260822.d93f202 | 2026-08-22 | d93f202 | 5,550 B | A | view · diff |
| git:20260822.35bc521 | 2026-08-22 | 35bc521 | 5,548 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (6465 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_bbrmhz6iev5ndgy6 GET https://markdownregistry.com/api/v1/resolve?ref=karlkfi/claude-bouncer/plugins/foreground-guard/CLAUDE.md GET https://markdownregistry.com/api/v1/blob/2ebb3969a763c8ae053a8f02a71c909dc13fc46ca6a746d9d2c8e41589f1966e
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: what a CLAUDE.md file is · keeping AGENTS.md and CLAUDE.md in sync · which agent file does what.