browser4-web-miner

browser4-web-miner is a skill for Claude Code, Codex from platonai/Browser4. It costs 57 tokens per session (2,526 once invoked), scanned A, original, Apache-2.0.

A local tool that groups downloaded HTML pages by similarity and turns the groups into an interactive report and Excel spreadsheets.

In plain words
What is it for?
Use it to cluster downloaded pages, create interactive views of detail pages, and prepare grouped results for spreadsheet analysis.
Why use it?
It helps analyze large folders of saved web pages without manually opening each one. The processing runs on your machine, so the page data does not leave it.

Skill for Claude CodeCodex

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

Good fit Use it to cluster downloaded pages, create interactive views of detail pages, and prepare grouped results for spreadsheet analysis.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/platonai/browser4/browser4-web-miner
About the project

Browser4 is an AI-native browser engine that lets autonomous agents and people control real browsers, extract information from web pages, and automate tasks at scale. It combines browser interaction through a Rust CLI and MCP with deterministic selectors, machine-learning clustering, and language-model extraction. The catalogue entries provide skills and instructions for using Browser4.

platonai/Browser4 · 1,196 stars · on GitHub · browser4.io

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 platonai/Browser4 --skill browser4-web-miner
Clone the repo
git clone --depth 1 https://github.com/platonai/Browser4

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 browser4-web-miner

README.md
[![agentmods](https://agentmods.dev/badge/skills/platonai/browser4/browser4-web-miner/github.svg)](https://agentmods.dev/skills/platonai/browser4/browser4-web-miner)
Your own site
<a href="https://agentmods.dev/skills/platonai/browser4/browser4-web-miner"><img src="https://agentmods.dev/badge/skills/platonai/browser4/browser4-web-miner/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 browser4-web-miner

Your own site · 80×15
<a href="https://agentmods.dev/skills/platonai/browser4/browser4-web-miner"><img src="https://agentmods.dev/badge/skills/platonai/browser4/browser4-web-miner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,526 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 pass 7 Sept 2026
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.00057 $0.02526
Opus 5.5 $0.00023 $0.01010
Sonnet 5.5 $0.00011 $0.00505
Haiku 4.5 $0.00006 $0.00253

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

Security

Grade A, and why

browser4-web-miner 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 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/tests/webminer.tests.ps1, scripts/webminer.ps1), 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.

browser, wget, or a crawler to fetch pages first.
skills/browser4-web-miner/SKILL.md · 235 lines

How it starts

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

WebMiner — Convert Detail Web Pages into Interactive Views

Quick Start

browser4-cli webminer install            # one-time install (Java 17+ auto-detected)
browser4-cli webminer all <html-dir>     # full pipeline: encode → cluster → views

WebMiner groups similar web pages together and produces an interactive HTML report with clusters of related pages — plus Excel spreadsheets for further analysis. Give it a folder of downloaded HTML files, and it handles the rest. Everything runs locally; no data leaves your machine.

When to Use

Use WebMiner when you have a folder of downloaded HTML pages and want to cluster them into interactive views and Excel reports — fully local, no LLM tokens. It complements rather than replaces browser4-cli crawl/swarm (which acquire pages): WebMiner analyzes pages you already have. Not for single-page extraction — use htmlsnapshot for that.

How It Works

WebMiner runs a three-stage local pipeline: encode converts each HTML page into a 69-dimension feature vector, cluster groups similar pages with SMILE KMeans (k auto-detected), and views renders an interactive HTML report plus Excel spreadsheets. Everything runs locally on your machine — no data leaves it, and no LLM tokens are consumed.

Read the console K correctly: encode works per page element, not per page — one 69-dimension vector per node, so rows= counts nodes and the reported k= counts node clusters. A small corpus therefore prints a large K (k=67, pages=6, rows=367 is normal, not a bug). The views stage re-aggregates those node clusters into page-level groups, which is what the report shows: cluster count is not a page count.

Patterns

1. Full pipeline on a folder of pages

browser4-cli webminer all <html-dir>

2. Rebuild views from an existing run

browser4-cli webminer views <result-dir>

3. Try it on the sample dataset

browser4-cli webminer run-example

Read the full file on GitHub · 235 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · +7 lines 9de3f4d8cb50
  2. 2mo ago Changed · +16 lines fa4566525410
  3. 3mo ago Changed · -2 lines 1467776a9176
  4. 3mo ago First seen · 214 lines · 57 tokens per session scan A ad9245881444

Subscribe to this mod's changes

browser4-web-miner is a skill published in the GitHub repository platonai/Browser4 (1,196 stars, last pushed today), licensed Apache-2.0. It adds 57 tokens to every session and 2,526 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

browser4-web-miner compared with skills from other repositories

browser4-web-miner next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
browser4-web-minerplatonai/Browser4Skill1.2ktodayApache-2.0A57Claude Code, Codex
office-documentsTencentCloud/OctopSkill13kyesterdayMITA44Claude Code, Codex
xlsxMemTensor/memmy-agentSkill2.4kyesterdayMITA35Claude Code, Codex
craft-data-visualBlackBeltTechnology/pi-agent-dashboardSkill357todayMITA71Claude Code, Codex
gridcraftBlackBeltTechnology/pi-agent-dashboardSkill357todayMITA82Claude Code, Codex
office-documentsWrongStack/WrongStackSkill450todayMITA98Claude Code, Codex
data-analysisDougTrajano/pydantic-ai-skillsSkill3824d agoMITA51Claude Code, Codex