playwright

playwright is a skill for Claude Code, Codex from openai/openai-agents-python. It costs 19 tokens per session (183 once invoked), scanned A, original, MIT.

A command-line browser automation tool for capturing screenshots of a static website in Chromium, a web browser.

In plain words
What is it for?
Use it to take repeatable screenshots of local HTML pages for visual checks or comparison between design revisions.
Why use it?
It lets you inspect the rendered page at a fixed screen size, which is useful for checking how a site actually looks rather than reviewing source files alone.

Skill for Claude CodeCodex ✓ vendor

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

Good fit Use it to take repeatable screenshots of local HTML pages for visual checks or comparison between design revisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openai/openai-agents-python/playwright
About the project

OpenAI Agents SDK is a Python framework for building workflows in which multiple AI agents use tools, delegate tasks, follow safety checks, and involve people when needed. Developers use it to create and monitor agent, sandbox, realtime, and voice applications.

openai/openai-agents-python · 30,059 stars · on GitHub · openai.github.io

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 openai/openai-agents-python --skill playwright
Clone the repo
git clone --depth 1 https://github.com/openai/openai-agents-python

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/openai/openai-agents-python/playwright"><img src="https://agentmods.dev/badge/skills/openai/openai-agents-python/playwright.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 183 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
  • Snyk pass 7 Sept 2026
  • 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.00019 $0.00183
Opus 5.5 $0.00008 $0.00073
Sonnet 5.5 $0.00004 $0.00037
Haiku 4.5 $0.00002 $0.00018

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

Security

Grade A, and why

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

examples/sandbox/tutorials/vision_website_clone/skills/playwright/SKILL.md · 24 lines

What it actually says

Playwright

Use Playwright to capture the static site directly. Do not start a server for this example.

mkdir -p output/screenshots output/playwright/.tmp
export TMPDIR="$PWD/output/playwright/.tmp"
export TEMP="$TMPDIR"
export TMP="$TMPDIR"
npx --yes --package [email protected] playwright install chromium
npx --yes --package [email protected] playwright screenshot \
  --browser=chromium \
  --viewport-size=2048,1152 \
  "file://$PWD/output/site/index.html" \
  output/screenshots/draft-1.png

Change the final path to output/screenshots/draft-2.png for the second pass.

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 · 24 lines · 19 tokens per session scan A 5a29f3f79c5d

Subscribe to this mod's changes

playwright is a skill published in the GitHub repository openai/openai-agents-python (30,059 stars, last pushed yesterday), licensed MIT. It adds 19 tokens to every session and 183 once invoked, about $0.0001 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-08-30.

Related

Other skills, from other repositories

publish-python-package-pypi

Configure or troubleshoot PyPI publication for PDM packages with GitHub Actions and Trusted Publishing. Use this skill for the Python package in a mixed-language repository. Do not use it for applications or repositories without a Python distribution. Do not use it for generic CI, containers, or token uploads unless…

btfranklin/skills · 71 tokens

django-6-upgrade-guide

Plan, audit, or complete an upgrade from Django 5.x to Django 6. Verify runtime and dependency compatibility, deprecations, settings, databases, migrations, tests, and deployment. Do not use for general Django work, earlier upgrades, frontend styles, or unrelated maintenance.

btfranklin/skills · 64 tokens

browser-use

Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work.

browser-use/browser-use · 26 tokens

x402

Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — "just use it" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing…

browser-use/browser-use · 175 tokens

remote-browser

Controls an isolated Browser Use Cloud browser from a sandboxed machine with the current Browser Use CLI.

browser-use/browser-use · 22 tokens

ai-agent-tool-routing

Use when designing or reviewing an AI agent tool registry or MCP router: document parameter schemas, caller authorization, execution limits, replay-safe retries and verification evidence.

sickn33/agentic-awesome-skills · 36 tokens