figma-sites-extension

figma-sites-extension is a skill for Claude Code, Codex from ChenYCL/web-design-harvester. It costs 60 tokens per session (366 once invoked), scanned A, original, MIT.

A Chrome extension for exporting source files from Figma Sites or Make previews as ZIP files. It can also capture a selected area as a JSON file.

In plain words
What is it for?
Use it to export Figma Sites code and preview files, capture selected areas, and inspect the site structure for web implementation.
Why use it?
It avoids needing a separately debugged Chrome session for this export process and puts the download behind a browser action.

Skill for Claude CodeCodex

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

Good fit Use it to export Figma Sites code and preview files, capture selected areas, and inspect the site structure for web implementation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chenycl/web-design-harvester/figma-sites-extension
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 ChenYCL/web-design-harvester --skill figma-sites-extension
Clone the repo
git clone --depth 1 https://github.com/ChenYCL/web-design-harvester

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-sites-extension

README.md
[![agentmods](https://agentmods.dev/badge/skills/chenycl/web-design-harvester/figma-sites-extension/github.svg)](https://agentmods.dev/skills/chenycl/web-design-harvester/figma-sites-extension)
Your own site
<a href="https://agentmods.dev/skills/chenycl/web-design-harvester/figma-sites-extension"><img src="https://agentmods.dev/badge/skills/chenycl/web-design-harvester/figma-sites-extension/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-sites-extension

Your own site · 80×15
<a href="https://agentmods.dev/skills/chenycl/web-design-harvester/figma-sites-extension"><img src="https://agentmods.dev/badge/skills/chenycl/web-design-harvester/figma-sites-extension.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 366 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.00060 $0.00366
Opus 5.5 $0.00024 $0.00146
Sonnet 5.5 $0.00012 $0.00073
Haiku 4.5 $0.00006 $0.00037

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

Security

Grade A, and why

figma-sites-extension 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 1mo 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-sites-extension/SKILL.md · 45 lines

What it actually says

Figma Sites Exporter extension

When to use

  • User wants one-click CODE_FILE ZIP from Figma Sites / Make
  • Product UX: Load unpacked → open file → click Export ZIP(不需要 CLI)

Build & load

npm run extension:build
# Chrome → chrome://extensions → Developer mode → Load unpacked → ./extension

Runtime flow(一键)

  1. hook-early.js(MAIN world / document_start)+ webRequest 捕获 multiplayer URL
  2. 用户点浮层或 toolbar popup 的 Export ZIP
  3. 若尚未捕获 URL → 自动 reload 一次再继续
  4. page-world wire sync → SW decode → chrome.downloads 下 ZIP
  5. 可选框选 → selection.json

Truth hierarchy

  1. site/ — Preview iframe WYSIWYG static capture (primary UX deliverable)
  2. code/ (CODE_FILE) — wire source truth for React/Make components
  3. scenegraph / vectors / animations — layout + motion when CODE_FILE alone is incomplete

Offline verify

# requires captured multiplayer frames (kiwi sync / extension hook)
npm run extension:test-pack
  • Wire CLI: skills/figma-kiwi/SKILL.md
  • Reverse notes: docs/make-reverse-notes.md
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. 1mo ago First seen · 45 lines · 60 tokens per session scan A b66daad21ec9

Subscribe to this mod's changes

figma-sites-extension is a skill published in the GitHub repository ChenYCL/web-design-harvester (0 stars, last pushed 1mo ago), licensed MIT. It adds 60 tokens to every session and 366 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-09-09.

Related

Other skills, from other repositories

webui-code

Use this skill when generating or reviewing WebUI code. This skill contains knowledge on WebUI code following Chrome's Lit-element architecture and styling guidelines.

chromium/chromium · 33 tokens

browserwing-executor

Control browser automation through HTTP API. Supports page navigation, element interaction (click, type, select), data extraction, accessibility snapshot analysis, screenshot, JavaScript execution, and batch operations.

MemTensor/MemOS · 42 tokens

figma-design-review

Critique and review Figma designs to ensure alignment with Chromium codebase components, tokens, and structure. Use when the user asks to critique, review, or audit a design, check alignment with code, or compare a Figma node against component specifications or coding standards.

chromium/chromium · 59 tokens

figma-to-webui

Recreate Figma design frames as production-level Chromium WebUI code following Chrome's Lit-element architecture and styling guidelines. Use when asked to create WebUI code from a Figma frame URL.

chromium/chromium · 44 tokens

figma-to-views-json

Recreate Figma design frames as prototype-ready Chromium Views JSON script following Chrome's native Views architecture, component guidelines, and color/shape token mappings. Use when asked to create C++ Views Prototype JSON script from a Figma frame URL.

chromium/chromium · 55 tokens

figma-to-views

Recreate Figma design frames as production-ready Chromium C++ Views code following Chrome's native Views architecture, component guidelines, and color/shape token mappings. Use when asked to create C++ Views code from a Figma frame URL.

chromium/chromium · 53 tokens