一键导入
devtools
Use CDP at localhost:9222 to test/debug websites, automate browser tasks
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use CDP at localhost:9222 to test/debug websites, automate browser tasks
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | devtools |
| description | Use CDP at localhost:9222 to test/debug websites, automate browser tasks |
Use CDP at localhost:9222.
Use agent-browser (simpler than playwright) where helpful.
Playwright is installed globally via export PLAYWRIGHT_BROWSERS_PATH="${HOME}/.local/share/playwright-browsers"; uv install playwright; playwright install --with-deps chromium firefox webkit.
Capabilities:
uvx markitdown file.htmlpage.on("console", msg => console.log("LOG:", msg.type(), msg.text())). Use CDP's Console.enable for replay(page||locator).screenshot({ path, fullPage, type, quality, ... })context.tracing.start({ screenshots: true, snapshots: true }) ... context.tracing.stop({ path: "trace.zip" })blob: URL created in the page context. CSP may block inline scripts.
url = URL.createObjectURL(new Blob([code], { type: "text/javascript" }))<script src="blob:...">page.addScriptTag({content: ...}) on CSP-heavy sites (e.g. WhatsApp, Google apps).Uses:
Tips:
ALWAYS follow this style when writing Python / JavaScript code
To select, design, annotate, and verify a data visualization (chart, map, or table).
ALWAYS follow this design guide for any front-end work
Use this for non-trivial analysis, design, diagnosis, review, strategy, or judgment. Skip it for simple lookups, mechanical rewrites, and pure tone tasks.
For CloudFlare development, deployment, e.g. Python CloudFlare Workers
Use when creating demos or POCs