Skip to content
Back to skills

Check Protocol

ASecurity

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.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
ai-agentsgobash

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add broneq/bdk --skill check-protocol --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Check Protocol?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Check Protocol
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/broneq-check-protocol/badge)](https://www.skillsdirectory.com/skills/broneq-check-protocol)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.