← Back to Skills Marketplace
Playwright Cli Skills
by
xinqian598188460
· GitHub ↗
· v1.0.0
· MIT-0
70
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install playwright-cli-skills
Description
Automate browser interactions, test web pages and work with Playwright tests.
Usage Guidance
This skill appears to do what it says: automate Playwright-driven browser interactions and includes an Amazon scraping helper. Before installing or running it, consider: 1) Playwright CLI and Node must already be installed on your machine. 2) The amazon-search scripts load a local storage-state/auth file (e.g., ~/amazon-auth.json or a project-specific path) and will use cookies/storage from it — those files can contain session tokens; only use auth state you trust and remove it after use. 3) The skill and its docs expose run-code and routing features that can execute arbitrary JS in pages and capture network/request bodies and cookies (use isolated browser sessions or a throwaway profile if you are concerned). 4) The included scripts run local shell commands and write CSV/traces to your home directory; review the JS and shell files before running them and run in a sandboxed account or VM if you need extra safety. If you want, I can point out the exact lines that load auth files, execute shell commands, and write output so you can review them quickly.
Capability Analysis
Type: OpenClaw Skill
Name: playwright-cli-skills
Version: 1.0.0
The bundle provides a comprehensive toolkit for browser automation using a 'playwright-cli' wrapper, including specific scripts for Amazon product search and data extraction. The scripts (amazon-search.sh and amazon-search.js) utilize local session state files (~/amazon-auth.json) to maintain authentication and execute JavaScript within the browser context to scrape product details into CSV files. While these tools possess high-risk capabilities such as arbitrary code execution in the browser and access to session cookies, their behavior is entirely consistent with the stated purpose of web automation and scraping. No evidence of data exfiltration, malicious persistence, or deceptive prompt injection was found in the code or documentation (SKILL.md, README.md).
Capability Assessment
Purpose & Capability
Name/description (Playwright CLI automation & testing) match the provided SKILL.md, reference docs, and example scripts. The included amazon-search scripts use playwright-cli to open pages, load storage state, extract data, and write CSV output — all expected for a browser automation scraping helper.
Instruction Scope
The SKILL.md and reference docs allow and document powerful operations: run-code (arbitrary JS in the page), loading/saving storage state, cookie/localStorage manipulation, recording traces (which include network bodies), and routing/removing headers (including cookie/authorization). Those are legitimate and expected capabilities for a Playwright/testing skill, but they also let the skill access and persist sensitive data (cookies, tokens, page content) and execute arbitrary page JS—so operators should understand those capabilities before use.
Install Mechanism
No install spec is present (instruction-only). The skill does not pull code from remote URLs or install packages itself. Risk is limited to running local binaries (playwright-cli, node) which the user must already install.
Credentials
The skill declares no required env vars or credentials. Scripts use HOME and optional DEBUG env var to locate/read/write files (e.g., an auth state file and CSV output under the user's home). The Amazon scripts expect a saved auth state file; this is coherent but means the skill will access local storage-state files containing cookies/tokens if present.
Persistence & Privilege
always is false and the skill does not request to modify other skills or system-wide agent settings. It runs commands that create files under the user's home (auth state, CSV output, traces) which is normal for automation scripts.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install playwright-cli-skills - After installation, invoke the skill by name or use
/playwright-cli-skills - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of playwright-cli skill.
- Automate browser interactions and web page testing using the Playwright CLI.
- Supports commands for navigation, input, mouse, keyboard, tabs, storage, network, and browser sessions.
- Includes snapshotting, screenshots, PDF generation, and raw output options for advanced workflows.
- Provides options for working with cookies, localStorage, sessionStorage, and browser profiles.
- Offers support for multi-tab browsing, session management, and DevTools commands.
- Installation instructions for both global and local CLI usage.
Metadata
Frequently Asked Questions
What is Playwright Cli Skills?
Automate browser interactions, test web pages and work with Playwright tests. It is an AI Agent Skill for Claude Code / OpenClaw, with 70 downloads so far.
How do I install Playwright Cli Skills?
Run "/install playwright-cli-skills" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Playwright Cli Skills free?
Yes, Playwright Cli Skills is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Playwright Cli Skills support?
Playwright Cli Skills is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Playwright Cli Skills?
It is built and maintained by xinqian598188460 (@xinqian598188460); the current version is v1.0.0.
More Skills