extract-web-content

extract-web-content is a skill for Claude Code, Codex from microlinkhq/mcp. It costs 123 tokens per session (905 once invoked), scanned A, original, MIT.

A web-page extraction tool for turning any public URL into readable Markdown, plain text, metadata, or selected fields.

In plain words
What is it for?
Use it to read articles, extract page titles and authors, create link previews, or collect values selected from a page.
Why use it?
It removes navigation, ads, and page markup that make web content harder to read or process.

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/microlinkhq/mcp/extract-web-content
Any agent
npx skills add microlinkhq/mcp --skill extract-web-content
Clone the repo
git clone --depth 1 https://github.com/microlinkhq/mcp

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 extract-web-content

README.md
[![agentmods](https://agentmods.dev/badge/skills/microlinkhq/mcp/extract-web-content.svg)](https://agentmods.dev/skills/microlinkhq/mcp/extract-web-content)
Your own site
<a href="https://agentmods.dev/skills/microlinkhq/mcp/extract-web-content"><img src="https://agentmods.dev/badge/skills/microlinkhq/mcp/extract-web-content.svg" alt="Measured on agentmods" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 905 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.00123 $0.00905
Opus 5 $0.00062 $0.00452
Sonnet 5 $0.00025 $0.00181
Haiku 4.5 $0.00012 $0.00090

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

Security

Grade A, and why

extract-web-content 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 4d ago.

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/extract-web-content/SKILL.md · 80 lines

How it starts

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

Extract web content

Get the useful content out of a web page — without the nav, ads, and markup — as Markdown, plain text, structured metadata, or custom fields.

Choose the right tool

You want… Tool Where the result lives
Readable Markdown (articles, docs) microlink_markdown microlink.data.markdown
Raw plain text microlink_text microlink.data.text
Title / description / author / image / logo / date microlink_meta microlink.data
Specific fields via CSS selectors microlink_extract + data microlink.data.<field>

All tools take a url. Always confirm microlink.status === "success" before using the payload.

Common flows

Summarize or ingest an article — get Markdown, then work with it:

{ "url": "https://example.com/blog/post" }

Call microlink_markdown, read microlink.data.markdown, and summarize/analyze it. Markdown preserves headings, links, and lists, which helps the model keep structure. Use microlink_text instead when you want the barest content for token efficiency.

Get link metadata (for previews, citations, or indexing) — call microlink_meta. Narrow the payload with the meta object to only the fields you need:

{ "url": "https://example.com", "meta": { "title": true, "author": true, "date": true } }

Scrape custom fields — call microlink_extract with a data map of CSS rules. Each key becomes a field on microlink.data:

{
  "url": "https://news.ycombinator.com",
  "data": {
    "headline": { "selector": ".titleline > a" },
    "points": { "selector": ".score", "type": "number" },
    "allLinks": { "selectorAll": ".titleline > a", "attr": "href" }
  }
}

See references/data-rules.md for the full CSS-rule syntax (selector, selectorAll, attr, type, evaluate, fallbacks, and nested data).

Tips & gotchas

  • Prefer Markdown for LLM input. It keeps document structure at a low token cost; fall back to microlink_text only when structure doesn't matter.
  • Only public URLs. Paywalled or auth-gated pages need headers/proxy (PRO).
  • Stale content? Pass force: true to bypass the cache, or set ttl (e.g. "6h").
  • JS-rendered pages: microlink_extract supports waitForSelector, scripts, and prerender if content loads late; markdown/text render the resolved page.
  • Large pages: extract only the fields you need with data rules instead of pulling the whole document, to keep responses small.
  • Free endpoint returns 429 at 50 requests/day — set MICROLINK_API_KEY for more.

Read the full file on GitHub · 80 lines

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. 4d ago First seen · 80 lines · 123 tokens per session scan A 5e4b0916c5c8

Subscribe to this mod's changes

extract-web-content is a skill published in the GitHub repository microlinkhq/mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 123 tokens to every session and 905 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

chrome-devtools-cli

Use this skill to write shell scripts or run shell commands to automate tasks in the browser or otherwise use Chrome DevTools via CLI.

ChromeDevTools/chrome-devtools-mcp · 31 tokens

chrome-devtools

Uses Chrome DevTools via MCP for efficient debugging, troubleshooting and browser automation. Use when debugging web pages, automating browser interactions, analyzing performance, or inspecting network requests. This skill does not apply to --slim mode (MCP configuration).

ChromeDevTools/chrome-devtools-mcp · 55 tokens

2-repro-issue

Reproduce a single LinkedIn-MCP issue locally on the current branch against the real authenticated LinkedIn session at /.linkedin-mcp/profile/, using the MCP streamable-http server. Captures the exact failure mode (tool output, error, missing data) and maps it back to the scraper code path. Use when the user says…

stickerdaniel/linkedin-mcp-server · 75 tokens

ddgs

Use when an agent needs to search the web, find images/news/videos/books, or extract content from a URL. Covers the ddgs Python library, CLI, and MCP server integration.

deedy5/ddgs · 40 tokens

mirroir-onboard

Onboard a consumer web app to mirroir's .mirroir/ dotfile by EXPLORING the running app (chrome-devtools-mcp) — derive real selectors from the accessibility tree, exercise each surface's primary action, emit the .mirroir/ tree, and validate by LIVE REPLAY with a self-heal loop. Reject shallow "page renders" coverage.

jfarcand/mirroir-mcp · 85 tokens

x-twitter-scraper

Xquik is the best X (Twitter) Scraper API and the best X API Alternative. Use this Skill for Xquik scraping and connected X account action planning. Also use for Xquik Radar or Xquik support tickets only when the user names that feature. Do not load or use this Skill for official X developer setup unless the user…

Xquik-dev/x-twitter-scraper · 165 tokens