cmd-grade

cmd-grade is a command for Claude Code from AgentsORG/design-engineering. It costs 0 tokens per session (875 once invoked), scanned A, original, MIT.

A command that grades a design change or agent run using files, a diff, rendered evidence such as screenshots, and optionally a conversation transcript.

In plain words
What is it for?
Use it to grade a pull request, page, interface, or agent run on one shared scale.
Why use it?
It applies deterministic checks before human-like judges, so clear problems can limit the score and unsupported claims can be flagged.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

Part of the design-engineering plugin — 1 skill, 17 commands, 13 agents, 1 hook shipped together

Good fit Use it to grade a pull request, page, interface, or agent run on one shared scale.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/agentsorg/design-engineering/cmd-grade
Install

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.

Clone the repo
git clone --depth 1 https://github.com/AgentsORG/design-engineering

Made for: Claude Code.

Or install design-engineering, the plugin that ships this one along with the rest of its 1 skill, 17 commands, 13 agents, 1 hook.

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

agentmods badge for cmd-grade

README.md
[![agentmods](https://agentmods.dev/badge/commands/agentsorg/design-engineering/cmd-grade/github.svg)](https://agentmods.dev/commands/agentsorg/design-engineering/cmd-grade)
Your own site
<a href="https://agentmods.dev/commands/agentsorg/design-engineering/cmd-grade"><img src="https://agentmods.dev/badge/commands/agentsorg/design-engineering/cmd-grade/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.

agentmods 80×15 button for cmd-grade

Your own site · 80×15
<a href="https://agentmods.dev/commands/agentsorg/design-engineering/cmd-grade"><img src="https://agentmods.dev/badge/commands/agentsorg/design-engineering/cmd-grade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 875 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00875
Opus 5.5 $0.00000 $0.00350
Sonnet 5.5 $0.00000 $0.00175
Haiku 4.5 $0.00000 $0.00088

Measured 20d ago against content hash c698d6f501eb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cmd-grade 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 20d 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.

skills/design-engineering/references/commands/cmd-grade.md · 40 lines

How it starts

The opening of the file, as written. The whole thing — 40 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/design-engineering grade

Judge posture: grade and report, never fix. The same procedure grades a person's pull request, an agent run with this skill and one without it, so all three land on one scale ([[grading-rubric]]).

Steps

  1. Assemble the episode. The brief (a file or the user's words), the changed files or a unified diff, the rendered evidence (screenshots, films, contact sheets) and, if there is one, the transcript (.jsonl from Claude Code, or plain text).
  2. Checks only, first. node scripts/grade.mjs --checks-only <files|dirs> [--diff change.diff] [--evidence ...]. Each finding is a Before / After / Why fact with file:line that caps one axis: a blocker at 4, a should at 6, a nit at 8, three shoulds at 5. No rendered evidence caps Verification.
  3. The gaming check. Add --transcript session.jsonl or --claims "passes AA, respects reduced motion". A claim the checks contradict caps Verification at 3 and is listed.
  4. Dry run before any model. --dry-run writes secret-scrubbed copies of the episode and prints exactly what a judge would receive (tool output in a transcript is dropped; only human and agent turns travel). Nothing is sent.
  5. Judges, if asked. --judges claude,codex hands the scrubbed episode to scripts/council.mjs. Only a judge's score lifts an axis; the axis score is the judges' median for its categories, clamped to the ceiling. An axis nobody scored reads unjudged.
  6. Read the card. .design-grade/<hash>/REPORT.md and grade.json. The same inputs return the cached card; --reroll runs again and the card records it.
  7. Add what a script cannot see: the moves the diff shows ([[design-moves]]), never the ones the narration claims, and a counterweight per axis.

Output

Per axis (Craft, Motion, Restraint, Access, Verification, and Direction only when a human steered an agent): title with score or ceiling and band, facts as a [[review-format]] table, interpretation in band words, counterweight, confidence. Then the gaming check and what was not checked. Bands are the only quality words: generated, passable, crafted, refined, reference-grade.

Read the full file on GitHub · 40 lines

Changes

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.

  1. 20d ago Changed · +4 lines c698d6f501eb
  2. 21d ago Changed 60528a4160ab
  3. 23d ago First seen · 36 lines · 0 tokens per session scan A e82494a264ab

Subscribe to this mod's changes

cmd-grade is a command published in the GitHub repository AgentsORG/design-engineering (48 stars, last pushed 16d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 875 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-11-07.

Related

cmd-grade compared with commands from other repositories

cmd-grade next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cmd-gradeAgentsORG/design-engineeringCommand4816d agoMITA0Claude Code
anti-slop-designerimsaif/design-with-claudeCommand1113d agoMITA44Claude Code
design-criticimsaif/design-with-claudeCommand1113d agoMITA41Claude Code
design-enforceimsaif/design-with-claudeCommand1113d agoMITA40Claude Code
design-grillimsaif/design-with-claudeCommand1113d agoMITA38Claude Code
design-triageimsaif/design-with-claudeCommand1113d agoMITA33Claude Code
auditAboudjem/ui-ux-suiteCommand812d agoMITA26Claude Code