The form every Bash command of a BDK agent takes - each command alone with its arguments written out, free text without backtick or $, files read with Read, Grep and Glob - and what a denied command means. Preloaded into every bdk agent; not for users. Use when a BDK agent runs a command.
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 Command Rules?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/broneq-command-rules)
---
name: command-rules
description: 'The form every Bash command of a BDK agent takes - each command alone with its arguments written out, free text without backtick or $, files read with Read, Grep and Glob - and what a denied command means. Preloaded into every bdk agent; not for users. Use when a BDK agent runs a command.'
user-invocable: false
---
# How a BDK agent runs a command
The project allows `bdk`, `lavish-axi`, `git` and the other commands one at a time (`Bash(${CLAUDE_PLUGIN_ROOT}/bin/bdk *)` and the like), matched against the command as written; any other form is denied whole.
- Run each command as the whole Bash command, as the steps write it (`"${CLAUDE_PLUGIN_ROOT}/bin/bdk"` and each argument written out): nothing before or after it, no `cd`, `;`, `&&`, `||`, `|` or `echo`, no shell variable or `$(...)`. You already work in the project root, and the result shows the exit code.
- Write free text (`--summary`, `--evidence`, `--reason`) as plain words with no backtick, `$` or backslash: the shell reads them as a substitution inside the quotes, and the call is denied.
- Read, list and search files with Read, Glob and Grep, never `cat`, `ls`, `find` or `grep` through Bash.
- The one exception is a form your block writes out for one case, such as `cd <path> && "${CLAUDE_PLUGIN_ROOT}/bin/bdk" <command>` under `--workdir`.
A denied command says nothing about the work: never report it as a problem of the artifact, the code or a finding. When a command in this form is still denied, do not try another form: stop and return the command and the denial, or report it as your block says, so the caller sees an environment problem.