Browser Tools
Apps & Automationbrowser-toolsBrowser Tools is an Agent Skill for apps & automation published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Use the browser-tools CLI (Chrome DevTools Protocol via puppeteer-core) to drive Chrome for navigation, eval, screenshots, DOM picking, console logs, cookies, search, and tab inspection.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/testing/browser-tools-antoniolg-agent-kit/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/browser-tools, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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)