playwright-cli
Browser Automation with playwright-cli (Extension Mode)
Hard Rules
- NEVER launch a new browser. Every
opencommand MUST include--extension --browser=msedge. - NEVER use MCP. This skill uses the CLI only. The MCP Bridge extension is just the transport layer.
- ALWAYS load the extension token from
~/.copilot/skills/.envbefore the first playwright-cli command. - Gitignore snapshots. Before first use, check the repo's
.gitignorefor.playwright-cli/. If missing, append it and inform the user. The CLI writes snapshot files to this folder in the current working directory.
Phase 0: Load Token and Config
Before running any playwright-cli command, load the extension token:
# Load token from .env
$envFile = Join-Path $HOME ".copilot" "skills" ".env"
if (Test-Path $envFile) {
Get-Content $envFile | ForEach-Object {
if ($_ -match '^\s*([^#][^=]+)=(.*)$') {
More from ianphil/my-skills
astral-uv
>
11glab
GitLab CLI (glab) for merge requests, issues, and CI/CD pipelines. Use when working with GitLab repositories for MR creation/review, issue management, pipeline debugging, or any GitLab API operations. Triggers on GitLab URLs, mentions of "merge request" or "MR" (not "PR"), gitlab.com, or glab commands.
10ado
Azure DevOps CLI (az ado). Use for work items, PRs, pipelines, and backlog management. Triggers on: az ado, ADO, azure devops, work item, backlog, az boards, az repos, az pipelines.
1ainotes
This skill should be used when the user asks to "consolidate notes", "summarize ainotes", "clean up notes", "ainotes", or wants to consolidate accumulated agent observations into a compact summary.
1workiq
This skill should be used when the user asks to "install WorkIQ", "set up WorkIQ", "query my emails with AI", "connect AI to Microsoft 365", "query my meetings or documents", "use workiq ask", or wants to use natural language to search Microsoft 365 data (emails, meetings, Teams messages, documents, people) from an AI assistant.
1closer
This skill should be used when the user asks to "close feature", "archive feature", "complete feature N", "move feature to completed", or wants to move a finished feature to the _completed/ directory.
1