Skip to content
badlogic avatar

Browser Tools

Interactive Chrome DevTools Protocol toolkit for navigating, scripting, and inspecting real browser pages.

CCM score
71 of 100
skills.sh installs
483
GitHub stars
2.7K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers starting Chrome, navigation, JavaScript evaluation, screenshots, element picking, cookies, and readable content extraction
  • Includes browser-start.js with a --profile flag to reuse the user's cookies and logins, and browser-nav.js with a --new tab option
  • Provides a DOM-first efficiency guide that favors parsing page structure and batching interactions over repeated screenshots
  • Designed for frontend testing, JavaScript-heavy pages, auth debugging, and cases where a user must see or pick elements

Install

$ npx -y skills add badlogic/pi-skills --skill browser-tools -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Browser Tools

Chrome DevTools Protocol tools for agent-assisted web automation. These tools connect to Chrome running on :9222 with remote debugging enabled.

Setup

Run once before first use:

cd {baseDir}/browser-tools
npm install

Start Chrome

{baseDir}/browser-start.js              # Fresh profile
{baseDir}/browser-start.js --profile    # Copy user's profile (cookies, logins)

Launch Chrome with remote debugging on :9222. Use --profile to preserve user's authentication state.

Navigate

{baseDir}/browser-nav.js https://example.com
{baseDir}/browser-nav.js https://example.com --new

Navigate to URLs. Use --new flag to open in a new tab instead of reusing current tab.

Evaluate JavaScript

{baseDir}/browser-eval.js 'document.title'
{baseDir}/browser-eval.js 'document.querySelectorAll("a").length'

Execute JavaScript in the active tab. Code runs in async context. Use this to extract data, inspect page state, or perform DOM operations programmatically.

Screenshot

{baseDir}/browser-screenshot.js

Details

Repository
github.com/badlogic/pi-skills
Categories
Browser Automation & Scraping, Testing & QA, Debugging
First seen
Jun 3, 2026

Questions

What does the browser-tools skill do for an agent?

The browser-tools skill gives an agent interactive browser automation through the Chrome DevTools Protocol. It connects to Chrome running on port 9222 with remote debugging enabled, so the agent can navigate pages, run JavaScript, take screenshots, read cookies and extract page content.

What do I need before using browser-tools?

You need Chrome and Node.js installed. Run npm install inside the browser-tools folder once before first use, then start Chrome with the browser-start script, adding --profile to reuse your logins.

How do I install the browser-tools skill?

Run npx -y skills add badlogic/pi-skills --skill browser-tools -y in a project to install it. After that, the agent can start a browser and interact with web pages, test frontends, or let you pick elements on a visible page.

Where does browser-tools stand in the Browser Automation and Scraping category?

browser-tools is listed in the Browser Automation and Scraping category on Claude Marketplaces, alongside agent-browser, playwright-cli, anti-detect-browser and browser-act. It stands out by connecting to your own Chrome session, so it can reuse your cookies and logins.

More from badlogic/pi-skills

All 4

Similar to Browser Tools

More Browser Automation & Scraping