webfetch-skill

webfetch-skill is a skill for Claude Code, Codex from valtterimelkko/agent-workflow-skills. It costs 116 tokens per session (2,068 once invoked), scanned A, original, MIT.

A web-content fetching and analysis workflow that turns pages into clean text, extracts main articles, and handles links and images.

In plain words
What is it for?
It is for reading and analyzing one or several web pages, comparing URLs, and extracting details such as email addresses.
Why use it?
It provides more useful page content than a basic fetch, especially for article-like pages, comparisons, or pages that need recovery from access problems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 ./skills/webfetch-skill/scripts/webfetch.py --url "URL_HERE" --output ./tmp/webfetch-skill/FILENAME.md.

Good fit It is for reading and analyzing one or several web pages, comparing URLs, and extracting details such as email addresses.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/valtterimelkko/agent-workflow-skills
agentmods
npx agentmods add skills/valtterimelkko/agent-workflow-skills/webfetch-skill

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 webfetch-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/valtterimelkko/agent-workflow-skills/webfetch-skill/github.svg)](https://agentmods.dev/skills/valtterimelkko/agent-workflow-skills/webfetch-skill)
Your own site
<a href="https://agentmods.dev/skills/valtterimelkko/agent-workflow-skills/webfetch-skill"><img src="https://agentmods.dev/badge/skills/valtterimelkko/agent-workflow-skills/webfetch-skill/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 webfetch-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/valtterimelkko/agent-workflow-skills/webfetch-skill"><img src="https://agentmods.dev/badge/skills/valtterimelkko/agent-workflow-skills/webfetch-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,068 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00116 $0.02068
Opus 5 $0.00058 $0.01034
Sonnet 5 $0.00023 $0.00414
Haiku 4.5 $0.00012 $0.00207

Measured 8d ago against content hash 04d9415cffb6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

webfetch-skill 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 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/webfetch.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.

skills/webfetch-skill/SKILL.md · 260 lines

How it starts

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

Web Fetch

Fetch and analyze web content by calling a specialized sub-agent that uses the webfetch script.

Use this as a clean single-page / few-page extraction tier:

  • prefer native web_fetch for quick cooperative pages
  • prefer this skill when you want cleaner markdown extraction, comparison across a few URLs, or extraction from article-like pages
  • if the page is challenge-blocked or JS-only, recover that URL with camofox before escalating to any paid proxy path

Quick Start

To fetch and analyze web content, invoke the webfetch sub-agent:

Fetch a single URL:

Fetch and summarize: https://example.com

Fetch multiple URLs (max 5):

Fetch and compare: https://example.com and https://example2.com

Analyze specific content:

What are the main points on: https://example.com/article

Extract specific information:

Extract all email addresses from: https://example.com/contact

The sub-agent will:

  1. Fetch the URL(s) using the webfetch script
  2. Read the extracted markdown content
  3. Provide AI analysis based on your prompt

Escalation contract

Keep the order narrow and cheap:

  1. Try native web_fetch or this script workflow first.
  2. If the target page is blocked by Cloudflare, challenge pages, or blank JS rendering, retry that URL with camofox.
  3. If camofox also fails and the blocked URL is genuinely important, ask before using residential-proxy.

Do not automatically turn a small fetch task into a proxy-backed workflow.

Prerequisites

The webfetch script requires these Python packages:

pip install --break-system-packages trafilatura requests beautifulsoup4

trafilatura - Main content extraction and HTML→markdown conversion requests - HTTP client for fetching URLs beautifulsoup4 - Link and image extraction

How It Works

  1. Skill triggers when you ask to fetch web content
  2. Sub-agent invoked via Task tool
  3. Script executes webfetch.py to fetch and extract content
  4. Sub-agent analyzes the markdown output and provides intelligent response
  5. Results returned with summaries, extractions, or answers

Read the full file on GitHub · 260 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. 8d ago First seen · 260 lines · 116 tokens per session scan A 04d9415cffb6

Subscribe to this mod's changes

webfetch-skill is a skill published in the GitHub repository valtterimelkko/agent-workflow-skills (2 stars, last pushed 2mo ago), licensed MIT. It adds 116 tokens to every session and 2,068 once invoked, about $0.0006 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-31.

Related

Other skills, from other repositories

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

interactive-login

How to complete browser/interactive logins (aws / gh / glab / gcloud). The platform backgrounds the login poller so it survives the human's browser round-trip — and when that does NOT work.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

google-safe-browsing

Prevent and fix Google Safe Browsing "Dangerous site" flags. Use when launching a public web app, buying/picking a domain, building a login or signup page, or when any site shows a red "Dangerous site" / "Deceptive site" warning in Chrome, Brave, Safari, Firefox, or Edge. Triggers on "dangerous site", "deceptive…

davidondrej/skills · 105 tokens