playwright-screenshot-inspector

playwright-screenshot-inspector is a skill for Claude Code from curiositech/some_claude_skills. It costs 32 tokens per session (3,134 once invoked), scanned A, original, MIT.

A visual testing guide that captures web pages with Playwright and uses an AI model to inspect what the screenshots show. It checks meaning and usability, not only whether individual pixels changed.

In plain words
What is it for?
Use it to capture and inspect screenshots, verify light and dark themes, analyse visual regressions, and check whether web interfaces render correctly.
Why use it?
It helps distinguish a real rendering problem from an acceptable visual difference. It can reveal missing content, broken themes, or invisible and badly styled interactive elements.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

Good fit Use it to capture and inspect screenshots, verify light and dark themes, analyse visual regressions, and check whether web interfaces render correctly.

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

Made for: Claude Code.

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-screenshot-inspector

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/curiositech/some_claude_skills/playwright-screenshot-inspector"><img src="https://agentmods.dev/badge/skills/curiositech/some_claude_skills/playwright-screenshot-inspector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,134 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.00032 $0.03134
Opus 5 $0.00016 $0.01567
Sonnet 5 $0.00006 $0.00627
Haiku 4.5 $0.00003 $0.00313

Measured 8d ago against content hash d0d0cc86ec35, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

playwright-screenshot-inspector 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 8d 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.

.claude/skills/playwright-screenshot-inspector/SKILL.md · 435 lines

How it starts

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

Playwright Screenshot Inspector

LLM-powered visual testing expert for automated screenshot capture, analysis, and UI verification using Playwright with multimodal AI inspection.

Activation Triggers

Activate on:

  • "screenshot test", "visual test", "screenshot inspection"
  • "playwright headless", "playwright screenshot"
  • "UI verification", "visual regression"
  • "theme compliance test", "dark mode test", "light mode test"
  • "automated screenshot", "capture and analyze"
  • "compare screenshots", "visual diff"

NOT for:

  • Simple one-off screenshots (use browser DevTools)
  • Pixel-perfect comparison without AI (use native Playwright toHaveScreenshot)
  • Non-web UI testing (use platform-specific tools)
  • Performance testing (use Lighthouse/WebPageTest)

Core Philosophy

Traditional visual testing compares pixels. LLM-powered visual testing understands semantics.

Instead of "these 50 pixels changed", LLM inspection answers:

  • "Is the content actually rendered?"
  • "Does the theme switch correctly?"
  • "Are interactive elements visible and properly styled?"
  • "What's broken vs. what's just different?"

The Screenshot Inspection Loop

┌─────────────────────────────────────────────────────────────┐
│                    LLM SCREENSHOT INSPECTION                │
├─────────────────────────────────────────────────────────────┤
│                                                             │
│  1. CAPTURE (Playwright)                                    │
│     └─► Wait for React hydration, not just network          │
│                                                             │
│  2. READ (Claude vision)                                    │
│     └─► Pass screenshot to LLM with specific questions      │
│                                                             │
│  3. ANALYZE (Structured response)                           │
│     └─► Extract: content present? theme correct? errors?    │
│                                                             │
│  4. ACT (Conditional logic)                                 │
│     └─► Pass/fail based on semantic understanding           │
│                                                             │
└─────────────────────────────────────────────────────────────┘

Read the full file on GitHub · 435 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. 8d ago First seen · 435 lines · 32 tokens per session scan A d0d0cc86ec35

Subscribe to this mod's changes

playwright-screenshot-inspector is a skill published in the GitHub repository curiositech/some_claude_skills (219 stars, last pushed 5d ago), licensed MIT. It adds 32 tokens to every session and 3,134 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

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

playwright-component-testing

Set up component testing with Playwright using a story gallery — scaffold stories and a gallery dev page driven by the built-in mount fixture, no dedicated component-testing runtime. Use when asked to test React or Vue components in isolation with Playwright, or to migrate off @playwright/experimental-ct-react / -vue.

microsoft/playwright · 69 tokens

next-partial-prefetching-optimizer

Optimize what selected Next.js client navigations include before the click under Partial Prefetching. Use after Cache Components and Partial Prefetching are adopted when the user wants selected URL-specific UI to be instant, wants reusable content to wait for navigation, or needs to choose between default, viewport…

vercel/next.js · 82 tokens

screen-reader-testing

Test web applications with screen readers including VoiceOver, NVDA, and JAWS. Use when validating screen reader compatibility, debugging accessibility issues, or ensuring assistive technology support.

wshobson/agents · 39 tokens

vscode-visual-regression

Write Storybook stories and visual regression tests for the Kilo VS Code extension webview UI.

Kilo-Org/kilocode · 25 tokens

break

Renders a component you choose in every state and scenario on a temporary page and stress tests it.

jakubkrehel/skills · 22 tokens