playwriter

playwriter is a skill for Claude Code from AgiFlow/aicode-toolkit. It costs 99 tokens per session (402 once invoked), scanned A, original, AGPL-3.0.

A browser-automation skill that controls the user's existing Chrome browser through the Playwriter extension. It runs Playwright code in a persistent local JavaScript environment rather than launching a separate browser.

In plain words
What is it for?
Use it to automate pages, inspect or interact with the current Chrome session, and run JavaScript-based browser tasks.
Why use it?
It lets automation work with an already open Chrome session, which is useful for sites that depend heavily on JavaScript or existing browser state.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to automate pages, inspect or interact with the current Chrome session, and run JavaScript-based browser tasks.

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

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 playwriter

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

agentmods 80×15 button for playwriter

Your own site · 80×15
<a href="https://agentmods.dev/skills/agiflow/aicode-toolkit/playwriter"><img src="https://agentmods.dev/badge/skills/agiflow/aicode-toolkit/playwriter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 402 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00099 $0.00402
Opus 5.5 $0.00040 $0.00161
Sonnet 5.5 $0.00020 $0.00080
Haiku 4.5 $0.00010 $0.00040

Measured 23d ago against content hash f0aab9f8049d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 23d 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
.claude/skills/playwriter/SKILL.md · 36 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 23d ago First seen · 36 lines · 99 tokens per session scan A f0aab9f8049d

Subscribe to this mod's changes

playwriter is a skill published in the GitHub repository AgiFlow/aicode-toolkit (161 stars, last pushed 4d ago), licensed AGPL-3.0. It adds 99 tokens to every session and 402 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-09-23.

Related

Other skills, from other repositories

chrome-devtools-cli

Use this skill to write shell scripts or run shell commands to automate tasks in the browser or otherwise use Chrome DevTools via CLI.

ChromeDevTools/chrome-devtools-mcp · 31 tokens

a11y-debugging

Uses Chrome DevTools MCP for accessibility (a11y) debugging and auditing based on web.dev guidelines. Use when testing semantic HTML, ARIA labels, focus states, keyboard navigation, tap targets, and color contrast.

ChromeDevTools/chrome-devtools-mcp · 50 tokens

chrome-devtools

Uses Chrome DevTools via MCP for efficient debugging, troubleshooting and browser automation. Use when debugging web pages, automating browser interactions, analyzing performance, or inspecting network requests. This skill does not apply to --slim mode (MCP configuration).

ChromeDevTools/chrome-devtools-mcp · 55 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

memory-leak-debugging

Diagnoses and resolves memory leaks in JavaScript/Node.js applications. Use when a user reports high memory usage, OOM errors, or wants to capture, compare, or inspect heap snapshots with Chrome DevTools MCP memory tools.

ChromeDevTools/chrome-devtools-mcp · 52 tokens

x-reader

Read source URLs from X/Twitter, articles, YouTube, Bilibili, podcasts, WeChat, Xiaohongshu, Telegram, RSS, and the open web. Use when the user provides a link and wants the original content, evidence, transcript, summary, or source-grounded analysis.

runesleo/x-reader · 64 tokens