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.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.svg" alt="Measured on agentmods" 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 $0.00042 $0.00911
Sonnet 5 $0.00017 $0.00364
Haiku 4.5 $0.00008 $0.00182

Measured 8d ago against content hash b6bcf94216af, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 8d 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. 8d 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 3mo ago), licensed MIT. It adds 84 tokens to every session and 1,821 once invoked, about $0.0004 per session on Opus 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

Other skills, from other repositories

mcp-host-styling-integration

Integrates MCP App UI with host theming system. Applies host CSS variables, handles onhostcontextchanged, safe area insets, display mode detection, and fullscreen configuration.

a5c-ai/babysitter · 44 tokens

moai-design-tools

Design tool integration specialist covering Figma MCP, Pencil renderer, and Pencil-to-code export. Use when fetching design context from Figma, rendering Pencil designs, or exporting to React/Tailwind code.

modu-ai/moai-adk · 45 tokens

ux-design

Create comprehensive UX design with user flows, wireframes, and design systems.

a5c-ai/babysitter · 0 tokens

moai-domain-uiux

UI/UX design systems specialist covering accessibility, icons, theming, design tokens, and user experience patterns. Use when working on design systems, WCAG compliance, ARIA patterns, or dark mode theming.

modu-ai/moai-adk · 49 tokens

premium-experience

Premium app generation that creates WOW-factor experiences. Multi-page apps with smooth animations, zero TypeScript errors, and production-ready quality. Lovable-style experience: one prompt, complete app, instant delight. MUST be used alongside vibe-orchestrator for new projects.

wasintoh/toh-framework · 56 tokens

ui-first-builder

Creates production-ready UI immediately from any description. Generates complete pages, components, and realistic mock data in FIRST response. Uses Next.js 16 + Tailwind + shadcn/ui. Never asks questions - infers everything from context. Triggers: UI creation, page building, component generation, build interface…

wasintoh/toh-framework · 75 tokens