web_scraper

A tool for reading web pages and extracting their useful content. It can return page text, links, headings, or structured data in JSON format.

In plain words
What is it for?
Use it to read articles, collect headings, list links, or extract information from a URL.
Why use it?
It removes the need to manually copy information from a web page and separates readable content from much of the surrounding page layout.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/ericwang915/pythonclaw/scraper
Any agent
npx skills add ericwang915/PythonClaw --skill scraper
Clone the repo
git clone --depth 1 https://github.com/ericwang915/PythonClaw

Made for: Claude Code, Codex.

Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 253 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00047 $0.00253
Opus 5 $0.00023 $0.00127
Sonnet 5 $0.00009 $0.00051
Haiku 4.5 $0.00005 $0.00025

Measured 2d ago against content hash f370259808a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

web_scraper scanned grade A with 0 findings 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 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scrape.py), 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

pythonclaw/templates/skills/data/scraper/SKILL.md · 41 lines

What it actually says

Instructions

Scrape and extract readable content from any web page.

Prerequisites

Install dependencies: pip install requests beautifulsoup4

Usage

python {skill_path}/scrape.py URL [--format text|json|links|headings]

Formats:

  • text (default) — cleaned readable text
  • json — structured JSON with title, text, links, headings
  • links — all links on the page
  • headings — all headings (h1–h6)

Examples

Resources

File Description
scrape.py Generic web page scraper
Files

What ships with it

1 file 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. 2d ago First seen · 41 lines · 47 tokens per session scan A f370259808a5

Subscribe to this mod's changes

web_scraper is a skill published in the GitHub repository ericwang915/PythonClaw (41 stars, last pushed 24d ago), licensed MIT. It adds 47 tokens to every session and 253 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

browser-pilot

增强版浏览器自动化。基于 Playwright 实现完整浏览器操作,包括基础导航、截图、点击、表单填写、内容提取、文件上传/下载、多标签页管理。支持反检测和高级自动化。.

xyva-yuangui/XyvaClaw · 54 tokens

web-scraper

增强版网页抓取功能。支持会话管理、多模式提取(CSS/XPath/正则)、并发抓取、反爬虫增强。提供完整的命令行接口。.

xyva-yuangui/XyvaClaw · 47 tokens

cloud-screencast

Record a clean product demo video of a web app on a disposable cloud VM — provision a GCE instance, install Xvfb + Chrome + ffmpeg + real fonts, deploy the app, drive the UI deterministically with Playwright over CDP while x11grab records, then cut the raw take into a social-ready clip with speed ramps and burned-in…

oratis/LISA · 154 tokens

test-runner

Write and run tests across languages and frameworks.

xyva-yuangui/XyvaClaw · 3 tokens

save-as-pdf

Reformat the current HTML design into a paginated, paper-ready PDF. The "Instant" export already gives the user a PDF at the design's native pixel size — this path is for when they want real pages.

asgeirtj/system_prompts_leaks · 9 tokens

talking-head-recut

Package an existing talking-head / interview / podcast video with timed, designed GRAPHIC OVERLAY cards — kinetic titles, lower-thirds, data callouts, quotes, side panels, picture-in-picture — synced to the transcript, on a 16:9 / 9:16 / 4:5 canvas of your choice; the clip plays untouched underneath. Trigger on…

heygen-com/hyperframes · 112 tokens