playwriter
Control your browser with AI via CLI or MCP, supporting state persistence.
- Type
- MCP
- Transport
- stdio
- Open source
- Yes
- GitHub Stars
- ★ 3.6k
- Source
- mcp-github
- Repository
- github.com/remorses/playwriter
Overview
Playwriter is a Chrome extension and CLI tool that allows AI agents to control your browser. It runs Playwright code snippets in a stateful sandbox. Unlike traditional Playwright MCP, Playwriter uses your currently running browser, preserving login states, extensions, and cookies. This makes automation tasks more efficient and less likely to be detected as bot behavior. You can get started by installing the Chrome extension and CLI, then using simple command-line operations to automate your browser.
Capabilities
- ▪Control existing browser
- ▪State persistence
- ▪Execute Playwright code snippets
- ▪Share browser tabs
- ▪Intercept network requests
- ▪Set breakpoints for debugging
Use cases
Setup
1. Install the extension from the Chrome Web Store; 2. Run `npm i -g playwriter` in the terminal to install the CLI; 3. Use `npx -y skills add remorses/playwriter` to add the skill.
This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.
FAQ
How do I get started with Playwriter?
Install the Chrome extension and CLI, then run `playwriter -s 1 -e 'await page.goto("https://example.com")'`.
What's the difference between Playwriter and Playwright MCP?
Playwriter uses your existing browser and preserves login state and extensions, while Playwright MCP launches a new browser instance.
Related skills
gemini-cli
Gemini CLI is an open-source AI agent that brings Gemini's powerful capabilities directly into the terminal.
private-gpt
Provides a complete API layer for local models, supporting RAG, skills, tools, and more.
planning-with-files
File-based persistent planning skill, ideal for AI coding agents and long-running tasks.
scientific-agent-skills
Transform any AI agent into a scientific assistant with 147 ready-to-use research skills.
susi_alexa_skill
A skill that enables question-and-answer interactions between Alexa and Susi AI.
claude-context
Provides code search capabilities for Claude Code, turning the entire codebase into context.