draw

draw is a skill for Claude Code from byjunyoung/claude-product-skills. It costs 98 tokens per session (7,327 once invoked), scanned A, original, MIT.

A screen-drawing skill that follows the existing layout patterns in the target file instead of adding an isolated design.

In plain words
What is it for?
It is for drawing screens or completing placeholders marked /fig:prep while matching the project's established screen structure.
Why use it?
It reduces inconsistent screens by finding a nearby approved screen and copying its arrangement. If no pattern exists, it stops rather than inventing one without agreement.

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 drawing screens or completing placeholders marked /fig:prep while matching the project's established screen structure.

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 draw

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/byjunyoung/claude-product-skills/draw"><img src="https://agentmods.dev/badge/skills/byjunyoung/claude-product-skills/draw.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,327 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.00098 $0.07327
Opus 5.5 $0.00039 $0.02931
Sonnet 5.5 $0.00020 $0.01465
Haiku 4.5 $0.00010 $0.00733

Measured 14d ago against content hash 5655fb746514, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

draw 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 14d 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.

plugins/fig/skills/draw/SKILL.md · 294 lines

How it starts

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

fig:draw — draw the screen

Every other skill here is explicit about staying out of this step. /fig:prep lays the skeleton and stubs what is missing, /fig:arrows wires the flow around it, /fig:lint only ever reads. In between, a screen has to actually get drawn — and until now that step was a sentence in the README rather than a skill, so none of this plugin's own conventions reached it. This is that step brought inside the same discipline as the rest: the config decides the naming, the canonical page and the arrangement pattern, not whoever happens to be drawing.

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.

Prerequisites: always load the figma:figma-use skill before calling use_figma. Assembly is not this skill's work — when cloning a canonical screen there is nothing to assemble, but where a screen needs components discovered, imported and composed, figma:figma-generate-design does that (loaded before the first mutating call, as below); where a component master or a variant set has to be built, figma:figma-generate-library. This skill decides what gets drawn, where it belongs and what it has to match, and hands the building to them.

What draw takes from figma:figma-generate-design: its component discovery (the Code Connect check, the inspection of screens already in the file, and the library search, search_design_system) and its way of editing an existing screen. What it does not take: the page-level wrapper frame and html_to_figma, because draw clones a canonical screen, so the screen already exists inside its section and there is nothing to wrap or to build from HTML.

Before the first mutating use_figma call, load figma:figma-generate-design alongside figma:figma-use (figma-use: "Before the first mutating use_figma call, load figma-generate-design alongside this skill and include both names in every mutating call's skillNames"), and in the skillNames of every mutating call name both: figma-use,figma-generate-design. Discovery before the go stays read-only: the Code Connect check, the file's own screens and search_design_system write nothing.

Seat check before the first write — call whoami once. Where every plan it lists carries seat: View, stop before any use_figma write and say so: reading the file works on a View seat, writing to it needs an Edit seat on that file's plan, and no retry changes that. Where the seats are mixed, go ahead — and if the first write comes back as a permission error, report the seat table and stop rather than retrying.

Read the full file on GitHub · 294 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. 14d ago Changed · +2 lines 5655fb746514
  2. 1mo ago Changed · +4 lines · -27 tokens per session af62a90c4ea6
  3. 1mo ago Changed · +15 lines · -110 tokens per session 868af02311f8
  4. 1mo ago Changed · -4 lines · +4 tokens per session d13dc7501405
  5. 2mo ago Changed ed1f67924371
  6. 2mo ago Changed · +9 lines f6095e39da42
  7. 2mo ago Changed e205ade6c8e2
  8. 2mo ago Changed · +28 lines · +40 tokens per session 79df6645e5f0
  9. 2mo ago First seen · 240 lines · 191 tokens per session scan A 7f9d9543e5c0

Subscribe to this mod's changes

draw is a skill published in the GitHub repository byjunyoung/claude-product-skills (5 stars, last pushed today), licensed MIT. It adds 98 tokens to every session and 7,327 once invoked, about $0.0004 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-09-22.

Related

draw compared with skills from other repositories

draw next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
drawbyjunyoung/claude-product-skillsSkill5todayMITA98Claude 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