Agent skill

Extract Design System Skill: Design Tokens From a URL

The extract-design-system skill makes an AI coding agent read a public website's colors, type, spacing, radii and shadows and write them as starter design tokens in JSON and CSS.

Install
git clone https://github.com/arvindrk/extract-design-system.git
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the extract-design-system skill?

The extract-design-system skill is a SKILL.md in arvindrk/extract-design-system. It makes an AI coding agent run a CLI against a public URL, then write raw and normalized JSON, a W3C-compatible tokens.json and a tokens.css. It extracts colors, typography, spacing, radius and shadows, and needs Node 20 or newer.

The extract-design-system skill reads the visual language of a public website and turns it into starter design tokens. The skill folder holds SKILL.md plus two reference files, outputs.md and workflow.md, and it drives a command-line tool of the same name.

It is deliberately modest about what it produces. The result is a token starting point, not a component library and not a pixel-perfect copy. The skill also treats third-party site content as untrusted.

What changes in your agent's output

  • The agent confirms the URL is public, installs a Chromium build with Playwright, then runs the extractor on the page.
  • It writes .extract-design-system/raw.json and .extract-design-system/normalized.json, then design-system/tokens.json and design-system/tokens.css.
  • The tokens cover colors, typography, spacing, border radius and shadows.
  • It reviews the normalized file before it generates tokens and asks before modifying your code.

Who the extract-design-system skill is for

Best for

  • Starting a project from the look of a public site you are allowed to reference.
  • Producing a first token file for a redesign or migration.
  • Comparing the tokens of several sites quickly.

Not for

  • Private or logged-in sites. The skill is for public pages only.
  • Whole-site extraction. It reads a single page at a time.
  • Component libraries or pixel-perfect clones, which the skill says it does not produce.

Use it with UiChemy

Tokens are the first step. UiChemy turns designs into WordPress: Figma to WordPress converts a design file, and AI to WordPress imports an existing AI build or clones a site. Click Get Started on uichemy.com.