Figma use_figma Plugin API Rules
warpdotdev/warp
Required groundwork before any use_figma call: the rules and reference files for running JavaScript in a Figma file through the Plugin API without common failures.
Extracts the design of a screenshot, website URL or Figma file into a design.md of tokens, components, layout and brand rules, or copies one element into element.md.
$ npx skills add uxKero/anydesign --skill anydesign -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install uxKero/anydesign anydesign --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
Claude Code skills documentation · loads skills from .claude/skills/
Install the "anydesign" agent skill from https://github.com/uxKero/anydesign/tree/main into .claude/skills/anydesign/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anydesign", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add uxKero/anydesign --skill anydesign -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install uxKero/anydesign anydesign --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "anydesign" agent skill from https://github.com/uxKero/anydesign/tree/main into .agents/skills/anydesign/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anydesign", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add uxKero/anydesign --skill anydesign -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install uxKero/anydesign anydesign --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "anydesign" agent skill from https://github.com/uxKero/anydesign/tree/main into .cursor/skills/anydesign/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anydesign", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add uxKero/anydesign --skill anydesign -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install uxKero/anydesign anydesign --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "anydesign" agent skill from https://github.com/uxKero/anydesign/tree/main into .gemini/skills/anydesign/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anydesign", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install uxKero/anydesign anydesignInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add uxKero/anydesign --skill anydesign -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "anydesign" agent skill from https://github.com/uxKero/anydesign/tree/main into .github/skills/anydesign/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anydesign", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add uxKero/anydesign --skill anydesign -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install uxKero/anydesign anydesign --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "anydesign" agent skill from https://github.com/uxKero/anydesign/tree/main into .opencode/skills/anydesign/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anydesign", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
anydesignExtracts the design of a screenshot, website URL or Figma file into a design.md of tokens, components, layout and brand rules, or copies one element into element.md.
The skill makes the agent work as a design systems analyst who diagnoses a design instead of just describing it: which decisions were deliberate, which patterns repeat, which tokens sit underneath and what it would take to rebuild it. Full mode takes a page, file or system and writes a design.md with tokens, components, layout and brand rules. Element mode handles a single piece, such as a navbar, pricing card or 3D illustration, and writes an element.md with a rebuild prompt or an image-generation prompt.
A strict token budget keeps runs cheap: the agent runs the bundled scripts rather than reading their source, never reads CSS-variable or HTML dumps whole, captures at most four desktop frames and two mobile frames, and derives design-tokens.json and design-a11y.md with scripts instead of typing them. The design.md is written once and then fixed with small edits after lint findings. The package includes worked examples such as a landing page and a game asset pack.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit d81bd89. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/, which the agent can run.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
AnyDesign loads about 1.5k tokens when it runs, and up to ~9.6k if it reads all its reference files. Until then it costs about 97 tokens; SKILL.md has 781 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from uxKero/anydesign at commit d81bd89, republished under its MIT licence (© uxKero). 781 words, ~1,512 tokens.
.claude/skills/anydesign/SKILL.md (or your agent's skills folder). This skill also uses 53 other files; get the full folder from GitHub.You are a Design Systems Analyst: part visual detective, part systems designer, part frontend engineer. Don't describe what you see; diagnose the design: which decisions were deliberate, which patterns repeat, which tokens operate under the surface, and what it would take to rebuild it. The reader is a designer or another AI that will reconstruct the design from your file. Work in the user's language.
design.md.references/element-copy.md and follow its E-steps, output element.md.Signals for element mode: a definite article plus a single component ("the navbar"), an element-scoped verb ("copy", "extract just", "recreate"), or any request for an image-generation prompt. Ambiguous ("analyze this card-heavy dashboard") → full mode, and offer element mode as the follow-up.
Every tool call re-sends the whole conversation, so whatever enters the context early is paid again on each later turn. A careless URL run measured 51 model calls and a 209k-token context. Keep it lean:
--help is enough if a flag is unclear.css-vars.json, rendered HTML and Figma
get_design_context on a whole file can each be 15k to 500k tokens. Work from the script
digests. For a missing CSS variable, extract_css_vars.py --grep 'pattern'; never parse
the JSON with your own code.capture_site.py --frames N covers it.design-tokens.json comes from
build_tokens_json.py, design-a11y.md from check_contrast.py --output.design.md once, then fix lint findings with small edits, never a full rewrite.Ask only if unclear: which source (image, URL, Figma, a combination) and which emphasis (reconstruction, mood/reference, design system). Default: reconstruction plus design system, at standard depth. Go deep only when the user asks for it.
Details and flags in references/capture-flows.md; read it only if something below doesn't
cover your case.
scripts/extract_colors.py <image> when you need exact hex
codes instead of vision estimates.python scripts/extract_css_vars.py <URL> (digest of the
explicit tokens) and python scripts/capture_site.py <URL> --viewports desktop,mobile
(computed styles of body, headings, buttons, inputs and cards, plus up to 4 readable
frames per viewport). Together they usually carry the whole token layer. No Playwright →
WebFetch for content and structure, and mark measured typography ⚠️.get_metadata for structure, get_variable_defs for defined tokens,
get_design_context on a node (never a whole file), get_screenshot for visual
reference. Ask for a node-id link when given a whole file.If something fails (URL down, Cloudflare wall, no Figma access, broken image), say so and propose an alternative, such as a manual screenshot. Don't bypass protections and don't invent content.
Read references/design-md.md. It holds the six layers (identity, system, components,
layout, reconstruction, brand rules), token rigor, the frontmatter and section contract,
length caps per depth, and the art direction QA pass to run before writing. Connect the
analysis to any context the user gave ("this is for an AI brand").
Then, in order:
python scripts/check_contrast.py --pair "FG,BG:label" ... --output design-a11y.mddesign.md in one go.python scripts/lint_design_md.py design.md, and fix failures with targeted edits.python scripts/build_tokens_json.py design.md.
Never write the JSON by hand; anything to export belongs in the frontmatter.List the files and offer the next logical step for the chosen emphasis: refine a weak section, turn the design.md into a build prompt for Claude Code or v0, or analyze another source to compare. Don't close with "anything else?".
| Script | Use | Deps |
|---|---|---|
extract_css_vars.py | URL: token digest; --grep searches the saved JSON | stdlib |
capture_site.py | URL: computed styles + frames; --selector for element mode | playwright |
extract_colors.py | Image: dominant hex codes with area % | Pillow |
check_contrast.py | WCAG table; --output writes it | stdlib |
lint_design_md.py | Validates design.md (frontmatter, refs, components 1:1, sections 6-7) | stdlib |
build_tokens_json.py | design.md → DTCG design-tokens.json | stdlib |
For the user, not part of a run: verify_design.py (drift of a tokens file against the live
URL) and export_for_claude_design.py (bundle for claude.ai/design).
© uxKero, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 53 other files (scripts, references) in the repository root of uxKero/anydesign.
Open the folder on GitHubat commit d81bd89
AnyDesign next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| AnyDesign this skilluxKero/anydesign | 216 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Figma use_figma Plugin API Ruleswarpdotdev/warp | 65k | 4 repos | ~4.4k | Automated safety check: Pass | AGPL-3.0 | |
| Figma Screen Generatorwarpdotdev/warp | 65k | 2 repos | ~5k | Automated safety check: Pass | AGPL-3.0 | |
| AnyDesign Design Analyzeravelikiy/great_cto | 102 | 1 repos | ~3.2k | Automated safety check: Pass | MIT | |
| Tsh Implementing FrontendTheSoftwareHouse/copilot-collections | 284 | — | ~2.6k | Automated safety check: Pass | MIT | |
| Figma Design Inspectorasgeirtj/system_prompts_leaks | 69k | — | ~936 | Automated safety check: Pass | CC0-1.0 |
warpdotdev/warp
Required groundwork before any use_figma call: the rules and reference files for running JavaScript in a Figma file through the Plugin API without common failures.
warpdotdev/warp
Builds or updates full Figma screens from code or a description by reusing the file's published design system components, variables and styles.
avelikiy/great_cto
Analyzes a screenshot, website or Figma file and writes a `design.md` with its token system, component inventory and reconstruction notes, or an `element.md` for one element.
TheSoftwareHouse/copilot-collections
Frontend component patterns, composition, design token integration, barrel file organization, error handling, and Figma-to-code workflow.
asgeirtj/system_prompts_leaks
Inspects Figma designs through the figma CLI and Figma's MCP server to read variants, spacing, tokens and layouts and to extract assets for implementation.
jeremylongshore/tons-of-skills-marketplace
Extract design tokens, colors, typography, and spacing from Figma files via REST API.
Works with
Categories
Extracts the design of a screenshot, website URL or Figma file into a design.md of tokens, components, layout and brand rules, or copies one element into element.md. The skill makes the agent work as a design systems analyst who diagnoses a design instead of just describing it: which decisions were deliberate, which patterns repeat, which tokens sit underneath and what it would take to rebuild it.md with tokens, components, layout and brand rules.
AnyDesign fits situations like: documenting the design system of an existing website; reverse-engineering the palette and typography from a screenshot; copying one component such as a navbar or card; getting an image-generation prompt for a graphic.
Run `npx skills add uxKero/anydesign --skill anydesign -a claude-code`. Or copy the skill folder (the uxKero/anydesign repository) into .claude/skills/anydesign in your project. Claude Code loads it when a task matches its description.
Run `npx skills add uxKero/anydesign --skill anydesign -a codex`. Or copy the skill folder (the uxKero/anydesign repository) into .agents/skills/anydesign in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add uxKero/anydesign --skill anydesign -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/anydesign, .gemini/skills/anydesign, .github/skills/anydesign and .opencode/skills/anydesign in your project.
Going by SKILL.md and its folder, AnyDesign needs the command-line tools its instructions call (python). Our summary lists: Python, to run the bundled capture, token and contrast scripts.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
AnyDesign is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 8.1k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with AnyDesign: Figma use_figma Plugin API Rules (warpdotdev/warp, 65k stars), Figma Screen Generator (warpdotdev/warp, 65k stars), AnyDesign Design Analyzer (avelikiy/great_cto, 102 stars) and Tsh Implementing Frontend (TheSoftwareHouse/copilot-collections, 284 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
uxKero (a GitHub user) maintains it in uxKero/anydesign, which has 216 GitHub stars. The repository was last updated on September 15, 2026.
Source: uxKero/anydesign on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.