Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/DJRHails/dotfilesnpx agentmods add skills/djrhails/dotfiles/playwriterWrote 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/djrhails/dotfiles/playwriter)<a href="https://agentmods.dev/skills/djrhails/dotfiles/playwriter"><img src="https://agentmods.dev/badge/skills/djrhails/dotfiles/playwriter/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/djrhails/dotfiles/playwriter"><img src="https://agentmods.dev/badge/skills/djrhails/dotfiles/playwriter.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.00099 | $0.01180 |
| Opus 5.5 | $0.00040 | $0.00472 |
| Sonnet 5.5 | $0.00020 | $0.00236 |
| Haiku 4.5 | $0.00010 | $0.00118 |
Grade A, and why
playwriter scanned grade A with 1 finding 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 25d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
description: Control the user own Chrome browser via Playwriter extension with Playwright code snippets in a stateful local js sandbox via playwriter cli. Use this over other Playwright MCPs to automate the browser — it How it starts
The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.
REQUIRED: Read Full Documentation First
Before using playwriter, you MUST run this command:
playwriter skill # IMPORTANT! do not use | head here. read in full!
This outputs the complete documentation including:
- Session management and timeout configuration
- Selector strategies (and which ones to AVOID)
- Rules to prevent timeouts and failures
- Best practices for slow pages and SPAs
- Context variables, utility functions, and more
Do NOT skip this step. The quick examples below will fail without understanding timeouts, selector rules, and common pitfalls from the full docs.
Read the ENTIRE output. Do NOT pipe through head, tail, or any truncation command. The skill output must be read in its entirety — critical rules about timeouts, selectors, and common pitfalls are spread throughout the document, not just at the top.
Minimal Example (after reading full docs)
playwriter session new
playwriter -s 1 -e 'state.page = await context.newPage(); await state.page.goto("https://example.com")'
Always use single quotes for the -e argument. Single quotes prevent bash from interpreting $, backticks, and backslashes inside your JS code. Use double quotes or backtick template literals for strings inside the JS.
If playwriter is not found, use npx playwriter@latest or bunx playwriter@latest.
Enable Playwriter in Arc (via cua-driver)
Trigger: the user says something like "turn on playwriter", "enable playwriter", "the playwriter icon isn't green". Don't ask for clarification — drive Arc directly.
The Playwriter Arc extension shows a toolbar icon at the top-right of every regular tab. Green = active, black = inactive. Clicking it toggles. The relay (playwriter serve / playwriter-ws-server) usually runs in the background already — the click is just an extension-side activation per tab/session.
Recipe (assumes cua-driver is installed and its daemon is running — if not, see the cua-driver skill prereqs):
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.
- 25d ago Changed a37d964cb1ea
- 3mo ago First seen · 71 lines · 99 tokens per session scan A fd543f2ca775
playwriter is a skill published in the GitHub repository DJRHails/dotfiles (2 stars, last pushed today), licensed MIT. It adds 99 tokens to every session and 1,180 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
playwriter compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| playwriterDJRHails/dotfiles | Skill | 2 | today | MIT | A | 99 | Claude Code, Codex |
| walkthroughjoshukraine/dotfiles | Skill | 430 | yesterday | MIT | A | 33 | Claude Code |
| prd-viewjoshukraine/dotfiles | Skill | 430 | yesterday | MIT | A | 43 | Claude Code |
| todoist-clijoshukraine/dotfiles | Skill | 430 | yesterday | MIT | A | 68 | Claude Code |
| autopilot-batchjoshukraine/dotfiles | Skill | 430 | yesterday | MIT | A | 75 | Claude Code |
| autopilotjoshukraine/dotfiles | Skill | 430 | yesterday | MIT | A | 40 | Claude Code |
| qa-handoffjoshukraine/dotfiles | Skill | 430 | yesterday | MIT | A | 41 | Claude Code |