uiscanner

v0.3.1
io.github.mishaovcharenko/uiscanner Checked 3 days ago Published 5 months ago

Design tokens + a build prompt from any URL, right inside Claude Code, Cursor, and Codex.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ui_teardown UI teardown

Scan any public website and get a design teardown: design tokens (colors, fonts, type scale, radii, spacing, shadows, motion), section structure, and a Claude-tailored build prompt to recreate the look. Describes and tokenizes, never copies asset bytes. Returns an id and a shareable uiscanner.com/t/<id> link. Takes up to ~3 minutes. Each scan spends one unit of your plan quota; prefer retarget_teardown over a second scan, and ui_probe first to avoid spending a scan on a blocked URL.

ParameterTypeDescription
url *stringPublic URL of the page to scan, e.g. https://stripe.com
include_screenshotbooleanAlso return the rendered page as an image. Larger payload; default false.
targetstringWhat you're building, to tailor the prompt. Default: general.

ui_probe Probe URL

Cheap pre-flight before a scan: is a URL syntactically valid and public (not localhost / a private or blocked target), and is there a recent cached teardown to reuse? Spends no scan. Call it before ui_teardown to avoid wasting a scan on an unscannable URL.

ParameterTypeDescription
url *stringPublic URL to check, e.g. https://stripe.com

get_teardown Get teardown

Fetch a finished teardown by its id or its uiscanner.com/t/<id> link. Returns the same tokens, sections, brand, and build prompt as ui_teardown, without re-scanning.

ParameterTypeDescription
id *stringA teardown id, or a uiscanner.com/t/<id> link.
include_screenshotbooleanAlso return the rendered page as an image. Default false.

retarget_teardown Retarget teardown

Re-tailor a finished teardown's build prompt to a different archetype WITHOUT re-scanning (cheaper and faster than a new scan). Pass the teardown id or its link and the new target.

ParameterTypeDescription
id *stringA teardown id, or a uiscanner.com/t/<id> link.
target *stringThe archetype to re-tailor the build prompt for.

whoami Account status

Show the signed-in plan and scans remaining in the current window. Read-only; spends no scan. Worth calling before a batch of teardowns.