One-click install
npx skills add https://github.com/mynameistito/opencode-config --skill playwriter-mynameistito
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwriter
Source: https://github.com/mynameistito/opencode-config/tree/main/skills/playwriter
Command: npx skills add https://github.com/mynameistito/opencode-config --skill playwriter-mynameistito

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Standard browser automation tools launch isolated new browser instances, fail to interact with JavaScript-heavy websites, and cannot access your existing Chrome browser sessions including logged-in accounts and open tabs, making automation of real-world web workflows difficult.

Core Features & Use Cases

  • Direct Chrome Integration: Connects directly to your existing Chrome browser instead of launching a new instance, preserving your logged-in sessions, cookies, and open tabs for seamless automation.
  • JS-Heavy Site Support: Executes Playwright code snippets in a stateful local JS sandbox, making it ideal for automating JavaScript-heavy platforms like Instagram, Twitter, and single-page applications with lazy-loaded content that traditional tools like webfetch or curl cannot handle.
  • Common Use Cases: Automate social media posting, scrape data from sites behind login or cookie walls, or interact with complex web apps without manual browser setup or session management.

Quick Start

Use the playwriter skill to automate interactions with your logged-in Chrome browser on JavaScript-heavy websites like social media platforms or single-page applications.

Frequently Asked Questions about playwriter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate tasks in my existing Chrome browser sessions?

To automate existing Chrome browser sessions, you can connect directly to your active instance to preserve logged-in states and cookies. This avoids launching isolated new instances and allows seamless interaction with your current tabs.

How do I scrape data from single-page applications with lazy-loaded content?

Scraping single-page applications with lazy-loaded content requires executing JavaScript code in a stateful sandbox. This approach handles dynamic UI elements that traditional HTTP fetching tools cannot process or render.

Does Playwright work with sites behind login or cookie walls?

Playwright works with sites behind login or cookie walls by connecting to your existing Chrome browser instance. This preserves your active sessions and authentication states, enabling automated interactions without manual re-authentication.

Why does webfetch fail on JavaScript-heavy websites like social media platforms?

Webfetch fails on JavaScript-heavy websites because it cannot execute dynamic client-side scripts or render lazy-loaded UI components. Automating these platforms requires a browser engine to run JavaScript and interact with the fully rendered DOM.

Can I automate social media posting without launching a new browser instance?

You can automate social media posting without a new browser instance by controlling your existing Chrome session directly. This maintains your current logged-in accounts and browser state for deterministic automated interactions.

What are the limitations of using a stateful local JavaScript sandbox for browser automation?

Using a stateful local JavaScript sandbox for browser automation is limited to deterministic interactions within your existing Chrome state. It depends entirely on your active browser configuration and current session cookies for executing Playwright snippets.