playwright-visual-regression

playwright-visual-regression is a skill for Claude Code, Codex from Mte90/dotfiles. It costs 35 tokens per session (6,407 once invoked), scanned A, original, no licence file.

A guide to visual regression testing with Playwright, a browser-testing tool that compares page screenshots to detect unwanted visual changes.

In plain words
What is it for?
Use it to compare screenshots across browsers, mask changing areas, set comparison thresholds, or analyze visual differences.
Why use it?
It helps catch layout and styling regressions that ordinary functional tests may miss.

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/mte90/dotfiles/playwright-visual-regression
Any agent
npx skills add Mte90/dotfiles --skill playwright-visual-regression
Clone the repo
git clone --depth 1 https://github.com/Mte90/dotfiles

Made for: Claude Code, 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 playwright-visual-regression

README.md
[![agentmods](https://agentmods.dev/badge/skills/mte90/dotfiles/playwright-visual-regression.svg)](https://agentmods.dev/skills/mte90/dotfiles/playwright-visual-regression)
Your own site
<a href="https://agentmods.dev/skills/mte90/dotfiles/playwright-visual-regression"><img src="https://agentmods.dev/badge/skills/mte90/dotfiles/playwright-visual-regression.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,407 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00035 $0.06407
Opus 5 $0.00017 $0.03204
Sonnet 5 $0.00007 $0.01281
Haiku 4.5 $0.00003 $0.00641

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

Security

Grade A, and why

playwright-visual-regression 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 yesterday.

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.

.config/opencode/skills/playwright-visual-regression/SKILL.md · 1,057 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. yesterday First seen · 1,057 lines · 35 tokens per session scan A ea79b2e7ed01

Subscribe to this mod's changes

playwright-visual-regression is a skill published in the GitHub repository Mte90/dotfiles (51 stars, last pushed 3d ago), with no licence file. It adds 35 tokens to every session and 6,407 once invoked, about $0.0002 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

frontend-ui-engineering

Builds production-quality, accessible, responsive user-facing UIs. Use when building or modifying interfaces and pages, creating components, implementing layouts, meeting WCAG accessibility requirements, managing state, or when the output needs to look and feel production-quality rather than AI-generated.

mamahoos/dot-files · 58 tokens

web-artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

mamahoos/dot-files · 64 tokens

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

mamahoos/dot-files · 35 tokens

k6

Generate, validate, and review k6 test scripts — load, stress, spike, soak, smoke, breakpoint, functional, and protocol. Covers HTTP, WebSocket, gRPC, browser, all executors, thresholds, checks, custom metrics, the k6-testing library, k6 Cloud execution, and the xk6 extension ecosystem; uses the xk6-docs CLI (with…

mamahoos/dot-files · 172 tokens

frontend-design

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

mamahoos/dot-files · 40 tokens

browser-testing-with-devtools

Tests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the chrome-devtools MCP server to be…

mamahoos/dot-files · 68 tokens