grade

grade is a command for coding agents from Manavarya09/design-extract. It costs 35 tokens per session (297 once invoked), scanned A, original, MIT.

A command that audits a website’s visual design and produces a shareable report card with a letter grade, evidence, strengths, and suggested fixes.

In plain words
What is it for?
Reviewing a URL across eight design dimensions and generating HTML, JSON, Markdown, and optionally an SVG badge.
Why use it?
It gives teams a structured way to identify design problems instead of relying only on subjective feedback.

Command

Part of the designlang plugin — 2 skills, 14 commands shipped together

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.

agentmods
npx agentmods add commands/manavarya09/design-extract/grade
Clone the repo
git clone --depth 1 https://github.com/Manavarya09/design-extract

Or install designlang, the plugin that ships this one along with the rest of its 2 skills, 14 commands.

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 grade

README.md
[![agentmods](https://agentmods.dev/badge/commands/manavarya09/design-extract/grade.svg)](https://agentmods.dev/commands/manavarya09/design-extract/grade)
Your own site
<a href="https://agentmods.dev/commands/manavarya09/design-extract/grade"><img src="https://agentmods.dev/badge/commands/manavarya09/design-extract/grade.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 297 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00035 $0.00297
Opus 5 $0.00017 $0.00148
Sonnet 5 $0.00007 $0.00059
Haiku 4.5 $0.00003 $0.00030

Measured 4d ago against content hash dee26411477e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 4d 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.

commands/grade.md · 30 lines

What it actually says

Audit the design system at the user-provided URL. Emits a self-contained HTML report card plus JSON + Markdown variants. Pass --badge to also emit a shields.io-style SVG you can drop into any README.

npx designlang grade $ARGUMENTS

If no $ARGUMENTS were supplied, ask the user which URL to grade.

After the run completes:

  1. Read the generated *.grade.md file from ./design-extract-output/
  2. Surface the headline grade (A–F · score · 8 dimensions)
  3. Highlight the top 3 strengths and top 3 issues from the report
  4. Offer to open the HTML in the browser (the --open flag does this automatically)

If the user wants the live shareable badge URL instead of generating files locally, they can use:

![Design Score](https://designlang.app/badge/<host>.svg)

This endpoint is blob-cached 24h with edge caching for ~50ms repeat hits.

Compare two sites with /battle <A> <B>, restyle with /remix, bundle everything with /pack.

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. 4d ago First seen · 30 lines · 35 tokens per session scan A dee26411477e

Subscribe to this mod's changes

grade is a command published in the GitHub repository Manavarya09/design-extract (4,000 stars, last pushed 3d ago), licensed MIT. It adds 35 tokens to every session and 297 once invoked, about $0.0002 per session on Opus 5. 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-30.