webkit: Agent for Claude Code

.claude/agents/figma-extractor.md

figma-extractor is an agent for Claude Code from aziontech/webkit. It costs 39 tokens per session (422 once invoked), scanned A, original, MIT.

A read-only helper that extracts design details and named areas from a selected Figma frame. Figma is a tool for creating and inspecting interface designs.

In plain words
What is it for?
Use it to read variables such as colors, typography, spacing, borders, shadows, and container settings, along with the frame name and visible regions.
Why use it?
It gives later steps structured information from the design without making design decisions or changing the Figma file.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

This is aziontech/webkit's own configuration. It tells Claude Code how to work on webkit itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything webkit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to aziontech/webkit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/aziontech/webkit/main/.claude/agents/figma-extractor.md
Clone the repo
git clone --depth 1 https://github.com/aziontech/webkit

Made for: Claude Code.

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 figma-extractor

README.md
[![agentmods](https://agentmods.dev/badge/agents/aziontech/webkit/figma-extractor/github.svg)](https://agentmods.dev/agents/aziontech/webkit/figma-extractor)
Your own site
<a href="https://agentmods.dev/agents/aziontech/webkit/figma-extractor"><img src="https://agentmods.dev/badge/agents/aziontech/webkit/figma-extractor/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 figma-extractor

Your own site · 80×15
<a href="https://agentmods.dev/agents/aziontech/webkit/figma-extractor"><img src="https://agentmods.dev/badge/agents/aziontech/webkit/figma-extractor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 422 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.00039 $0.00422
Opus 5.5 $0.00016 $0.00169
Sonnet 5.5 $0.00008 $0.00084
Haiku 4.5 $0.00004 $0.00042

Measured 2mo ago against content hash 66e0d3b22859, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

figma-extractor 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 2mo 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.

.claude/agents/figma-extractor.md · 43 lines

What it actually says

Agent: figma-extractor

Role

You are the figma-extractor sub-agent. You execute the figma-discover skill verbatim. You see only the inputs in this prompt — no chat history, no other agents' outputs.

What to do

  1. Load the figma:figma-use skill (mandatory MCP prerequisite).
  2. Call mcp__plugin_figma_figma__get_variable_defs on the spec's figma.node_id.
  3. Call mcp__plugin_figma_figma__get_design_context on the same node; capture the frame's component/node name (raw) for component_name (or null if the frame carries no usable name).
  4. Normalize the response into the JSON shape defined by the skill.

What you may NOT do

  • Do not map Figma variables to DESIGN.md — that's token-mapper.
  • Do not infer the component structure (regions ≠ structure decision).
  • Do not call any write-side Figma tool (use_figma, create_new_file, add_code_connect_map).
  • Do not invent variables that the MCP did not return.

Outputs

JSON only:

{
  "figma_node": "<url-or-nodeId>",
  "component_name": "<raw frame name, or null>",
  "variables": [{ "name": "...", "value": "...", "kind": "color|typography|spacing|radius|shadow|container" }],
  "regions": ["header", "body", "footer", "actions"],
  "states": ["default", "hover", "active", "focus", "disabled"]
}

If the MCP is unreachable: emit BLOCKED: figma MCP unreachable.

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. 2mo ago First seen · 43 lines · 39 tokens per session scan A 66e0d3b22859

Subscribe to this mod's changes

figma-extractor is an agent published in the GitHub repository aziontech/webkit (3 stars, last pushed today), licensed MIT. It adds 39 tokens to every session and 422 once invoked, about $0.0002 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-08-31.

Related

Other agents, from other repositories

design-critic

Adversarial senior design critic. Renders the work, looks at it, and argues for rejection. Use when a build, screen, or component needs a taste and craft verdict that the automated gates cannot give. Runs after the gates are green, never instead of them.

plugin87/ux-ui-agent-skills · 59 tokens

designer

Design specialist that creates and manages design systems, DESIGN.md files, and provides design guidance using anti-pattern enforcement, accessibility checks, and optional Stitch MCP integration.

first-fluke/fullstack-starter · 33 tokens

swe-reviewer

Audits code, interface component source, and scenario bindings in named projects against the adopted standards, including test-first evidence and regression tests, and returns rated findings without modifying anything.

wahidyankf/ose-public · 40 tokens

swe-usability-tester

Evaluates a running web interface or command-line tool as a first-time user would, without its specifications, source, or designs, judging frozen tasks by named usability principles and recording severity-rated findings.

wahidyankf/ose-public · 46 tokens

7onic-design-agent

Implements UI tasks with the 7onic Design System end to end — discovers components and tokens through the 7onic MCP tools, composes layout, and returns only validatecode-clean TSX. Use for delegated page/screen/component builds in projects using @7onic-ui packages.

itonys/7onic · 62 tokens

visual-reviewer

Visual regression reviewer that compares live web pages against Figma designs. Takes screenshots of both, runs pixel-level diff, and uses AI vision to evaluate whether differences are bugs or acceptable variations. Use before merge or deployment to catch visual regressions.

mukiwu/muki-ai-plugins · 52 tokens