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.
npx skills add pencil20388-eng/browser-automation-skills --skill playwrightgit clone --depth 1 https://github.com/pencil20388-eng/browser-automation-skillsWrote 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.
[](https://agentmods.dev/skills/pencil20388-eng/browser-automation-skills/playwright)<a href="https://agentmods.dev/skills/pencil20388-eng/browser-automation-skills/playwright"><img src="https://agentmods.dev/badge/skills/pencil20388-eng/browser-automation-skills/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.
<a href="https://agentmods.dev/skills/pencil20388-eng/browser-automation-skills/playwright"><img src="https://agentmods.dev/badge/skills/pencil20388-eng/browser-automation-skills/playwright.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00975 |
| Opus 5.5 | $0.00000 | $0.00390 |
| Sonnet 5.5 | $0.00000 | $0.00195 |
| Haiku 4.5 | $0.00000 | $0.00097 |
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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Playwright Browser Automation Skill
Automate browsers with Playwright — Microsoft's modern browser automation framework. Faster and more reliable than Selenium, with built-in auto-wait and network control.
Installation
pip install playwright
playwright install chromium # or: playwright install (all browsers)
Core Patterns
Open a page and navigate
from playwright.sync_api import sync_playwright
with sync_playwright() as p:
browser = p.chromium.launch(headless=False) # headless=True for no UI
page = browser.new_page()
page.goto("https://example.com")
print(page.title())
browser.close()
Async version
import asyncio
from playwright.async_api import async_playwright
async def main():
async with async_playwright() as p:
browser = await p.chromium.launch()
page = await browser.new_page()
await page.goto("https://example.com")
print(await page.title())
await browser.close()
asyncio.run(main())
Click, fill, select
page.click("button.submit") # Click a button
page.fill("#username", "my_user") # Fill an input
page.fill("#password", "my_pass")
page.select_option("select#country", "US") # Select dropdown
page.check("input#agree") # Check a checkbox
page.press("#search", "Enter") # Press a key
Wait for elements
page.wait_for_selector(".results", timeout=10000) # Wait up to 10s
page.wait_for_load_state("networkidle") # Wait for network quiet
page.wait_for_url("**/dashboard") # Wait for navigation
Extract data
text = page.text_content("h1") # Single element text
href = page.get_attribute("a.link", "href") # Attribute value
items = page.query_selector_all(".product") # Multiple elements
for item in items:
name = item.text_content()
price = item.query_selector(".price").text_content()
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.
- 2mo ago First seen · 153 lines · 0 tokens per session scan A 45174de7896b
playwright is a skill published in the GitHub repository pencil20388-eng/browser-automation-skills (5 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 975 tokens. 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-31.
playwright compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| playwrightpencil20388-eng/browser-automation-skills | Skill | 5 | 5mo ago | MIT | A | 0 | Claude Code, Codex |
| mk:playwright-clingocsangyem/MeowKit | Skill | 15 | 5d ago | MIT | A | 92 | Claude Code |
| screenshot-urltoolshedlabs-hash/web-access-skills | Skill | 0 | 3mo ago | MIT | A | 159 | Claude Code, Codex |
| url-to-markdowntoolshedlabs-hash/web-access-skills | Skill | 0 | 3mo ago | MIT | A | 141 | Claude Code, Codex |
| url-to-pdftoolshedlabs-hash/web-access-skills | Skill | 0 | 3mo ago | MIT | A | 138 | Claude Code, Codex |
| postEpistates/sparX | Skill | 4 | 7mo ago | MIT | A | 39 | Claude Code |
| engageEpistates/sparX | Skill | 4 | 7mo ago | MIT | A | 50 | Claude Code |