grade-generation

grade-generation is a skill for Claude Code, Codex from mp3wizard/figma-console-mcp. It costs 100 tokens per session (1,941 once invoked), scanned A, a copy of grade-generation, MIT.

An independent checker for a generated Figma design or user-interface code. It compares the result with the original request and design system, then returns PASS or FAIL with evidence for blocking problems.

In plain words
What is it for?
It is for checking generated designs and UI code after they are created, using tool findings and a fresh grader agent.
Why use it?
It reduces the risk of the same agent approving its own work without a separate review.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Claude Code.

Good fit It is for checking generated designs and UI code after they are created, using tool findings and a fresh grader agent.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mp3wizard/figma-console-mcp/grade-generation
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.

Any agent
npx skills add mp3wizard/figma-console-mcp --skill grade-generation
Clone the repo
git clone --depth 1 https://github.com/mp3wizard/figma-console-mcp

Made for: Claude Code, Codex.

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-generation

README.md
[![agentmods](https://agentmods.dev/badge/skills/mp3wizard/figma-console-mcp/grade-generation/github.svg)](https://agentmods.dev/skills/mp3wizard/figma-console-mcp/grade-generation)
Your own site
<a href="https://agentmods.dev/skills/mp3wizard/figma-console-mcp/grade-generation"><img src="https://agentmods.dev/badge/skills/mp3wizard/figma-console-mcp/grade-generation/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 grade-generation

Your own site · 80×15
<a href="https://agentmods.dev/skills/mp3wizard/figma-console-mcp/grade-generation"><img src="https://agentmods.dev/badge/skills/mp3wizard/figma-console-mcp/grade-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,941 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 100% copy Near-identical to another mod 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.00100 $0.01941
Opus 5.5 $0.00040 $0.00776
Sonnet 5.5 $0.00020 $0.00388
Haiku 4.5 $0.00010 $0.00194

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

Security

Grade A, and why

grade-generation 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 today.

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.

Origin

This is a copy

100% identical to grade-generation — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/grade-generation/SKILL.md · 123 lines

How it starts

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

Grade a generation with an independent grader

Tools (Local Mode): this skill uses tools outside the core set. If they aren't in your tool list, call figma_enable_toolsets({ toolsets: ["parity", "inspect"] }) once at the start; if they still don't appear, call them through figma_call({ tool, arguments }). Cloud Mode lists every tool, so skip this there.

The agent that generated the work doesn't grade it. A separate grader, with fresh context, gets only the request and the location of the artifact. It checks with tools first and uses judgment second. Evidence beats opinion: every blocking finding must cite tool output (a nodeId with its audit rule, or a file:line with its rule). A finding the grader can't back with evidence is a note, not a FAIL reason.

Orchestrator: spawn the grader

In Claude Code, use the Agent tool with a fresh agent, e.g. subagent_type: "general-purpose", which has the figma-console tools. Don't use a fork. A fork inherits the generator's context, which defeats the point. In other clients, use whatever starts a new agent with empty context.

Send only this brief. Leave out the generator's plan, its notes, its own audit results, and "I already fixed X".

You are grading a generated artifact. You did not create it. Be strict and cite evidence.

REQUEST (verbatim from the person):
<original request text>

ARTIFACT:
- Kind: figma | code
- Figma: file <fileKey or URL>, root nodeId <id>
- Code: files <path1>, <path2>

DESIGN SYSTEM:
- Figma library file keys: <keys, or "active file">
- Code: packages <@acme/ui>, components <list or "inspect package">, tokens <path>
- Code component counterparts (for parity), if any: <Figma nodeId ↔ code file>

GAP POLICY: <"note in place" (default: anything the system lacks gets an explained GAP note where it belongs) | the person's list of approved gaps>

PASS CRITERIA:
- Adherence score >= <90>, zero adherence errors
- No WCAG A/AA critical findings
- Every requested element present; nothing extra; no invented components or tokens
- Every missing component or part marked with an explained gap note in the right spot; no gap notes for things the system has

Follow the grade-generation skill's grader procedure and return its verdict format exactly.

Read the full file on GitHub · 123 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. today First seen · 123 lines · 100 tokens per session scan A aed79f596878

Subscribe to this mod's changes

grade-generation is a skill published in the GitHub repository mp3wizard/figma-console-mcp (1 stars, last pushed yesterday), licensed MIT. It adds 100 tokens to every session and 1,941 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to grade-generation, differing in 0 lines, and is treated as a copy.

Related

grade-generation compared with skills from other repositories

grade-generation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
grade-generationmp3wizard/figma-console-mcpSkill1yesterdayMITA100Claude Code, Codex
webgl-holographic-foilnexu-io/open-designSkill110ktodayApache-2.0A41Claude Code, Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill110ktodayApache-2.0A53Claude Code, Codex
html-ppt-taste-brutalistnexu-io/open-designSkill110ktodayApache-2.0A78Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex
glance-canonical-layoutsandroid/skillsSkill11k7d agoApache-2.0A56Claude Code
prototype-webnexu-io/html-anythingSkill17kyesterdayApache-2.0A24Claude Code, Codex