ralph-figma

ralph-figma is a skill for Claude Code from rubenmarcus/ralph-starter. It costs 14 tokens per session (206 once invoked), scanned A, original, MIT.

A workflow for turning Figma designs into application code. Figma is a design tool used to plan screens, layouts, colors, and reusable interface parts.

In plain words
What is it for?
Use it to extract design specifications, style tokens, components, text, and assets, then build them with React, Vue, Svelte, Astro, Next.js, Nuxt, or HTML.
Why use it?
It reduces the manual work of reading a design and recreating its details in code.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the ralph-starter plugin — 11 skills, 1 agent shipped together

Good fit Use it to extract design specifications, style tokens, components, text, and assets, then build them with React, Vue, Svelte, Astro, Next.js, Nuxt, or HTML.

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

Made for: Claude Code.

Or install ralph-starter, the plugin that ships this one along with the rest of its 11 skills, 1 agent.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rubenmarcus/ralph-starter/ralph-figma"><img src="https://agentmods.dev/badge/skills/rubenmarcus/ralph-starter/ralph-figma.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 206 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
  • 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.00014 $0.00206
Opus 5 $0.00007 $0.00103
Sonnet 5 $0.00003 $0.00041
Haiku 4.5 $0.00001 $0.00021

Measured 9d ago against content hash 15e7d999b6b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

ralph-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 9d 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/ralph-figma/SKILL.md · 17 lines

What it actually says

Extract a Figma design and build it as production code.

  1. Use ralph_fetch_spec with source: "figma" and the Figma file URL as identifier
    • Modes: spec (full design spec), tokens (CSS/Tailwind design tokens), components (component code), content (text/IA), assets (icons/images)
  2. Review the extracted spec — check colors, typography, spacing, and component structure
  3. Use ralph_run to build the implementation:
    • Set from: "figma" to fetch directly from the Figma source
    • The agent iterates until the UI matches the design spec
    • Validation runs between iterations to catch issues early

Supported frameworks: React, Vue, Svelte, Astro, Next.js, Nuxt, HTML.

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. 9d ago First seen · 17 lines · 14 tokens per session scan A 15e7d999b6b3

Subscribe to this mod's changes

ralph-figma is a skill published in the GitHub repository rubenmarcus/ralph-starter (107 stars, last pushed 1mo ago), licensed MIT. It adds 14 tokens to every session and 206 once invoked, about $0.0001 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

web-design-reviewer

This skill enables visual inspection of websites running locally or remotely to identify and fix design issues. Triggers on requests like "review website design", "check the UI", "fix the layout", "find design problems". Detects issues with responsive design, accessibility, visual consistency, and layout breakage…

Galaxy-Dawn/claude-scholar · 74 tokens

openai-frontend-design

Use for new frontend applications, dashboards, games, creative websites, hero sections, and visually driven UI from scratch, or when the user explicitly asks for a redesign/restyle/modernization. Builds from clean, airy, high-taste, readable image-generated concept design with section-specific references, faithful…

fcakyon/claude-codex-settings · 71 tokens

core-components

Core component library and design system patterns. Use when building UI, using design tokens, or working with the component library.

agent-skills-hub/agent-skills-hub · 27 tokens

frontend-specialist

A front-end development workflow for building or improving web pages, components, layouts, forms, dashboards, and responsive interfaces. It covers common tools and frameworks such as React, Vue, Next.js, Tailwind, and CSS.

huangwb8/skills · 61 tokens

awesome-design-md

Create a DESIGN.md style baseline BEFORE building UI. Use FIRST when no design draft exists — installs a proven visual style, then invoke frontend-design to implement. For borrowing a known product style, getting consistent typography/colors/spacing, or needing a fast visual starting point.

rexleimo/aios · 59 tokens

build-sdf-liquid-glass

Build lightweight SDF/canvas displacement glass with Vaso. Use for responsive refractive cards, no-WebGL fallbacks, many compact surfaces, or explicit SDF requests.

agent-skills-hub/agent-skills-hub · 42 tokens