figma-build

figma-build is a skill for Claude Code, Codex from awdr74100/figwright. It costs 180 tokens per session (2,233 once invoked), scanned A, original, MIT.

A Figma design-building guide that creates or updates screens and components in an open Figma file from code or a description. Figma is a collaborative tool for designing interfaces.

In plain words
What is it for?
Use it to build or update screens, dialogs, drawers, sidebars, panels, components, and design-system assets in a connected Figma session.
Why use it?
It helps keep new designs consistent with the file's existing components, variables, and styles instead of inventing unrelated visual rules.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build or update screens, dialogs, drawers, sidebars, panels, components, and design-system assets in a connected Figma session.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/awdr74100/figwright/figma-build
About the project

Figwright is a two-way Model Context Protocol server that lets coding agents exchange information with Figma through a companion plugin, turning designs into framework-aware code and editing the Figma canvas from code. Developers use it with agents such as Claude Code, Cursor, or Codex to read design context and create or modify Figma elements, and the catalogue contains skills and other workflow components for those interactions.

awdr74100/figwright · 1,162 stars · on GitHub

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 awdr74100/figwright --skill figma-build
Clone the repo
git clone --depth 1 https://github.com/awdr74100/figwright

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/awdr74100/figwright/figma-build"><img src="https://agentmods.dev/badge/skills/awdr74100/figwright/figma-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 180 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,233 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. Third-party audits
  • Socket pass 20 Oct 2026
  • Snyk pass 20 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00180 $0.02233
Opus 5.5 $0.00072 $0.00893
Sonnet 5.5 $0.00036 $0.00447
Haiku 4.5 $0.00018 $0.00223

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

Security

Grade A, and why

figma-build 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 5d 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/figma-build/SKILL.md · 129 lines

How it starts

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

figma-build

Turn code or a description into a Figma design that looks like it belongs in the file: reuse the components, variables, and styles that already exist, and only build what's genuinely missing. This is the mirror image of figma-codegen — same "reuse beats regenerate / reference tokens not literals" philosophy, pointed at the canvas instead of the codebase. This file is the router; deep detail lives in references/ — load a reference when its step is in play.

You operate on the connected Figma file (the plugin's current session). There is no fetch-by-URL; the user must have the target file open. Confirm a plugin is connected (ping) before building.

When to use

  • The user wants to create or update something in Figma from code or a description — a screen, view, modal/dialog/drawer/sidebar/panel, a single component, or a design-system asset.
  • Not for reading a Figma design into code — that's figma-codegen.

More than one Figma file open

Every tool result says so when it applies, so you do not have to check up front: with two or more files connected and none claimed, results carry a MORE THAN ONE FIGMA FILE IS OPEN block naming them. It matters because calls otherwise follow whichever file the user last touched, which changes when they switch tabs — so a task can read one file and write to another and report success.

When you see it, claim the file before doing anything else: list_files names every connected file, use_file({ fileName }) claims one for this session (use_file({ sessionId }) when two open files share a name — Figma allows that, and x (Copy) is how it happens). Every later call then reaches that file whatever is in front, including while its tab sits in the background. If the user has not said which file, ask — do not guess from the names.

First, understand the environment, then build (provider-first)

The write-side mirror of codegen's grounding, and the most important habit: an off-looking build almost always comes from invented values or assumed conventions. So understand this user's actual environment first, then build into it — never apply a generic template. There's no single "right" stack; there's their stack. Look at both ends before creating anything:

Read the full file on GitHub · 129 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago Changed · +13 lines 4a9f2a99d3af
  2. 8d ago Changed · +2 lines 74e39d2e80d5
  3. 14d ago Changed · +5 lines b44b2c2559cd
  4. 1mo ago Changed · +13 lines fc7e2b43a5bf
  5. 1mo ago First seen · 96 lines · 180 tokens per session scan A 810f8c9d2c62

Subscribe to this mod's changes

figma-build is a skill published in the GitHub repository awdr74100/figwright (1,162 stars, last pushed today), licensed MIT. It adds 180 tokens to every session and 2,233 once invoked, about $0.0007 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-30.