fig-to-html

fig-to-html is a skill for Claude Code from a8cteam51/claude-code-plugins. It costs 191 tokens per session (6,024 once invoked), scanned A, original, MIT.

A converter that reads a Figma .fig export—a file containing a design's layout and information—and turns selected frames into responsive HTML, CSS, and JavaScript. It also produces files that document the design handoff.

In plain words
What is it for?
Use it to turn exported Figma screens into web pages, including their text, images, vectors, style values, and designer notes, then compare them with supplied PNG images.
Why use it?
It gives developers usable web files without needing the Figma application, account, or API, and records design details that might otherwise be lost.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the fig-to-html plugin — 1 skill shipped together

Good fit Use it to turn exported Figma screens into web pages, including their text, images, vectors, style values, and designer notes, then compare them with supplied PNG images.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add a8cteam51/claude-code-plugins
Claude Code
/plugin install fig-to-html

Made for: Claude Code.

Or install fig-to-html, the plugin that ships this one along with the rest of its 1 skill.

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 fig-to-html

README.md
[![agentmods](https://agentmods.dev/badge/skills/a8cteam51/claude-code-plugins/fig-to-html/github.svg)](https://agentmods.dev/skills/a8cteam51/claude-code-plugins/fig-to-html)
Your own site
<a href="https://agentmods.dev/skills/a8cteam51/claude-code-plugins/fig-to-html"><img src="https://agentmods.dev/badge/skills/a8cteam51/claude-code-plugins/fig-to-html/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 fig-to-html

Your own site · 80×15
<a href="https://agentmods.dev/skills/a8cteam51/claude-code-plugins/fig-to-html"><img src="https://agentmods.dev/badge/skills/a8cteam51/claude-code-plugins/fig-to-html.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 191 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,024 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.00191 $0.06024
Opus 5.5 $0.00076 $0.02410
Sonnet 5.5 $0.00038 $0.01205
Haiku 4.5 $0.00019 $0.00602

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

Security

Grade A, and why

fig-to-html 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 16d 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.

plugins/fig-to-html/skills/fig-to-html/SKILL.md · 222 lines

How it starts

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

Convert frames of a Figma .fig export to HTML

Read a Figma .fig export directly, and write the frames the user names as responsive vanilla HTML, CSS and JavaScript. The file supplies structure, text, tokens, images, vectors and the designer's notes. It holds no picture of a frame, so the user supplies 1:1 PNG exports, and those are what the result is checked against.

What comes out is a handoff package: the pages in source/, and beside them DESIGN.md, decisions.md and views.md. It is the same package sp-site-design-harness writes, so html-to-block-theme builds from either. One file is this plugin's own: annotations.md, the reader's log of every annotation in the frames it read, for the build to refer to. references/handoff-package.md is the specification of every file in it: read it before step 6.

Matching the designer's picture is half the job. The page must also meet the team's standards, and the file must be checked for what a hand-off should hold. references/standards.md has both, with what wins when the file and a standard disagree: read it before step 2.

The bundled reader, ${CLAUDE_PLUGIN_ROOT}/scripts/fig.mjs, does all the reading. Do not parse the file by hand.

Inputs

  • The Figma file (required): a .fig, or a folder it was unzipped into.
  • Which frames to convert: page or frame names, or a part of a page.
  • 1:1 PNG exports of those frames (required to convert, not to read): a folder the user fills by exporting each frame from Figma at 1x. A desktop export for every page; a mobile export wherever the design has a mobile frame.
  • What the file does not hold: Figma comments, a brief, behaviour agreed with the designer or client.
  • Output directory: default ./fig-to-html/<file name>/. The package goes in its handoff/ folder and the reader output in extract/. When handoff/ already holds a package from an earlier run, this run adds to it.

Whatever the request leaves out of these is asked for, not guessed: steps 1 and 2.

Read the full file on GitHub · 222 lines

Files

What ships with it

2 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. 16d ago First seen · 222 lines · 191 tokens per session scan A 80b61ad57afd

Subscribe to this mod's changes

fig-to-html is a skill published in the GitHub repository a8cteam51/claude-code-plugins (7 stars, last pushed yesterday), licensed MIT. It adds 191 tokens to every session and 6,024 once invoked, about $0.0008 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-13.

Related

fig-to-html compared with skills from other repositories

fig-to-html next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fig-to-htmla8cteam51/claude-code-pluginsSkill7yesterdayMITA191Claude Code
anti-slop-designsickn33/agentic-awesome-skillsSkill51ktodayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41ktodayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex
prototype-webnexu-io/html-anythingSkill17kyesterdayApache-2.0A24Claude Code, Codex
open-design-setupcompozy/compozySkill2.9ktodayMITA67Claude Code, Codex
frontend-visual-qadaymade/claude-code-skillsSkill1.6ktodayMITA94Claude Code, Codex