Browser Tools
Overview
Use this skill whenever a task needs Chrome automation via DevTools (navigate, evaluate JS, screenshots, DOM picking, console logs, cookies, search/content extraction, or listing/terminating DevTools-enabled Chrome).
Quick start
- •Launch Chrome with DevTools enabled (use the repo's package manager to run
tsx):- •
pnpm tsx skills/browser-tools/scripts/browser-tools.ts start --profile
- •
- •Navigate:
- •
pnpm tsx skills/browser-tools/scripts/browser-tools.ts nav https://example.com
- •
- •Screenshot:
- •
pnpm tsx skills/browser-tools/scripts/browser-tools.ts screenshot
- •
Common commands
- •
startLaunch Chrome with--remote-debugging-portand optional profile copy. - •
nav <url>Navigate current tab (or--new). - •
eval <code...>Run JS in page context (supports async). - •
screenshotCapture viewport to a temp PNG path. - •
pick <message...>Interactive DOM element picker. - •
consoleStream console logs (filters, follow mode). - •
cookiesDump cookies as JSON. - •
search <query...>Google search in Chrome; optional readable content. - •
content <url>Readability extraction to markdown-like text. - •
inspectList DevTools-enabled Chrome processes + tabs. - •
killTerminate DevTools-enabled Chrome processes.
Notes
- •Script path:
skills/browser-tools/scripts/browser-tools.ts(copied from steipete/agent-scripts). - •Dependencies:
puppeteer-core,commander,tsx(or Bun). If missing, install in the active repo or run the copy from~/Projects/oss/agent-scripts. - •The tool connects to Chrome via
http://localhost:<port>and supports DevTools ports and pipes for inspect/kill.
Resources
scripts/
- •
browser-tools.ts(CLI)