visual-regression-lab

visual-regression-lab is a skill for Codex from TheGoat395/Codex-Skills. It costs 15 tokens per session (391 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.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.svg" alt="Measured on agentmods" 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 391 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.00391
Opus 5 $0.00008 $0.00196
Sonnet 5 $0.00003 $0.00078
Haiku 4.5 $0.00002 $0.00039

Measured 2d ago against content hash f37c42210caa, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 2d 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 prove the site looks right in a browser, not just in code.

Required Checks

  1. Start or identify the local server.
  2. Open the relevant route in a browser or Playwright.
  3. Capture desktop and mobile screenshots.
  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. Do one second-pass polish edit when the result feels generic or cramped.

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. 2d ago Changed · +6 lines · -33 tokens per session f37c42210caa
  2. 5d 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 (122 stars, last pushed 2d ago), licensed MIT. It adds 15 tokens to every session and 391 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

visual-qa

Use when a website needs rendered screenshot review, Playwright visual regression, multi-viewport checks, horizontal overflow detection, console-error checks, focus/state inspection, or a repeatable visual QA evidence set.

Lrinvl1203/world-class-web-design-os · 44 tokens

testing-e2e

End-to-end testing patterns with Playwright — page objects, AI agent testing, visual regression, accessibility testing with axe-core, and CI integration. Use when writing E2E tests, setting up Playwright, implementing visual regression, or testing accessibility.

yonatangross/orchestkit · 55 tokens

image-compare

Compare two image files on disk and report what changed, region by region. Trigger on "what changed between these two images", "diff these PNGs", "did this render drift", "compare screenshots/exports/renders".

teimurjan/blazediff · 49 tokens

Accessibility Auditor

Comprehensive WCAG 2.1 AA compliance testing combining automated axe-core scans with manual keyboard navigation, screen reader compatibility, and focus management verification.

PramodDutta/qaskills · 32 tokens

Axe-core Accessibility Testing

Accessibility testing skill using axe-core and Playwright for automated WCAG 2.1 compliance auditing, custom rules, and accessibility reporting.

PramodDutta/qaskills · 33 tokens

quality-engineering-selector-stability

Cross-stack selector and test-id policy for web and mobile automation. Use when writing or reviewing E2E/UI test locators, or adding data-testid/accessibility identifiers to components.

HoangNguyen0403/agent-skills-standard · 43 tokens