antislop-pixel is the seventh antislop skill. It takes a reference, either screenshots, a live link, or a screen recording, measures it, and returns a working page in index.html and styles.css or a measured design.md. It does not invent a style: every color, size, spacing, and state comes from the reference.
Added
antislop-pixel, with two outputs and three input modes. Choose one output per run.- Reference Website output: semantic HTML and CSS, real inputs and buttons, logos and media replaced by declared placeholders, icons redrawn as inline SVG, interactive states, and a gate that checks pixels, structure, and zoom.
design.mdoutput: color tokens, contrast pairs, font family and type scale, spacing, radii, shadows, grid containers, component patterns, state deltas, and motion durations, all from the same measured reference.- Screenshot input: one image or several, optional
shots.pyscrollbar cleanup, and explicit handling for partial screenshots. It builds only what the input shows and says so when a section is missing. - Live Link input:
capture.pyrecords the full page, the DOM, and computed styles, andfreeze.pywrites the deliverables. Up to four interactive actions can be captured as state deltas. A CAPTCHA or bot wall stops the run, and the agent offers a visible browser, a recording, or another reference. - Screen Recording input:
record.pytracks the scroll, selects overlapping keyframes, extracts state and motion, and runs a preflight check before building. - Gates: live link and exact mode require
diff.pyPASS at 1% masked,measure.py --compare --strictwith no block or text outlier above 1px, and a clean zoom check. Screen recording uses its structural gate.--exact-pixelis available when the fonts match. - A work directory at
.antislop-pixel/holds screenshots, dumps, diffs, and reports. The target folder receives only the deliverables. scripts/doctor.pychecks Pillow, NumPy, SciPy, Playwright, Chromium, and ffmpeg, and prints the command for anything missing. The agent asks before installing.- No manual setup questions: the scripts read Windows DPI and try candidate CSS viewports when the boxes contradict the default. OCR uses pytesseract or Windows OCR when available.
Changed
- The installer offers seven skills, and the single file wizard lists
antislop-pixelas the seventh. - The plugin doors load the new skill from the same
skills/folder. Their manifests now say seven skills.
Notes
- Link and recording modes need the Python packages in
requirements.txt, a Chromium build for Playwright, and ffmpeg for recordings. The doctor script names whatever is missing. - Live Link capture takes about 20 to 30 minutes. A screen recording can take 30 minutes to 2 hours. The agent asks for confirmation before starting either mode.
- Screenshot and recording modes work offline. Live Link opens only the URL you provide and fetches that page's stylesheets. It stops on anti-bot checks and never bypasses them.
- A Reference Website build does not apply antislop. After the gate passes, the agent offers the audit once.
Full Changelog: v3.2.33...v4.0.0