grade-generation

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

A workflow that uses a separate agent to grade a generated Figma design or piece of interface code against the original request and design system. The grader does not see the generator's private reasoning.

In plain words
What is it for?
It is for returning a fixed pass-or-fail result with evidence such as a Figma node or a code file and line number.
Why use it?
Independent checking reduces the risk that the same agent overlooks its own mistakes, while requiring findings to be backed by tool evidence.

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 returning a fixed pass-or-fail result with evidence such as a Figma node or a code file and line number.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/southleft/figma-console-mcp/grade-generation
About the project

Figma Console MCP is a Model Context Protocol server that lets AI assistants access Figma as an interface for working with design systems. It supports extracting, creating, debugging, and synchronizing design tokens between Figma and codebases. The catalogue commands and instruction help agents use this workflow.

southleft/figma-console-mcp · 3,455 stars · on GitHub · southleft.com

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 southleft/figma-console-mcp --skill grade-generation
Clone the repo
git clone --depth 1 https://github.com/southleft/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/southleft/figma-console-mcp/grade-generation/github.svg)](https://agentmods.dev/skills/southleft/figma-console-mcp/grade-generation)
Your own site
<a href="https://agentmods.dev/skills/southleft/figma-console-mcp/grade-generation"><img src="https://agentmods.dev/badge/skills/southleft/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/southleft/figma-console-mcp/grade-generation"><img src="https://agentmods.dev/badge/skills/southleft/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 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.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 yesterday 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 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.

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. yesterday 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 southleft/figma-console-mcp (3,455 stars, last pushed today), 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. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-27.

Related

grade-generation compared with skills from other repositories

grade-generation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
grade-generationsouthleft/figma-console-mcpSkill3.5ktodayMITA100Claude Code, Codex
critique-theaternexu-io/open-designSkill110ktodayApache-2.0A35Claude Code, Codex
accessibility-per-componentmurphytrueman/design-system-opsSkill2262mo agoMITA68Claude Code
figma-variable-auditmurphytrueman/design-system-opsSkill2262mo agoMITA63Claude Code
theme-auditmurphytrueman/design-system-opsSkill2262mo agoMITA57Claude Code
token-auditmurphytrueman/design-system-opsSkill2262mo agoMITA72Claude Code
token-compliancemurphytrueman/design-system-opsSkill2262mo agoMITA62Claude Code