npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

pi-skill-agent-browser

v1.0.0

Published

Pi skill for browser automation via Chrome DevTools Protocol — navigate, evaluate JS, screenshot, pick elements, dismiss cookies, and monitor console/network logs.

Downloads

118

Readme

pi-skill-agent-browser

A pi skill package for browser automation via Chrome DevTools Protocol (CDP).

What it does

When pi needs to browse the web — clicking buttons, filling forms, navigating pages, taking screenshots — this skill provides a lightweight set of CDP scripts that remote-control Google Chrome or Chromium. No Puppeteer, no Playwright, just raw CDP over WebSocket.

Capabilities

| Command | Description | |---------|-------------| | agent-browser start | Launch Chrome with remote debugging on :9222 (fresh or with your profile) | | agent-browser nav | Navigate current tab or open a new tab | | agent-browser eval | Execute JavaScript in the active tab | | agent-browser screenshot | Capture viewport screenshot, returns temp file path | | agent-browser pick | Interactive element picker (click to select, Cmd/Ctrl+Click multi-select) | | agent-browser dismiss-cookies | Auto-dismiss EU cookie consent dialogs (accept or reject) | | agent-browser watch | Background logging of console, errors, and network to JSONL | | agent-browser logs-tail | Tail the latest log file | | agent-browser net-summary | Summarize network requests/responses from logs |

Supported cookie consent platforms

OneTrust, Cookiebot, Didomi, Quantcast, Usercentrics, TrustArc, Klaro, CookieYes, Google, YouTube, BBC, Amazon, and generic pattern matching for unlisted CMPs.

Prerequisites

  • Google Chrome or Chromium installed
  • Node.js 18+

Install

# From git (global)
pi install https://github.com/picassio/pi-skill-agent-browser

# Project-local install
pi install -l https://github.com/picassio/pi-skill-agent-browser

# From a local clone
pi install /path/to/pi-skill-agent-browser

After install, run npm install in the skill's scripts/ directory to get the ws dependency:

cd <package-location>/skills/agent-browser/scripts && npm install

Usage

Once installed, the skill is auto-discovered. Ask pi to browse the web:

> Go to https://example.com and take a screenshot

Or invoke explicitly:

/skill:agent-browser Navigate to https://news.ycombinator.com and get all article titles

Quick start flow

# 1. Start Chrome
agent-browser start

# 2. Navigate
agent-browser nav https://example.com

# 3. Dismiss cookies
agent-browser dismiss-cookies

# 4. Evaluate JS
agent-browser eval 'document.title'

# 5. Screenshot
agent-browser screenshot

# 6. Pick an element interactively
agent-browser pick "Click the submit button"

Structure

pi-skill-agent-browser/
├── package.json
├── README.md
├── LICENSE
└── skills/
    └── agent-browser/
        ├── SKILL.md
        └── scripts/
            ├── package.json          # ws dependency
            ├── cdp.js                # Minimal CDP client
            ├── start.js              # Launch Chrome
            ├── nav.js                # Navigate tabs
            ├── eval.js               # Evaluate JS
            ├── screenshot.js         # Capture viewport
            ├── pick.js               # Interactive element picker
            ├── dismiss-cookies.js    # Cookie consent handler
            ├── watch.js              # Background logger
            ├── logs-tail.js          # Tail logs
            └── net-summary.js        # Network summary

Credits

Skill originally from badlogic/pi-skills web-browser skill, repackaged as a standalone pi package.

License

MIT