Borrowing it
Nothing to install: this file belongs to cbmono/ai-setup. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/cbmono/ai-setup/main/.claude/commands/grill.mdgit clone --depth 1 https://github.com/cbmono/ai-setupWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/cbmono/ai-setup/grill)<a href="https://agentmods.dev/commands/cbmono/ai-setup/grill"><img src="https://agentmods.dev/badge/commands/cbmono/ai-setup/grill/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/cbmono/ai-setup/grill"><img src="https://agentmods.dev/badge/commands/cbmono/ai-setup/grill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.02581 |
| Opus 5.5 | $0.00000 | $0.01032 |
| Sonnet 5.5 | $0.00000 | $0.00516 |
| Haiku 4.5 | $0.00000 | $0.00258 |
Grade A, and why
grill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Grill the current changes before they become a PR. Fan out independent reviewers to attack your diff from every angle.
/grill reviews a diff — code you've already written, on its way to a PR. To grill an approach before any code exists, use /plan instead. (Same adversarial fan-out, different target: /plan attacks the reasoning, /grill attacks the change.)
Steps
-
Read the working tree as one payload:
git diff HEAD(staged and unstaged in a single patch — notgit diffplus a separategit diff --cached, which splits a file that is staged and further edited into two half-patches no reviewer sees whole), then append the contents of every untracked, non-ignored file (git ls-files --others --exclude-standard) under a heading marking them as new files. An untracked file appears in nogit diffoutput at all, so a whole new module would otherwise be grilled as if it didn't exist. Skip binaries; name anything you skip for size. If the diff is empty and there are no untracked files, say there's nothing to grill and stop. -
If that payload is only prose doc/config changes, skip the fan-out — there's nothing to attack. Note it and stop. Embedded code counts as executable — a changed
.mdcarrying a fenced```js/```ts/```shblock (e.g. a slash-command Workflow script) is in scope, even when every changed file is a.md. -
Grill the diff adversarially. Reviewing your own diff self-anchors — you defend the choices you just made. Instead, fan out independent reviewer subagents, each a fresh context with one lens, none of them attached to the code. Synthesis stays with you (the main loop).
Size the grill to the diff — this is the cost dial; don't throw 8 Opus reviewers at a one-file change. Announce the setup in one line and let the user retune before launching. Invoking
/grillis your opt-in to run the Workflow, so don't ask whether — only let them change the model or lens set:- Small (a focused change — one file or one concern) → the core 4 lenses (★) on Sonnet.
- Large (cross-cutting, multiple files/subsystems, or security-sensitive) → all 8 lenses on Opus.
- e.g. "Small diff → core 4 lenses on Sonnet. Say 'opus' or 'all 8' to widen, otherwise I'll launch."
- Frontend diffs (changed
.tsx/.jsx/.vue/.svelte/.htmlor component/page files) → invoke thetest-locatorsskill first (it carries the authoritative convention), then add thelocatorslens below to whichever set you chose. Skip it for backend-only diffs.
The lenses (core 4 marked ★) — each reviewer gets exactly one:
- ★ correctness — What input breaks this hunk? What edge case is assumed away (empty, null, boundary, large)?
- ★ failure_modes — What happens on network error, disk full, parse error, null? Any swallowed error or unhandled rejection?
- ★ tests — What does each test actually assert? Could it pass without the code under test doing anything? What path is untested?
- ★ architecture — Layering, naming, dependency choices, abstraction shape. Does this fight the grain of the surrounding code?
- concurrency — What if two callers hit this simultaneously? What if the request is retried? Any shared mutable state?
- observability — How would we notice if this silently misbehaved in prod? Are the new failure paths logged/measured?
- scope — What was added that the task didn't require? A premature abstraction, an unrelated refactor bundled in?
- security — Untrusted input reaching a sink (SQL, shell, fs, HTML)? A missing authz check? A secret logged or committed?
- locators (frontend diffs only) — Apply the
test-locatorsskill: every interactive or asserted element (button, link, input, select, checkbox, form, modal, list item) needs a stabledata-testid/data-test; flag missing ones and brittle names (position/index/CSS-class/color, e.g.country-card-0). Names should be<feature>-<element>-<purpose>, kebab-case, by business meaning.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 125 lines · 0 tokens per session scan A 5f0edc8e5b71
grill is a command published in the GitHub repository cbmono/ai-setup (2 stars, last pushed 10d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,581 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
review-branch
Review the current branch's diff against base by dispatching atomic-reviewer. No orchestration loop, no spec required — pre-flight before /commit pr or /commit merge.
refactor
Systematic code refactoring with smart scope detection.
init
Install the formatters this repository needs, with every command visible before it runs.
spec-trace-requirements
You are verifying that implementation changes trace back to specification requirements.
merge-conflict-analysis
You are analyzing merge conflicts for PR #${{ pr-number }}.
boot
Start a new PromptKit prompt assembly session (alias for /bootstrap).