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.
/plugin marketplace add strongeron/storybook-workbench/plugin install storybook-workbenchWrote 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.
[](https://agentmods.dev/skills/strongeron/storybook-workbench/sb-figma)<a href="https://agentmods.dev/skills/strongeron/storybook-workbench/sb-figma"><img src="https://agentmods.dev/badge/skills/strongeron/storybook-workbench/sb-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.
<a href="https://agentmods.dev/skills/strongeron/storybook-workbench/sb-figma"><img src="https://agentmods.dev/badge/skills/strongeron/storybook-workbench/sb-figma.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00164 | $0.03875 |
| Opus 5 | $0.00082 | $0.01937 |
| Sonnet 5 | $0.00033 | $0.00775 |
| Haiku 4.5 | $0.00016 | $0.00387 |
Grade A, and why
sb-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 12d 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.
How it starts
The opening of the file, as written. The whole thing — 193 lines — stays where its author put it; the contents beside it link to each section on GitHub.
sb-figma — Figma → production Storybook delivery
sb-figma owns the DELIVER stage of the Figma→Storybook lifecycle: an approved design becomes
production Storybook. It is Figma-aware (uses the Figma MCP), but it is not the exploration skill.
The lifecycle line (load this first). Undecided / trying options →
sb-explore(Lab sandbox, iterate against a Figma node) →sb-ship(graduate the Lab experiment). Already approved in Figma →sb-figma(deliver direct to prod). Both touch Figma MCP; the difference is exploration vs delivery. If the user is still deciding, hand off tosb-explore. Seereferences/figma-token-sync.md.
Job 0 — capture the MCP output (always, before anything else)
Force the NATIVE structured tools — never work from a screenshot. A screenshot is pixels; it cannot give you variables, styles, or component props. The full picture comes ONLY from the native MCP tools, and you must pull all three categories before building or connecting:
- Variables →
get_variable_defs(the token values: color/spacing/type/effect, resolved).- Components + styles →
get_design_context(the reference code, applied styles, props/variants).- Structure →
get_metadata(the node tree; on truncation, drill to child node-ids — never give up at the parent).get_screenshotis visual reference only — for an eyeball diff after you've built from the structured data. NEVER read tokens, props, or layout off a screenshot. If a tool returns "nothing selected" on a page id, drill to a concrete component node (a page is not a layer).
Scripts can't call the Figma MCP, and an MCP result lives only in the agent's context — ephemeral, gone on the next session, absent headless. So every Figma MCP call you make, persist it through the universal store before using it. This is what makes the pipeline reproducible and iterable.
# any JSON-returning tool — pipe its output straight in:
<get_variable_defs output> | node scripts/capture-figma.mjs --tool get_variable_defs --file <FILE> --node <NODE> --from-mcp -
<get_design_context output> | node scripts/capture-figma.mjs --tool get_design_context --file <FILE> --node <NODE> --from-mcp -
<get_metadata output> | node scripts/capture-figma.mjs --tool get_metadata --file <FILE> --node <NODE> --from-mcp -
<get_code_connect_map out> | node scripts/capture-figma.mjs --tool get_code_connect_map --file <FILE> --node <NODE> --from-mcp -
# get_screenshot returns an image — save it, then register the file:
node scripts/capture-figma.mjs --tool get_screenshot --file <FILE> --node <NODE> --image /tmp/frame.png
# see the whole inventory (degrade / iterate):
node scripts/capture-figma.mjs --list
What ships with it
18 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.
- agents/openai.yaml 2.2 KB
- CONTEXT.md 14 KB
- decorators/withLayoutFrame.tsx 2.6 KB
- references/figma-token-sync.md 4.6 KB
- scripts/build-code-connect.mjs 5.8 KB runs code
- scripts/build-token-parity.mjs 8.3 KB runs code
- scripts/capture-figma.mjs 5.3 KB runs code
- scripts/pull-figma-variables.mjs 6.6 KB runs code
- scripts/record-figma-delivery.py 5.5 KB runs code
- templates/figma-inventory.stories.tsx 1.4 KB
- wrappers/FigmaInventory.tsx 8.6 KB
- wrappers/icons.tsx 3.6 KB
- wrappers/ReportIntro.tsx 12 KB
- wrappers/resolve-paint.ts 2.8 KB runs code
- wrappers/TokenMatrix.tsx 28 KB
- wrappers/TokensCanvas.tsx 18 KB
- wrappers/usage-index.tsx 12 KB
- wrappers/usage-stamp.tsx 12 KB
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.
- 12d ago First seen · 193 lines · 164 tokens per session scan A 383fa46f862c
sb-figma is a skill published in the GitHub repository strongeron/storybook-workbench (33 stars, last pushed 2mo ago), licensed MIT. It adds 164 tokens to every session and 3,875 once invoked, about $0.0008 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.
Other skills, from other repositories
skillshare-ui-website-style
Skillshare frontend design system for the React dashboard (ui/) and Docusaurus website (website/). Use this skill whenever you: build or modify a dashboard page or component in ui/src/, style or layout website pages or custom CSS in website/, create new React components for the dashboard, add pages to the dashboard…
21st-ui
Find, install, and generate UI with 21st.dev. Use when the user asks for a UI component (pricing table, hero, navbar, dashboard, form, etc.), wants design inspiration, needs a brand logo as an SVG component, or wants to generate new UI from a prompt.
vercel-composition-patterns
React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.
frontend
Builds, styles, and polishes web UI and UX. Use for any frontend, page, component, styling, layout, animation, or visual-quality task, or when asked to make an interface look or feel a certain way.
ambience-skill
Layer A ambience-and-typographic-motion reference anchored to the react-bits catalog (reactbits.dev). Stacks on any style skill whenever work adds a hero atmosphere, an animated or shader background, a typographic reveal (split, blur, shimmer, typewriter, count-up, marquee), scroll storytelling, or card surface…
web-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.