Agent skill · software engineering · aiskillstore
pwdebug
用于需要通过命令行操作真实浏览器实例进行前端调试(如导航、执行 JS、截图、元素拾取、控制台日志)且希望跨多次命令复用同一浏览器会话的场景。
Why this skill is useful
Adds a command-line interface with executable scripts for browser debugging that provide capabilities not commonly found in public documentation.
What it needs
Requires playwright, uv installed locally. About 1k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Playwright 浏览器调试 CLI 概览 该技能提供一个基于 Playwright 的命令行工具,用于启动浏览器服务并执行导航、评估 JS、截图、元素拾取与日志监听等调试操作。当前仅支持 Chromium(通过 CDP 连接)。 快速开始 工作目录应为本文件所在目录,示例命令默认从该目录执行。 1. 启动浏览器服务(常驻进程): 2. 在新标签页打开页面: 3. 执行 JS 表达式: 4. 截图: 5. 交互式拾取元素: 6. 监听控制台日志: 7. 查看最近日志: 说明 CLI 入口:scripts/pwdebug.py 日志路径:~/.cache/pwdebug/console.log.jsonl 状态路径:~/.cache/pwdebug/server.json 依赖与安装 脚本依赖通过 uv --script 管理。
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/pwdebug