visual-regression-lab

visual-regression-lab is a skill for Codex from TheGoat395/Codex-Skills. It costs 15 tokens per session (431 once invoked), scanned A, original, MIT.

A browser-based visual testing workflow for checking webpages with screenshots, viewport tests, console and network checks, and interaction reviews.

In plain words
What is it for?
Use it after frontend changes to test desktop and mobile pages, forms, menus, tabs, modals, animations, and canvas or video content.
Why use it?
It catches layout, media, overflow, loading, typography, and interaction problems that code inspection alone may miss.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it after frontend changes to test desktop and mobile pages, forms, menus, tabs, modals, animations, and canvas or video content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thegoat395/codex-skills/visual-regression-lab
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.

Any agent
npx skills add TheGoat395/Codex-Skills --skill visual-regression-lab
Clone the repo
git clone --depth 1 https://github.com/TheGoat395/Codex-Skills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for visual-regression-lab

README.md
[![agentmods](https://agentmods.dev/badge/skills/thegoat395/codex-skills/visual-regression-lab/github.svg)](https://agentmods.dev/skills/thegoat395/codex-skills/visual-regression-lab)
Your own site
<a href="https://agentmods.dev/skills/thegoat395/codex-skills/visual-regression-lab"><img src="https://agentmods.dev/badge/skills/thegoat395/codex-skills/visual-regression-lab/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for visual-regression-lab

Your own site · 80×15
<a href="https://agentmods.dev/skills/thegoat395/codex-skills/visual-regression-lab"><img src="https://agentmods.dev/badge/skills/thegoat395/codex-skills/visual-regression-lab.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 431 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00015 $0.00431
Opus 5.5 $0.00006 $0.00172
Sonnet 5.5 $0.00003 $0.00086
Haiku 4.5 $0.00002 $0.00043

Measured 1mo ago against content hash 80e2e679c415, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

visual-regression-lab 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 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/capture-settled-baseline.mjs, scripts/capture-stitched-full-page.mjs), 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/visual-regression-lab/SKILL.md · 37 lines

What it actually says

Visual Regression Lab

Use this skill to capture comparable browser evidence and inspect visual regressions. Scope routes, viewports and states to the requested comparison; a capture alone does not prove quality.

Required Checks

  1. Start or identify the local server.
  2. Open the relevant route in a browser or Playwright.
  3. Capture the relevant supported viewports and states, using the same conditions for baseline and candidate.
  4. Check console errors, failed requests, layout overflow, missing media, and text clipping.
  5. Inspect first viewport composition, hierarchy, spacing, typography, image crops, and CTA visibility.
  6. Test key interactions: nav, forms, menus, tabs, accordions, hover states, focus states, and modals.
  7. For animation-heavy work, test reduced-motion behavior and watch for jank.
  8. For canvas/WebGL/video, verify nonblank rendered pixels and stable framing.
  9. Report observed differences with evidence. Repair only when authorized, then recapture affected states; no fixed polish-pass or edit quota applies.

Read baseline contract. When a project has Playwright installed, run node "<skill-root>/scripts/capture-settled-baseline.mjs" <url> <output-dir> to capture settled desktop/mobile/reduced-motion states and a machine-readable inspection manifest.

When native full-page capture is blank, sparse, incomplete, or inconsistent with real scrolling, read stitched full-page capture and run node "<skill-root>/scripts/capture-stitched-full-page.mjs" --url <url> --output <image>. Treat the stitched image as evidence only after visual inspection.

Output

Report:

  • routes/viewports checked
  • screenshots or saved paths when available
  • issues found and fixed
  • commands run
  • anything not tested

Resolve <skill-root> to this skill folder's actual absolute location; preserve project-local module resolution for Node capture tools.

Files

What ships with it

5 files 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. 1mo ago Changed 80e2e679c415
  2. 1mo ago Changed · +6 lines · -33 tokens per session f37c42210caa
  3. 1mo ago First seen · 31 lines · 48 tokens per session scan A 0e5a917ee36e

Subscribe to this mod's changes

visual-regression-lab is a skill published in the GitHub repository TheGoat395/Codex-Skills (132 stars, last pushed 3d ago), licensed MIT. It adds 15 tokens to every session and 431 once invoked, about $0.0001 per session on Opus 5.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-09-03.