Design + Free · v0.1.0

UI inventory

Reads local HTML and CSS and lists the font sizes, colors, and corner radii in use, with counts.

  1. 01

    Add the catalog

    Open Claude Code and paste this line. Do this once. If you already added grw—lab for another skill, skip it.

    $ /plugin marketplace add grw-lab/skills

  2. 02

    Install UI inventory

    Paste this second line. It installs UI inventory and leaves the other skills out.

    $ /plugin install ui-inventory@grw-lab

Every skill instead: use /plugin install grw-skills@grw-lab as line 2. On claude.ai, zip the ui-inventory folder and upload it in Settings, then Capabilities, then Skills. In Cursor, point the agent at ui-inventory/SKILL.md.

UI inventory

What it does

Reads local HTML and CSS and lists headings, buttons, font sizes, colors, and corner radii, with how many times each value appears.

When to use it

A folder of interface files, before anyone names tokens or merges one-off styles.

Install

This installs ui-inventory only. The first line is once per machine.

/plugin marketplace add grw-lab/skills
/plugin install ui-inventory@grw-lab

To install every grw—lab skill instead, use this as line 2:

/plugin install grw-skills@grw-lab

On claude.ai, zip this folder and add it under Settings, Capabilities, Skills. In Cursor, copy SKILL.md into the project skills folder.

Needs Python 3.9 or newer. No extra packages.

Usage

python scripts/ui_inventory.py ./src --out report.md

It reads .html, .css, and .scss. It skips node_modules, vendor, dist, build, and hidden folders. It does not open the network.

Example

Two files, one button at 16px and one paragraph at 14px, plus a stylesheet with 16px, 13px, #111, #333, 8px, and 4px, produce three font sizes and two radii. 16px and #111 and 8px are the values that repeat.

What's inside

scripts/ui_inventory.py writes report.md. Token export is a later step, in design-tokens-extractor.

FAQ

Can it scan a live URL? No. Save the HTML and CSS first, then point the script at the folder.

Does it change my CSS? No. It only writes the report.