Skip to content
Back to skills

Command Rules

ASecurity

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.

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

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add broneq/bdk --skill command-rules --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Command Rules?

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

Security grade badge for Command Rules
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/broneq-command-rules/badge)](https://www.skillsdirectory.com/skills/broneq-command-rules)

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: 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.

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.