proto

proto is a skill for Claude Code from byjunyoung/claude-product-skills. It costs 90 tokens per session (4,080 once invoked), scanned A, original, MIT.

A tool for turning a Figma design into a working single-page HTML prototype, including interactive input, validation, states, and branching paths.

In plain words
What is it for?
It is for exploring user flows, checking interaction details, and creating an implementation reference from a Figma design.
Why use it?
It helps developers test how an interface behaves instead of relying on a static image or click-through mockup.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the fig plugin — 14 skills, 1 hook shipped together

Good fit It is for exploring user flows, checking interaction details, and creating an implementation reference from a Figma design.

Compare 6 skills from other repositories ↓
Install

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.

Claude Code
/plugin marketplace add byjunyoung/claude-product-skills
Claude Code
/plugin install fig

Made for: Claude Code.

Or install fig, the plugin that ships this one along with the rest of its 14 skills, 1 hook.

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 proto

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/byjunyoung/claude-product-skills/proto"><img src="https://agentmods.dev/badge/skills/byjunyoung/claude-product-skills/proto.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,080 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00090 $0.04080
Opus 5.5 $0.00036 $0.01632
Sonnet 5.5 $0.00018 $0.00816
Haiku 4.5 $0.00009 $0.00408

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

Security

Grade A, and why

proto scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **Visual tokens** — do not shoot every screen; take **one or two representatives only** with `get_screenshot` (maxDimension set for legibility) → save with `curl` → `Read`. Pull nothing but colour, spacing, corner radi
plugins/fig/skills/proto/SKILL.md · 154 lines

How it starts

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

fig:proto — Figma design → working prototype (rebuilt in code)

Part of a plugin. The scripts this skill runs ship beside it under ${CLAUDE_PLUGIN_ROOT}. If that path does not resolve, this file was installed on its own — stop and say the plugin itself is needed (claude plugin install fig@byjunyoung), rather than improvising what the scripts do.

Rebuilds in code what is drawn in Figma, producing a single HTML prototype where form input, validation, state changes, and dynamic branching actually work. Not a click-through demo of screenshots but something for checking behaviour and getting a feel for the implementation spec — you type a real value and watch the save land in the list.

The premise: because it is rebuilt in code, the visuals are an approximation (not pixel-perfect against the design) — in exchange, it actually runs. Build-less, dependency-less, single HTML, so it opens on a double click. For a presentation demo where pixel fidelity comes first, this is the wrong approach and a screenshot-based one is right (no dedicated skill for that; capture manually).

How far "approximation" goes — layout, colour, and spacing. Not assets. Drawings, illustrations, icons, photographs — anything that already exists in the design as an image is inlined from the original rather than redrawn in code (step 3). A drawing imitated in code is always worse than the original, and above all it ends up inventing behaviour the design never had — the moment a still image gets redrawn as vectors and made to "move with the value", the prototype hands an engineer a spec that does not exist.

Prerequisites: always load the figma:figma-use skill before calling use_figma. Zero writes — the Figma file is only read.

When to invoke

  • "a working prototype", "make it actually pressable", "make input and validation work", "make it behave the way it is drawn in Figma"
  • "prototype this" (in a context where input and state are expected to work)
  • An explicit "/fig:proto"

Read the full file on GitHub · 154 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. 1mo ago Changed · -26 lines · -49 tokens per session 1115b73c1510
  2. 2mo ago Changed · +11 lines 3989d4374f57
  3. 3mo ago Changed · +2 lines · +139 tokens per session 636546de21ce
  4. 3mo ago First seen · 167 lines · 0 tokens per session scan A 05566d4e6b4a

Subscribe to this mod's changes

proto is a skill published in the GitHub repository byjunyoung/claude-product-skills (5 stars, last pushed today), licensed MIT. It adds 90 tokens to every session and 4,080 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

proto compared with skills from other repositories

proto next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
protobyjunyoung/claude-product-skillsSkill5todayMITA90Claude Code
accessibility-per-componentmurphytrueman/design-system-opsSkill2292mo agoMITA68Claude Code
figma-variable-auditmurphytrueman/design-system-opsSkill2292mo agoMITA63Claude Code
metadata-schema-generatormurphytrueman/design-system-opsSkill2292mo agoMITA62Claude Code
theme-auditmurphytrueman/design-system-opsSkill2292mo agoMITA57Claude Code
token-auditmurphytrueman/design-system-opsSkill2292mo agoMITA72Claude Code
token-compliancemurphytrueman/design-system-opsSkill2292mo agoMITA62Claude Code