setup

setup is a skill for Claude Code from byjunyoung/claude-product-skills. It costs 107 tokens per session (5,192 once invoked), scanned A, original, MIT.

A Figma file analysis assistant that studies an existing design file and records its conventions in a figma-conventions.yaml file. Figma is a collaborative tool for designing interfaces.

In plain words
What is it for?
Use it to document page roles, naming patterns, state labels, spacing values, section styles, and arrow styles from actual Figma nodes.
Why use it?
It replaces assumptions about a design system with patterns observed in the file, while leaving uncertain conventions unspecified.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; 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 document page roles, naming patterns, state labels, spacing values, section styles, and arrow styles from actual Figma nodes.

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 setup

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/byjunyoung/claude-product-skills/setup"><img src="https://agentmods.dev/badge/skills/byjunyoung/claude-product-skills/setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,192 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.00107 $0.05192
Opus 5.5 $0.00043 $0.02077
Sonnet 5.5 $0.00021 $0.01038
Haiku 4.5 $0.00011 $0.00519

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

Security

Grade A, and why

setup 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/setup/SKILL.md · 290 lines

How it starts

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

fig:setup — infer a file's conventions, draft the config

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.

Every skill here reads figma-conventions.yaml as its source of rules. This skill produces the first copy in an environment that has none.

It does not ask for the conventions, it observes them in the file. Section style, spacing tokens, arrow style — those are already sitting on the canvas, and asking a person makes it worse, because they answer from memory and memory is wrong. What only a person knows — which page is canonical, which states are mandatory — is asked rather than observed.

Prerequisites: load figma:figma-use before calling use_figma. Zero writes — the Figma file is never touched. The only thing written is one local config file.

How it runs — the ladder

Show this before the first call, and name each step as it begins:

① Check this machine                  read-only · seconds
② Read the page landscape             read-only
③ Probe three to five pages           read-only · says what it saw
④ Ask what observation can't settle   one at a time · a recommendation · "leave it blank" always offered
⑤ Write the file                      preview → go · one local file
⑥ First result                        /fig:lint on one page, judged by its false-positive rate

With nothing to observe — a first file — ② to ④ give way to the starter path below: the same ladder, a different middle, and the first result is a skeleton on the canvas rather than a lint.

Open with what this produces. After this, a page can be tidied and its missing states stubbed (/fig:prep), its flow arrows drawn and re-synced (/fig:arrows), and audited in one pass (/fig:lint) — against the conventions this file already keeps, not a template's. Five minutes on a tidy file. Nothing in Figma is touched; one local file is written, and shown first.

Read the full file on GitHub · 290 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 · -29 tokens per session d34caee08053
  2. 1mo ago Changed · +16 lines · -25 tokens per session a6b9d0a5609a
  3. 2mo ago Changed · +29 lines 93e62294f50e
  4. 3mo ago Changed · +2 lines 4df533f3bf30
  5. 3mo ago First seen · 241 lines · 161 tokens per session scan A fba5c6f97f79

Subscribe to this mod's changes

setup is a skill published in the GitHub repository byjunyoung/claude-product-skills (5 stars, last pushed today), licensed MIT. It adds 107 tokens to every session and 5,192 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-08-31.

Related

setup compared with skills from other repositories

setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
setupbyjunyoung/claude-product-skillsSkill5todayMITA107Claude 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