Oil UI
How it worksInstallation & usage guide
Design Method · Real-Screen Blind Review

Real-Viewport Screenshots & Blind Subagent Visual Review for AI UI

An agent reading its own JSX and Tailwind classes will happily report that a screen looks "clean and balanced" while the actual browser rendering suffers from three-line headline wraps, unreadable gray-on-dark labels and a lopsided grid. Oil UI treats live browser rendering and context-free subagent critique as mandatory steps before any interface is considered finished.

Key takeaways

Source code is not the interface

judge layouts exclusively from real browser pixels rendered at target viewports (1440×900, 390×844, 1920×720).

Takeaway 2

The agent that wrote the code is biased toward its own intentions; spawning a fresh subagent that sees only the screenshots produces honest critique.

Inspect three views

100% full-page captures for pacing, 200% crops for alignment and border discipline, and text-blurred images for block weight.

Takeaway 4

Screenshots verify static craft, while clicking and typing through the live page confirms that states, drawers and error recovery actually work.

Between Pages · Editorial PressIssue 07 · Autumn

Contributor Settlement

Due Nov 20
Outstanding Total¥8,640.00
2 ready · 1 awaiting bank info
Contributor & PieceNet Fee (¥)Status
Lin YaoA Walk by the Water · Essay3,200.00Ready
Chen ZhouThe Other Side of Objects · Photo2,880.00Ready
Xu NanCourtyard Studies · Illustration2,560.00Bank info needed
Incomplete records roll over automatically
Install the free open-source Oil UI Skill
npx skills add oil-oil/oil-ui

Requires an image-capable model and a local browser environment that can render and capture pages.

Why Source-Code Inspection Misses Visual Defects

In source code, a flex row with justify-between looks tidy. In a real 390px viewport with a 32-character product title and three action buttons, that same row crushes the buttons into tall, unreadable pills. Similarly, color classes in code do not reveal when secondary text disappears against a dark background.

Many of the sharpest details in the Oil UI gallery depend on exact viewport behavior: in Yantu (car infotainment at 1920×720), approaching a turn enlarges navigation guidance and dims media controls; in Splitwater (swim watch at 198×242, DPR=4), a single giant numeral owns the wet screen; in Forkside (chess lessons), making the right knight move lights up two simultaneous fork attack lines. Only live rendering confirms those states hold up.

The four layers of visual verification in Oil UI
Inspection layerHow it worksWhat defects it catches
100% viewport captureFull-bleed and full-scroll screenshots at 1440×900 (desktop) or 390×844 (mobile)Buried primary actions, monotonous section heights, broken scroll pacing and clipped footers
200% detail crops2× zoomed crops of headers, table rows, form inputs and pricing tiersDouble borders, misaligned numeric columns, inconsistent padding and low-contrast captions
Blurred block-structure checkText blurred or downscaled so only spatial masses and color accents remain visibleTop-heavy or lopsided layouts, competing accent colors and uniform grids of identical boxes
Live interactive walkthroughClicking, typing, dragging sliders and triggering error states in the browserDead buttons, popovers covering critical context, broken validation recovery and desynced state

How Context-Free Subagent Blind Review Works

Ask the authoring agent to critique its own screenshot and it will usually rationalize its mistakes because it remembers the prompt it was trying to satisfy.

Oil UI breaks that confirmation bias by spawning a separate subagent that receives zero source code and zero implementation history—only the rendered PNG screenshots and a one-line statement of what the product is. Acting like a demanding first-time user, the blind reviewer flags cramped spacing, leftover AI clichés and weak contrast.

  1. Capture deterministic screenshots of every required state

    The main agent opens the running page in a headless browser and captures the default view, active interaction states and mobile breakpoints.

  2. Hand the images to a fresh subagent with no code context

    The reviewer inspects the captures against Oil UI’s readability, hierarchy and anti-slop criteria and returns a concrete list of visual defects.

  3. Fix defects, subtract clutter and re-capture

    The main agent resolves each reported issue in code and takes a fresh screenshot to verify the fix before completing the task.

Prompt Template to Trigger a Blind Screenshot Review

Whenever a draft screen works functionally but still feels slightly off, run this review pass:

Real-viewport capture & blind subagent review prompt
Run an Oil UI visual verification and blind subagent review on the current screen:
1. Open the live page in a local browser and capture screenshots at 1440×900 (desktop) and 390×844 (mobile), covering the default state and [State 1 / State 2].
2. Spawn a fresh subagent with no code context. Pass only the screenshots and product summary, and have it critique: leftover AI template clichés, low-contrast text, cramped padding, misaligned columns and unclear first-screen focus.
3. Fix every issue raised by the blind reviewer and re-capture screenshots to confirm.

Works automatically in agents that support subagents and image inspection, such as Claude Code and Codex.

Working gallery examples & prompts

Browse collection →
Oil UI Pro

Oil UI Pro: Up to 3 rounds of 9/10 blind review before you ship

The free skill runs a single review pass for obvious layout bugs. For customer-facing launches, Oil UI Pro adds anti-slop craft checks, live interactive walkthroughs, and optional up-to-3-round deep polish targeting 9/10 ($9.99 one-time, lifetime updates).

Explore Oil UI Pro →
Copy the Pro install prompt
npx github:oil-oil/oil-cli install oil-ui-pro

Common questions

What happens if my agent environment cannot open a browser or inspect images?

Oil UI’s brief framing, category guidance and anti-slop rules still help during code generation, but without a real browser and image inspection the agent cannot see rendered pixels or run blind visual reviews. For best results, pair Oil UI with Playwright or local browser tooling.

Why inspect 200% zoomed crops in addition to full-page screenshots?

Full-page screenshots compress dense tables and form controls enough to hide 1px misalignments, colliding borders and muddy secondary text. Cropping key controls at 200% makes micro-typography and spacing errors unmistakable.

What does blurring or masking text reveal during a review?

When you can no longer read the words, you stop forgiving a weak layout because the copy sounds smart. Blurred block views immediately expose whether the primary action stands out and whether visual weight is balanced across the canvas.

How many rounds of blind review does a typical screen need?

One to two rounds catch the vast majority of spacing, contrast and cliché issues on everyday screens. For flagship landing pages or complex workspaces, Oil UI Pro’s three-round loop pushes craft noticeably further.

Related guides

Claude Code UI Design Guide ↗Codex UI Design Guide ↗Fixing Generic AI UI Slop ↗