sketch

sketch is a skill for Claude Code from byjunyoung/claude-product-skills. It costs 101 tokens per session (2,209 once invoked), scanned A, original, MIT.

A conversation process for agreeing on a screen’s direction before drawing it. It records decisions, creates rough text wireframes, and maps how the screen changes between states.

In plain words
What is it for?
Use it to plan a screen, ask design questions one at a time, document the agreed direction, and outline its interaction states.
Why use it?
It prevents design work from starting with unresolved decisions about layout, states, and differences from the current screen.

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 Use it to plan a screen, ask design questions one at a time, document the agreed direction, and outline its interaction states.

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 sketch

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/byjunyoung/claude-product-skills/sketch"><img src="https://agentmods.dev/badge/skills/byjunyoung/claude-product-skills/sketch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,209 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.00101 $0.02209
Opus 5.5 $0.00040 $0.00884
Sonnet 5.5 $0.00020 $0.00442
Haiku 4.5 $0.00010 $0.00221

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

Security

Grade A, and why

sketch 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 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.

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/sketch/SKILL.md · 118 lines

How it starts

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

fig:sketch — agree the direction before the file

A table of rules does not show anybody a screen. A spec entry can be complete and still leave the person who asked for it unable to picture what they are agreeing to — and a write to a shared file is the most expensive place to find out they meant something else. So where the work changes how a screen looks or behaves — a new screen, a layout that moves, a flow that gains states — the direction is agreed in the conversation first, in text, before a single node is written.

That step used to live inside /fig:draw. It turned out to be useful well before anybody draws: to settle a direction before a spec is written, before a conversation with engineering, or simply to find out whether two people mean the same screen. Bundled into draw, it could only be reached by starting a Figma write. Here it stands on its own and touches nothing.

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.

When to invoke

  • "sketch this first", "wireframe this", "what would this screen look like"
  • A screen is about to look or behave differently, and nobody has pictured it yet
  • Before /pm:prd writes the entry for a screen whose layout is not settled — a spec drafted before the direction is agreed carries values chosen by whoever drafted it

When NOT to invoke

  • A stub whose TBD (needs confirmation): … already settles the layout, where the canonical screen fixes the rest — there is nothing left to picture. Go straight to /fig:draw
  • Writing anything into the file → /fig:draw
  • Stubbing the states a page is missing → /fig:prep
  • Writing the rules down as a spec → /pm:prd

Inputs

  • target (required): the screen or the change, in words — or a stub's URL, or a canonical screen's URL to start from
  • spec_url (optional): what the direction has to fit. Omitted, the lookup decides: the config, then pm's PRD where pm is installed — the same default /fig:draw reads. Where the lookup finds none, go on without one and say so

Read the full file on GitHub · 118 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 · +2 lines · -28 tokens per session 8c3b347b810c
  2. 1mo ago Changed · +13 lines · -60 tokens per session 26148dbf62fb
  3. 1mo ago First seen · 103 lines · 189 tokens per session scan A 541e114a41e6

Subscribe to this mod's changes

sketch is a skill published in the GitHub repository byjunyoung/claude-product-skills (5 stars, last pushed today), licensed MIT. It adds 101 tokens to every session and 2,209 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-10-06.

Related

sketch compared with skills from other repositories

sketch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sketchbyjunyoung/claude-product-skillsSkill5todayMITA101Claude 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