Agent skill

AnyDesign

by uxKero in uxKero/anydesign

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.

MITAuto-check passedFrontend & Design

Install AnyDesign

skills CLI
$ npx skills add uxKero/anydesign --skill anydesign -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install uxKero/anydesign anydesign --agent claude-code

Project 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/

Facts

Skill name
anydesign
GitHub stars
216
Token cost
~1.5k tokens
SKILL.md length
781 words
Files
54 (incl. scripts, references)
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

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.

  • Works in 4 steps: source and emphasis → capture → and 4: analyze and write → …
  • Documenting the design system of an existing website
  • SKILL.md covers Role, Two modes, Token budget (applies to every… and Workflow, plus 1 more section
  • Calls python

What it does

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.

When your agent uses it

  • 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
  • Auditing a Figma file's tokens and contrast

Example prompts

  • “Analyze https://example.com and write a design.md with its tokens and components.”
  • “Copy just the pricing card from this screenshot into an element.md.”
  • “Document the design system in our Figma file and check the contrast.”
  • “Give me a prompt to generate the 3D illustration in hero.png.”

Requirements

  • Python, to run the bundled capture, token and contrast scripts

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. source and emphasis
  2. capture
  3. and 4: analyze and write
  4. deliver

What it can do on your machine

Read from SKILL.md and the folder at commit d81bd89. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

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.

Always · name and description, kept in context so the agent knows when to use it
~97
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~9.6k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from uxKero/anydesign at commit d81bd89, republished under its MIT licence (© uxKero). 781 words, ~1,512 tokens.

Download SKILL.mdSave it as .claude/skills/anydesign/SKILL.md (or your agent's skills folder). This skill also uses 53 other files; get the full folder from GitHub.
name
anydesign
description
Extract the design of a screenshot, website URL or Figma file into a design.md with tokens, components, layout and brand rules, or copy one element (navbar, card, illustration) into an element.md with a rebuild or image-generation prompt. Use when the user wants to document, replicate, audit or reverse-engineer a visual design: its design system, palette, typography or style.

AnyDesign: design analysis and documentation

Role

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.

Two modes

  • Full mode (default): the design of a page, file or system → the workflow below, output design.md.
  • Element mode: ONE element ("copy this navbar", "just the pricing card", "recreate this 3D illustration", "give me a prompt to generate this graphic") → read 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.

Token budget (applies to every step)

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:

  • Run scripts, never open their source. --help is enough if a flag is unclear.
  • Never read a dump whole. 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.
  • Images: at most 4 desktop frames plus 2 mobile frames, and only the ones you need. Don't write your own capture or scroll scripts; capture_site.py --frames N covers it.
  • Batch. Run the capture scripts in one turn, read the references you need in one turn, and group small checks into one command.
  • Generate derived files, don't type them. design-tokens.json comes from build_tokens_json.py, design-a11y.md from check_contrast.py --output.
  • Write design.md once, then fix lint findings with small edits, never a full rewrite.

Workflow

Step 1: source and emphasis

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.

Step 2: capture

Details and flags in references/capture-flows.md; read it only if something below doesn't cover your case.

  • Image: view it directly. scripts/extract_colors.py <image> when you need exact hex codes instead of vision estimates.
  • URL: in one turn, run 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 ⚠️.
  • Figma: 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.
  • Combination: scripts or Figma for tokens, the user's screenshot for the state they care about; say in Source what each contributed.

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.

Show full SKILL.md (231 more words)Show less
Step 3 and 4: analyze and write

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:

  1. With 2+ text/surface color pairs: python scripts/check_contrast.py --pair "FG,BG:label" ... --output design-a11y.md
  2. Write design.md in one go.
  3. python scripts/lint_design_md.py design.md, and fix failures with targeted edits.
  4. If Layer 2 produced concrete tokens: python scripts/build_tokens_json.py design.md. Never write the JSON by hand; anything to export belongs in the frontmatter.
Step 5: deliver

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?".

Scripts

ScriptUseDeps
extract_css_vars.pyURL: token digest; --grep searches the saved JSONstdlib
capture_site.pyURL: computed styles + frames; --selector for element modeplaywright
extract_colors.pyImage: dominant hex codes with area %Pillow
check_contrast.pyWCAG table; --output writes itstdlib
lint_design_md.pyValidates design.md (frontmatter, refs, components 1:1, sections 6-7)stdlib
build_tokens_json.pydesign.md → DTCG design-tokens.jsonstdlib

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

Files

SKILL.md and 53 other files (scripts, references) in the repository root of uxKero/anydesign.

  • SKILL.md
  • .gitignore
  • CHANGELOG.md
  • LICENSE
  • README.md
  • examples/README.md
  • examples/discord-hero-asset/element-3D-isolated.png
  • examples/discord-hero-asset/element-3D.png
  • examples/discord-hero-asset/element.md
  • examples/discord-hero-asset/element.png
  • examples/discord-hero-asset/source.md
  • examples/game-asset-pack/asset-character.png
  • examples/game-asset-pack/element.md
  • examples/game-asset-pack/element.png
  • examples/game-asset-pack/source.md
  • examples/landing-example/design-a11y.md
  • examples/landing-example/design-tokens.json
  • … and 37 more

Open the folder on GitHubat commit d81bd89

Compare with similar skills

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.

AnyDesign compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
AnyDesign this skilluxKero/anydesign216—~1.5kAutomated safety check: PassMIT
Figma use_figma Plugin API Ruleswarpdotdev/warp65k4 repos~4.4kAutomated safety check: PassAGPL-3.0
Figma Screen Generatorwarpdotdev/warp65k2 repos~5kAutomated safety check: PassAGPL-3.0
AnyDesign Design Analyzeravelikiy/great_cto1021 repos~3.2kAutomated safety check: PassMIT
Tsh Implementing FrontendTheSoftwareHouse/copilot-collections284—~2.6kAutomated safety check: PassMIT
Figma Design Inspectorasgeirtj/system_prompts_leaks69k—~936Automated safety check: PassCC0-1.0

Similar skills

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

    65k GitHub starsUsed in 4 repos~4.4k tokens
    Frontend & DesignAuto-check passed
  • Figma Screen Generator

    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.

    65k GitHub starsUsed in 2 repos~5k tokens
    Frontend & DesignAuto-check passed
  • AnyDesign Design Analyzer

    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.

    102 GitHub starsUsed in 1 repo~3.2k tokens
    Frontend & DesignAuto-check passed
  • Tsh Implementing Frontend

    TheSoftwareHouse/copilot-collections

    Frontend component patterns, composition, design token integration, barrel file organization, error handling, and Figma-to-code workflow.

    284 GitHub stars~2.6k tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • Figma Design Inspector

    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.

    69k GitHub stars~936 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Figma Core Workflow A

    jeremylongshore/tons-of-skills-marketplace

    Extract design tokens, colors, typography, and spacing from Figma files via REST API.

    2.8k GitHub stars~1.8k tokensUpdated today
    Frontend & DesignAuto-check passed

Works with

Questions about AnyDesign

What does AnyDesign do?

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.

When should I use AnyDesign?

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.

How do I install AnyDesign in Claude Code?

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.

How do I install AnyDesign in Codex?

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.

Can I use AnyDesign in Cursor, Gemini CLI or GitHub Copilot?

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.

What does AnyDesign need to run?

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.

Does AnyDesign access the network?

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.

Is AnyDesign safe to install?

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.

What licence does AnyDesign use?

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.

How many tokens does AnyDesign use?

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.

What are the alternatives to AnyDesign?

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.

Who maintains AnyDesign?

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.