Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/cbmono/ai-setup/grillgit clone --depth 1 https://github.com/cbmono/ai-setupWhat 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 | $0.00000 | $0.02581 |
| Opus 5 | $0.00000 | $0.01290 |
| Sonnet 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 yesterday.
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.
- yesterday 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 8d 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
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.