ui-capture

Solid

Capture baseline evidence from a live website URL: screenshots, scroll states, hover/click behavior, parallax, timers, and transition recordings. Use when reference artifacts are needed before implementation or comparison; not to build or diagnose a clone.

Web & Frontend 11 stars 1 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 82/100

Stars 20%
36
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# ui-capture - Visual Capture & Reference Capture reference screenshots and transition videos, detect transition types, and optionally capture matching implementation clips as downstream verification evidence. **Primary trigger:** Capture/reference evidence from a URL. **Non-goals:** Do not use `ui-capture` as the primary mismatch diagnosis tool; hand failing validation evidence to `visual-debug`. ## Session rule **Always use `--session <project-name>`** with every `agent-browser` command. ## Token rule Pipe large `eval` output to a file, then `Read` only what you need: ```bash agent-browser --session <s> eval "<script>" > tmp/ref/<name>.json ``` Never let large JSON print to stdout — it wastes tokens. ## `eval` JSON unwrap rule `agent-browser eval` returns the script's return value JSON-encoded, so a script that returns `JSON.stringify(obj)` writes a *double-quoted JSON string* to disk (e.g. `"{\"sections\":[...]}"`), not the object itself. Passing that file straight to `jq '.sections'` fails with `jq: Cannot index string with string "sections"`. Unwrap once before further `jq` work: ```bash agent-browser --session <s> eval "(() => JSON.stringify({...}))()" > raw.json jq -r 'fromjson' raw.json > data.json # now a real object; pipe to jq freely ``` Or skip the inner `JSON.stringify` entirely — `agent-browser eval` already serializes the return value, so returning the plain object works too and avoids the unwrap step: ```bash agent-browser --session <s> eval "(() =>...

Details

Author
voidmatcha
Repository
voidmatcha/ui-clone-skills
Created
6 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category