playwright-skill

playwright-skill is a skill for Claude Code, Codex from omnigentx/jarvis. It costs 53 tokens per session (873 once invoked), scanned A, original, MIT.

A browser automation and end-to-end testing tool based on Playwright, which controls a real web browser to check complete user journeys. It can detect local development servers, test different screen sizes, automate forms, and take screenshots.

In plain words
What is it for?
Use it to test frontend pages, forms, responsive layouts, and full user flows in a local or supplied web application.
Why use it?
It helps verify that a website works from a user's point of view instead of checking only individual pieces of code. It also provides a repeatable way to run browser tests and capture visual evidence.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to test frontend pages, forms, responsive layouts, and full user flows in a local or supplied web application.

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

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-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/omnigentx/jarvis/playwright-skill.svg)](https://agentmods.dev/skills/omnigentx/jarvis/playwright-skill)
Your own site
<a href="https://agentmods.dev/skills/omnigentx/jarvis/playwright-skill"><img src="https://agentmods.dev/badge/skills/omnigentx/jarvis/playwright-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 873 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.00053 $0.00873
Opus 5 $0.00026 $0.00436
Sonnet 5 $0.00011 $0.00175
Haiku 4.5 $0.00005 $0.00087

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

Security

Grade A, and why

playwright-skill 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.

The scan reads SKILL.md. This mod also ships 2 executable files (lib/helpers.js, run.js), 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.

backend/.fast-agent/skills/playwright-skill/SKILL.md · 105 lines

How it starts

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

Playwright Browser Automation

Write custom Playwright scripts, execute via universal executor. Scripts go to /tmp (works on macOS/Linux/Docker — all Jarvis target environments). Never write to skill or project directory.

Setup (First Time Only)

cd $SKILL_DIR && npm run setup

Critical Workflow

  1. Detect dev servers (for localhost testing):

    cd $SKILL_DIR && node -e "require('./lib/helpers').detectDevServers().then(s => console.log(JSON.stringify(s)))"
    
    • 1 server → use it automatically
    • Multiple → ask user which one
    • None → ask for URL or help start server
  2. Write script to /tmp — NEVER to skill directory or project:

    // /tmp/playwright-test-xxx.js
    const { chromium } = require('playwright');
    const TARGET_URL = 'http://localhost:3001'; // Auto-detected
    (async () => {
      const browser = await chromium.launch({ headless: false });
      const page = await browser.newPage();
      await page.goto(TARGET_URL);
      console.log('Page loaded:', await page.title());
      await page.screenshot({ path: '/tmp/screenshot.png', fullPage: true });
      await browser.close();
    })();
    
  3. Execute from skill directory:

    cd $SKILL_DIR && node run.js /tmp/playwright-test-xxx.js
    

Defaults

Setting Default Override
Browser Chromium headless: false by default
Viewport 1280×720 page.setViewportSize(...)
Scripts /tmp/playwright-test-*.js Never write to project dir
URLs Auto-detected via detectDevServers() TARGET_URL constant at top

Anti-Patterns (from browser-automation best practices)

❌ Don't ✅ Do
waitForTimeout(5000) waitForSelector('.element') or waitForURL(...)
page.locator('.btn-primary') page.getByRole('button', { name: 'Submit' })
Single browser context for all tests Fresh context per test
CSS/XPath first User-facing locators: text=, role=, data-testid=

Read the full file on GitHub · 105 lines

Files

What ships with it

4 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. 8d ago First seen · 105 lines · 53 tokens per session scan A 164319bf261c

Subscribe to this mod's changes

playwright-skill is a skill published in the GitHub repository omnigentx/jarvis (37 stars, last pushed 11d ago), licensed MIT. It adds 53 tokens to every session and 873 once invoked, about $0.0003 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-08-30.

Related

Other skills, from other repositories

browse

Drive a real browser through Aside: open a page, read it, click through a flow, take screenshots, check console errors. (gstack).

garrytan/gstack · 32 tokens

playwright-cli

A command-line tool for controlling Chromium, Firefox, and WebKit browsers, including navigation, page interaction, screenshots, PDFs, and recorded actions.

UnicomAI/wanwu · 76 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.

anthropics/skills · 35 tokens

browser-qa

A browser-based quality check for deployed web pages and user flows. It uses browser automation to test rendering, navigation, forms, interactions, responsive behaviour, and accessibility-related issues.

hashgraph-online/awesome-codex-plugins · 58 tokens

test-electron-app

Drive the real running PostHog Electron app (live tRPC, workspace-server, real data) over CDP with agent-browser. Connect to the running app on port 9222, test desktop changes against a local Django stack, snapshot the accessibility tree, inspect network requests, and screenshot only when explicitly asked. Use when…

PostHog/posthog-foss · 112 tokens

smoke-test

Run smoke tests against a deployed or local app based on your git diff. Each test uses Skyvern browser tools (navigate, act, validate, screenshot) with Chrome DevTools MCP as fallback. Posts screenshot evidence as PR comments.

Skyvern-AI/skyvern · 50 tokens