factory-render-verify

A verification workflow that renders an HTML page at different screen sizes, takes screenshots, and records measurements in a report.

In plain words
What is it for?
Use it to check horizontal overflow, text sizes, fingertip-sized tap targets, safe-area support, and other responsive design conditions.
Why use it?
It reveals layout problems that source code or one desktop screenshot can miss, such as mobile overflow, unreadable text, or undersized buttons.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/squidbay/factory/factory-render-verify
Any agent
npx skills add squidbay/factory --skill factory-render-verify
Clone the repo
git clone --depth 1 https://github.com/squidbay/factory

Made for: Claude Code, Codex.

Per session 133 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,569 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00133 $0.01569
Opus 5 $0.00067 $0.00785
Sonnet 5 $0.00027 $0.00314
Haiku 4.5 $0.00013 $0.00157

Measured 3d ago against content hash fbceb17519ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

factory-render-verify scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/render.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/factory-render-verify/SKILL.md · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.

factory-render-verify — receipts, not vibes

A page can look right in one browser window and fall apart on a phone, in landscape, or on a wide monitor — and you would never know from reading the code. This skill renders the real page at every screen size, measures the things that actually break, and writes the results to disk as receipts: a screenshot per size plus a report.json of hard numbers. Code attaches those to the pull request; Team Leader audits against them; you merge. Receipts are the gate, not the claim.

This is the render half of the design quality gateguides/DESIGN-QUALITY-GATE.md is the contract that says what "done" means; this skill is how STEP 7's visual QA gets proven instead of asserted.

What it measures, at every size

  • Horizontal overflow — the page wider than the screen. The single most common mobile bug, and invisible in a desktop window.
  • Headline and body type size — catches an oversized hero headline and, worse, body copy under 16px (too small to read comfortably on a phone).
  • Tap targets under 44px — buttons and links smaller than a fingertip.
  • Safe-area handling — whether the page accounts for the notch and the home indicator on modern phones.
  • Monospace on body copy — the monospaced font belongs on labels and numbers, never on paragraphs; it's a tell that a page was styled by feel rather than by system.
  • Zoom sanity — records that the render was at true 1:1 (see the zoom-check rule below).

The screen sizes it renders

Phone portrait 390×844 and 430×932 · phone landscape 844×390 (phones turn sideways — a hero built only for portrait collapses here) · tablet 834×1112 · desktop 1280×720, 1440×900, 1920×1080. These match the widths in the quality gate's STEP 7. Override with --sizes "name:WxH,..." for a page with unusual breakpoints.

Run it

The browser ships with your session — nothing to download. Install the Python binding once if it's missing (do not run playwright install; the browser is already on disk):

Read the full file on GitHub · 111 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 111 lines · 133 tokens per session scan A fbceb17519ae

Subscribe to this mod's changes

factory-render-verify is a skill published in the GitHub repository squidbay/factory (5 stars, last pushed 12d ago), licensed MIT. It adds 133 tokens to every session and 1,569 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.