How a BDK agent runs a check point - bdk check prepare, each printed line as its own Bash call, bdk check record. Preloaded into bdk:implementer, bdk:conformer and bdk:lead; not for users. Use when a BDK block says to run a check.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Check Protocol?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/broneq-check-protocol)
---
name: check-protocol
description: 'How a BDK agent runs a check point - bdk check prepare, each printed line as its own Bash call, bdk check record. Preloaded into bdk:implementer, bdk:conformer and bdk:lead; not for users. Use when a BDK block says to run a check.'
user-invocable: false
---
# How to run a check
Three steps, each its own Bash call; the block gives the check's id and flags. "Run the check again" means all three again.
1. **Prepare:** `"${CLAUDE_PLUGIN_ROOT}/bin/bdk" check prepare <run-dir> <id> ...`. It runs nothing and prints, per check, a header with its Bash timeout and the line to run indented under it, then the record call to make (also after `nothing to run`, whose verdict is `none`).
2. **Run:** each printed line as its own Bash call from the project root, character for character, with its header's `timeout`, in plan order, in the foreground, one after another unless the block sends them in one message with its agent calls. Add nothing to a line (no `cd`, pipe, `tail` or `echo`): it already writes its whole output to a file, and a longer call is refused. No `Exit code` line in the result means code 0; a non-zero code is a result, not an error: go on.
3. **Record:** `"${CLAUDE_PLUGIN_ROOT}/bin/bdk" check record <run-dir> <id> --exit <kind>-<tool>=<code> ...`, one `--exit` per line with its code, or `--timed-out <kind>-<tool>` for a line the tool ended at its timeout, plus the block's flags. It writes `checks/<id>.json`, prints the verdict and the last 20 lines of each red check (read the output file for more), and exits 1 on a red verdict, which is a result. A line not reported is `not-run`, and the verdict is `fail`.
Never run a test, linter or build command other than a printed line, nor one that installs, spends money or reaches the network. A note under a header goes into your report as a decision taken without the user. A line the host refuses is recorded without a code; your block says how to report it.