pi-web-browse

pi-web-browse is a skill for Claude Code, Codex from ogulcancelik/pi-extensions. It costs 47 tokens per session (877 once invoked), scanned A, original, MIT.

A web-search and page-reading tool that uses a real browser to open sites, including pages that need JavaScript or block simple automated requests.

In plain words
What is it for?
Use it to research topics online, open specific pages, and read content from JavaScript-heavy or bot-protected websites.
Why use it?
It helps when basic command-line downloads cannot load a page correctly or are blocked. It can search first and then extract readable text from the results.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to research topics online, open specific pages, and read content from JavaScript-heavy or bot-protected websites.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ogulcancelik/pi-extensions/pi-web-browse
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ogulcancelik/pi-extensions --skill pi-web-browse
Clone the repo
git clone --depth 1 https://github.com/ogulcancelik/pi-extensions

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pi-web-browse

README.md
[![agentmods](https://agentmods.dev/badge/skills/ogulcancelik/pi-extensions/pi-web-browse/github.svg)](https://agentmods.dev/skills/ogulcancelik/pi-extensions/pi-web-browse)
Your own site
<a href="https://agentmods.dev/skills/ogulcancelik/pi-extensions/pi-web-browse"><img src="https://agentmods.dev/badge/skills/ogulcancelik/pi-extensions/pi-web-browse/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pi-web-browse

Your own site · 80×15
<a href="https://agentmods.dev/skills/ogulcancelik/pi-extensions/pi-web-browse"><img src="https://agentmods.dev/badge/skills/ogulcancelik/pi-extensions/pi-web-browse.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 877 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 23
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00047 $0.00877
Opus 5.5 $0.00019 $0.00351
Sonnet 5.5 $0.00009 $0.00175
Haiku 4.5 $0.00005 $0.00088

Measured 2mo ago against content hash 233bce123094, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pi-web-browse scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 18 executable files (lib/bot-protection.js, lib/browser-bin.js, lib/cdp.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

description: "Search the web and fetch/read pages via a real headless browser (CDP). Use this instead of curl when sites are JS-heavy or bot-protected. Works on Linux, macOS, and Windows."
packages/pi-web-browse/SKILL.md · 102 lines

How it starts

The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Web Browse

Search the web, then open/fetch pages in a real browser session (headless Chromium via CDP) and extract readable text. Use this instead of curl when sites are JS-heavy or bot-protected.

Setup

Run once before first use:

cd {baseDir}
npm install

The skill auto-detects browsers already installed on your system (Brave, Chrome, Edge, Chromium). On Windows, Edge is pre-installed and works out of the box.

No browser installed? (rare) Run: npx playwright install chromium

Configuration (optional)

Environment variables:

Variable Description
WEB_BROWSE_BROWSER_BIN Path to browser binary (auto-detected if not set)
WEB_BROWSE_USER_AGENT Override User-Agent string
WEB_BROWSE_DAEMON_PORT Daemon port (default: 9377)
WEB_BROWSE_CDP_PORT CDP port (default: 9225)
WEB_BROWSE_DEBUG_DUMP Set to 1 to save screenshots/HTML on failures

You can also pass --browser-bin <path> as a CLI argument.

Usage

# Search (results are cached for ~10 minutes)
{baseDir}/web-browse.js "your query"
{baseDir}/web-browse.js "your query" -n 10

# Fetch specific cached results by index
{baseDir}/web-browse.js --fetch 1,3,5

# Fetch a specific URL
{baseDir}/web-browse.js --url <url>          # truncated (~2000 chars)
{baseDir}/web-browse.js --url <url> --full   # full content

Windows note: Use node {baseDir}/web-browse.js instead of {baseDir}/web-browse.js

Default behavior: persistent daemon (auto)

Direct calls automatically start/use a local daemon that keeps a persistent headless browser+CDP session. This avoids browser startup overhead and helps with bot-protection pages that auto-clear (e.g. Anubis PoW).

Daemon controls (optional, for debugging)

{baseDir}/web-browse.js --daemon status
{baseDir}/web-browse.js --daemon start
{baseDir}/web-browse.js --daemon stop
{baseDir}/web-browse.js --daemon restart

Bypass daemon (one-shot)

Read the full file on GitHub · 102 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 102 lines · 47 tokens per session scan A 233bce123094

Subscribe to this mod's changes

pi-web-browse is a skill published in the GitHub repository ogulcancelik/pi-extensions (570 stars, last pushed 2d ago), licensed MIT. It adds 47 tokens to every session and 877 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

pi-web-browse compared with skills from other repositories

pi-web-browse next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pi-web-browseogulcancelik/pi-extensionsSkill5702d agoMITA47Claude Code, Codex
interactive-loginyc-software/qmSkill16ktodayMITA46Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k10d agoMITA52Claude Code, Codex
azure-messaging-webpubsub-javamicrosoft/skillsSkill3.2kyesterdayMITA43Claude Code
cua-driverdavidondrej/skillsSkill4.3k3d agoMITA68Claude Code, Codex
open-design-browsercompozy/compozySkill2.8ktodayMITA56Claude Code, Codex
southwestborski/travel-hacking-toolkitSkill895todayMITA40Claude Code