Skip to content
Research
Skill

/servo-fetch

Fetch and render web pages using the Servo browser engine — a single binary with JS execution, CSS layout, screenshots, and content extraction. Use when a URL returns empty or incomplete content with plain HTTP fetch, when you need a screenshot without GPU, or when you need to

BOOST
From plugin
servo-fetch
1611 skill
Install
$ npx -y skills add konippi/servo-fetch --skill servo-fetch --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/servo-fetch

Context preview

The summary Claude sees to decide when to auto-load this skill.

Fetch and render web pages using the Servo browser engine — a single binary with JS execution, CSS layout, screenshots, and content extraction. Use when a URL returns empty or incomplete content with plain HTTP fetch, when you need a screenshot without GPU, or when you need to

SKILL.md

servo-fetch.SKILL.md
name: servo-fetch
description: "Fetch and render web pages using the Servo browser engine — a single binary with JS execution, CSS layout, screenshots, and content extraction. Use when a URL returns empty or incomplete content with plain HTTP fetch, when you need a screenshot without GPU, or when you need to run JavaScript in a page context. No browser download required."

servo-fetch

When to use

  • A URL returns empty or incomplete content with simple HTTP fetch (SPA, React, Vue)
  • You need a screenshot of a web page in CI/Docker (no GPU available)
  • You need to evaluate JavaScript in a page context (DOM queries, data extraction)
  • You want clean Markdown from a documentation site, blog, or article
  • You need to crawl an entire documentation site or blog for RAG / knowledge ingestion
  • You need the accessibility tree with bounding boxes for a page

When NOT to use

  • The page is simple static HTML (use `curl` or built-in web fetch instead)
  • You need to interact with the page (click, fill forms) — servo-fetch is read-only
  • You need full Chromium compatibility for complex web apps

Tools (MCP)

Start the MCP server: `servo-fetch mcp` (stdio) or `servo-fetch mcp --port 8080` (Streamable HTTP)

Large multi-block responses can omit URL-labeled blocks and include an omitted-count summary; paginate `fetch` output with `maxLength` and `startIndex`. Extracted Markdown and JSON use the final document URL after redirects, while batch and crawl block labels preserve the requested URL.

fetch

Extract readable content from a URL. JavaScript is executed, CSS layout is computed, and navigation noise (navbars, sidebars, footers, cookie banners) is stripped automatically.

Parameters:

  • `url` (required): URL to fetch (http/https only)
  • `format`: `"markdown"` (default), `"json"`, `"html"`, `"text"`, or `"accessibility_tree"`
  • `selector`: CSS selector to extract a specific section instead of full-page extraction
  • `maxLength`: max characters to return (default 5000)
  • `startIndex`: character offset for pagination
  • `visibility`: `"moderate"` (default), `"strict"`, or `"off"`
  • common: `timeout` (s, default 30), `settleMs` (ms, default 0), `userAgent`, `cookiesFile`, `headers`
fetch(url: "https://docs.rs/tokio", format: "markdown")
fetch(url: "https://example.com", format: "json", selector: "article")
fetch(url: "https://example.com", format: "accessibility_tree")

PDF URLs are auto-detected via Content-Type and extracted directly.

batch_fetch

Fetch multiple URLs in parallel. Results are returned as separate content entries in completion order. Failed URLs are reported inline without aborting the batch.

Parameters:

  • `urls` (required): array of URLs to fetch (http/https only, max 20)
  • `format`: `"markdown"` (default), `"json"`, `"html"`, `"text"`, or `"accessibility_tree"`
  • `selector`: CSS selector to extract a specific section
  • `maxLength`: max characters per URL result (default 5000)
  • `visibility`: `"moderate"` (default), `"strict"`, or `"off"`
  • common: `timeout` (s, default 30), `settleMs` (ms, default 0), `userAgent`, `cookiesFile`, `headers`
batch_fetch(urls: ["https://a.com", "https://b.com"], format: "markdown")
batch_fetch(urls: ["https://a.com", "https://b.com"], format: "json", selector: "article")

crawl

Crawl a website starting from a URL, following same-site links via BFS. JavaScript is executed, CSS layout is computed, and navigation noise is stripped. Respects robots.txt.

Parameters:

  • `url` (required): starting URL to crawl (http/https only)
  • `limit`: max pages to crawl (default 50, max 500)
  • `maxDepth`: max link depth from seed (default 3, max 10)
  • `format`: `"markdown"` (default) or `"json"`
  • `include`: URL path patterns to include (e.g. `["/docs/**"]`)
  • `exclude`: URL path patterns to exclude
  • `maxLength`: max characters per page result (default 5000)
  • `selector`: CSS selector to extract a specific section per page
  • common: `timeout` (s, default 30), `settleMs` (ms, default 0), `userAgent`, `cookiesFile`, `headers`
crawl(url: "https://docs.example.com", limit: 20, maxDepth: 3)
crawl(url: "https://docs.example.com", include: ["/guide/**"], limit: 50)

screenshot

Capture a PNG screenshot. Uses Servo's software renderer — works without GPU.

Parameters:

  • `url` (required): URL to capture
  • `fullPage`: capture the full scrollable page (default false)
  • common: `timeout` (s, default 30), `settleMs` (ms, default 0), `userAgent`, `cookiesFile`, `headers`
screenshot(url: "https://example.com")
screenshot(url: "https://example.com", fullPage: true)

execute_js

Evaluate a JavaScript expression after the page loads. Console messages (log, warn, error) are appended to the result.

Parameters:

  • `url` (required): URL to load
  • `expression` (required): JavaScript expression to evaluate
  • common: `timeout` (s, default 30), `settleMs` (ms, default 0), `userAgent`, `cookiesFile`, `headers`
execute_js(url: "https://example.com", expression: "document.title")
execute_js(url: "https://example.com", expression: "[...document.querySelectorAll('h2')].map(e => e.textContent)")

CLI

servo-fetch https://example.com                                  # Markdown (default)
servo-fetch https://example.com --format json                    # Structured JSON
servo-fetch URL1 URL2 URL3                                       # Parallel batch (Markdown with separators)
servo-fetch URL1 URL2 --format json                              # Parallel batch (NDJSON)
servo-fetch https://example.com --format png -o out.png          # Save PNG screenshot
servo-fetch https://example.com --js "document.title"            # Run JavaScript and print result
servo-fetch https://example.com --selector article               # Extract a section by CSS selector
servo-fetch https://example.com --schema schema.json             # Schema-driven JSON
servo-fetch https://example.com --cookies cookies.txt
Read more
Ships withservo-fetch

A self-contained browser engine that fetches, renders, and extracts web content as Markdown, JSON, or screenshots — no Chromium, no API key, no setup.

Get the whole plugin
Stats
162
Stars
18
Forks
Active
Maintenance
Rust
Language
Apache-2.0
License
5d ago
Last commit
6mo ago
Created
2h ago
Added

Repo: konippi/servo-fetch