vrt

vrt is a skill for Claude Code from ericfitz/skills. It costs 51 tokens per session (1,088 once invoked), scanned A, original, Apache-2.0.

A workflow for investigating failed Playwright visual-regression tests by showing the approved screenshot, the new screenshot, and the difference between them.

In plain words
What is it for?
It is for triaging screenshot-test failures and guiding the choice between fixing the interface and updating the approved screenshot.
Why use it?
It helps decide whether the mismatch is caused by a bug or is an expected result of the current task, so the right fix can be chosen.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ui plugin — 1 skill shipped together

Good fit It is for triaging screenshot-test failures and guiding the choice between fixing the interface and updating the approved screenshot.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ericfitz/skills/vrt
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 ericfitz/skills --skill vrt
Clone the repo
git clone --depth 1 https://github.com/ericfitz/skills

Made for: Claude Code.

Or install ui, the plugin that ships this one along with the rest of its 1 skill.

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 vrt

README.md
[![agentmods](https://agentmods.dev/badge/skills/ericfitz/skills/vrt/github.svg)](https://agentmods.dev/skills/ericfitz/skills/vrt)
Your own site
<a href="https://agentmods.dev/skills/ericfitz/skills/vrt"><img src="https://agentmods.dev/badge/skills/ericfitz/skills/vrt/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 vrt

Your own site · 80×15
<a href="https://agentmods.dev/skills/ericfitz/skills/vrt"><img src="https://agentmods.dev/badge/skills/ericfitz/skills/vrt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,088 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.
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.00051 $0.01088
Opus 5.5 $0.00020 $0.00435
Sonnet 5.5 $0.00010 $0.00218
Haiku 4.5 $0.00005 $0.00109

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

Security

Grade A, and why

vrt 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.

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.

ui/skills/vrt/SKILL.md · 108 lines

How it starts

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

Visual Regression Triage

When a Playwright visual regression test fails, present the baseline, actual, and diff images alongside the user's current task context, then guide the user to either fix the underlying bug or update the baseline.

Configuration (optional)

Reads .local/repos.json (walked up from pwd) to look up the GitHub owner/repo for the current project so that gh issue view can fetch task context. If .local/repos.json is missing or the current project isn't found, the skill falls back to whatever gh is configured to use.

{
  "<name>": {
    "path": "<absolute repo path matching pwd>",
    "github": {"owner": "...", "repo": "..."}
  }
}

The skill identifies the current project by matching pwd (or its parent) to an entry's path value; the matching entry's key is <name>.

A skill-specific config file .claude/visual-regression.config.json is supported but optional:

{
  "test_command":            "pnpm test:e2e --project=visual-regression",
  "update_command":          "pnpm test:e2e --project=visual-regression --update-snapshots",
  "results_glob":            "test-results/**/*-actual.png",
  "snapshot_naming": {
    "actual_suffix":   "-actual.png",
    "expected_suffix": "-expected.png",
    "diff_suffix":     "-diff.png"
  }
}

If the config is missing, defaults match Playwright's standard layout and use a generic npx playwright test invocation.

Process

1. Gather task context

Before examining images, understand what the user is working on:

  1. git branch --show-current — current branch.
  2. git log --oneline -5 — recent commits; look for issue numbers and Conventional Commit types.
  3. If commits or branch name reference an issue number #N, look up the issue:
    OWNER=$(jq -r --arg n "$NAME" '.[$n].github.owner // empty' .local/repos.json)  # $NAME = matched key
    REPO=$(jq -r --arg n "$NAME" '.[$n].github.repo // empty' .local/repos.json)
    gh issue view "$N" --repo "$OWNER/$REPO" --json title,body
    
    If OWNER/REPO are unavailable, run gh issue view "$N" with no --repo flag.
  4. git diff --name-only HEAD~5 — recently changed files.

Read the full file on GitHub · 108 lines

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 First seen · 108 lines · 51 tokens per session scan A fdede1a04258

Subscribe to this mod's changes

vrt is a skill published in the GitHub repository ericfitz/skills (0 stars, last pushed yesterday), licensed Apache-2.0. It adds 51 tokens to every session and 1,088 once invoked, about $0.0002 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-04.

Related

Other skills, from other repositories

a11y-ally

Use when running comprehensive WCAG accessibility audits with axe-core + pa11y + Lighthouse, generating context-aware remediation, or testing video accessibility. Supports 3-tier browser cascade with graceful degradation.

proffesor-for-testing/agentic-qe · 44 tokens

accessibility-testing

WCAG 2.2 compliance testing, screen reader validation, and inclusive design verification. Use when ensuring legal compliance (ADA, Section 508), testing for disabilities, or building accessible applications for 1 billion disabled users globally.

proffesor-for-testing/agentic-qe · 50 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

frontend-manual-testing

Use when the task changes anything a user sees in a web app - booting it, driving flows with the browser tools, the four-width check, console/network/keyboard checks and the visual checklist.

makifbaysal/tasktrooper · 44 tokens

playwright-scanner

Internal helper: behavioral scans via Playwright for keyboard and state.

Community-Access/accessibility-agents · 18 tokens

visual-qa-testing

Visually QA a web application by launching it in Cursor's built-in browser, taking screenshots, checking console errors, and auditing network requests. Use after making UI changes to verify they look correct.

spencerpauly/awesome-cursor-skills · 44 tokens