bootstrap-from-figma

bootstrap-from-figma is a skill for Claude Code, Codex from leefanv/omit-design. It costs 84 tokens per session (1,821 once invoked), scanned A, original, MIT.

A setup skill that takes a Figma design file—a web tool for creating interface designs—and extracts its colors and spacing into a project's visual theme.

In plain words
What is it for?
Use it when starting an omit-design project from a Figma URL and seeding the project's theme. It does not create pages or design patterns.
Why use it?
It removes the need to copy basic design settings from Figma into a new project by hand.

Skill for Claude CodeCodex

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

Good fit Use it when starting an omit-design project from a Figma URL and seeding the project's theme. It does not create pages or design patterns.

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

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 bootstrap-from-figma

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/leefanv/omit-design/bootstrap-from-figma"><img src="https://agentmods.dev/badge/skills/leefanv/omit-design/bootstrap-from-figma.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,821 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.00084 $0.01821
Opus 5.5 $0.00034 $0.00728
Sonnet 5.5 $0.00017 $0.00364
Haiku 4.5 $0.00008 $0.00182

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

Security

Grade A, and why

bootstrap-from-figma 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.

skills/bootstrap-from-figma/SKILL.md · 127 lines

How it starts

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

bootstrap-from-figma — seed a project's visual theme from Figma

When to trigger

  • The user pastes a figma.com/(design|file|board|make|slides)/... URL and says "bootstrap" / "start a project from this" / "extract the theme".
  • The user copied a prompt from the workspace's Bootstrap from Figma banner (LibraryPage top). That prompt names this skill explicitly and includes the URL + target preset + writeback endpoint.

Do not trigger this skill for:

  • Modifying an already-imported theme (use theme-editor in the workspace).
  • Writing pages — that's new-design. This skill stops at the theme.
  • Suggesting patterns — patterns are produced exclusively via /distill-patterns-from-prd (from a PRD) or /add-pattern (conversational or manual). Visual theme and patterns are intentionally decoupled.

Output contract (read first)

Produce a JSON object matching BootstrapPayload in packages/dev-server/src/handlers/bootstrap.ts:

{
  "source": { "kind": "figma", "url": "...", "fileKey": "...", "nodeId": "..." },
  "extractedAt": "2026-05-11T12:00:00.000Z",
  "theme": {
    "presetName": "mobile",
    "colors": {
      "primary": "#0d8ce9",
      "secondary": "#00cfff",
      "tertiary": "#e56e35",
      "success": "#22c55e",
      "warning": "#e56e35",
      "danger": "#da342e",
      "dark": "#1f2024",
      "medium": "#90909a",
      "light": "#dbd9e0"
    },
    "spacing": { "xs": "4px", "sm": "8px", "md": "12px", "lg": "16px", "xl": "24px", "2xl": "32px" }
  },
  "notes": "Figma uses a single 'brand' token — mapped to primary; warning had no dedicated token, reused tertiary."
}

The color keys must match the preset's semanticColors exactly — for preset-mobile: primary / secondary / tertiary / success / warning / danger / dark / medium / light.

The spacing keys must match baseline — for preset-mobile: xs / sm / md / lg / xl / 2xl.

Keys outside these sets are dropped by the workspace store (with a console warning).

Execution flow

Read the full file on GitHub · 127 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. 2mo ago First seen · 127 lines · 84 tokens per session scan A b6bcf94216af

Subscribe to this mod's changes

bootstrap-from-figma is a skill published in the GitHub repository leefanv/omit-design (54 stars, last pushed 5mo ago), licensed MIT. It adds 84 tokens to every session and 1,821 once invoked, about $0.0003 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.

Related

bootstrap-from-figma compared with skills from other repositories

bootstrap-from-figma next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bootstrap-from-figmaleefanv/omit-designSkill545mo agoMITA84Claude Code, Codex
mcp-host-styling-integrationa5c-ai/babysitterSkill1.9k5d agoMITA44Claude Code
moai-design-toolsmodu-ai/moai-adkSkill1.3k4d agoApache-2.0A45Claude Code
moai-ref-ui-polishmodu-ai/moai-adkSkill1.3k4d agoApache-2.0A98Claude Code
moai-domain-uiuxmodu-ai/moai-adkSkill1.3k4d agoApache-2.0A49Claude Code
ux-designa5c-ai/babysitterSkill1.9k5d agoMITA0Claude Code, Codex
moai-domain-design-dnamodu-ai/moai-adkSkill1.3k4d agoApache-2.0A112Claude Code