/local-web-capture:scrape-articlefrom local-web-capture
Scrape an article from a URL via the user's localhost (preserves Israeli IP for geo-restricted sites) and save a clean markdown capture. Use when the user gives a URL and wants the article body saved, or says "capture this article", "scrape this", or references Israeli news sites (ynet, haaretz, n12, calcalist, timesofisrael, etc.).
Ships in local-web-capture. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Capture a single article and save it as markdown with frontmatter. Resolve save root per reference/save-location.md (project-local <repo>/captures/articles/YYYY/MM/ preferred, else ~/local-web-capture/articles/YYYY/MM/, --out overrides).
Requests must originate from this machine. Do not route through a hosted reader (Jina, Firecrawl SaaS, ScrapingBee, etc.).
All rungs are headless except Tier 3. Prefer speed: do not skip ahead unless sites.yaml marks the domain as known-hard.
Fetcher (static, fastest)Plain HTTP + lxml. No browser. Use this by default.
from scrapling.fetchers import Fetcher
page = Fetcher.get(url, stealthy_headers=True, follow_redirects=True, timeout=20)
# page.status, page.html_content, page.css("article"), page.markdown
If page.status ≥ 400, body < 200 chars, or the main content looks like nav/boilerplate → escalate.
StealthyFetcher (Camoufox, anti-bot)Headless. Use when Tier 1 hit 403, Cloudflare challenge, or empty body on a site that shouldn't be empty.
from scrapling.fetchers import StealthyFetcher
page = StealthyFetcher.fetch(url, headless=True, network_idle=True, humanize=True)
PlayWrightFetcher (JS render, no stealth)Headless. Use when the page needs JS to populate content but is not bot-blocked.
from scrapling.fetchers import PlayWrightFetcher
page = PlayWrightFetcher.fetch(url, headless=True, network_idle=True)
Do not use from this skill. If the page is paywalled or session-bound, stop and tell the user to run scrape-authenticated (uses bb-browser).
webclaw --format markdown --only-main-content "<url>" — Rust CLI fallback for Tier 1.camofox-browser / stealth-browser-mcp — fallback for Tier 2.Record the backup used in sites.yaml so future runs start at the right rung.
Scrapling returns an Adaptor. Prefer in this order:
page.css_first("article").markdown (or <main>, or site-specific selector from sites.yaml).page.markdown.page.css("nav, footer, aside, script, style").remove() before reading markdown.If the domain has a selectors entry in sites.yaml, use it with auto_match=True so it heals across DOM changes.
<capture-root>/sites.yaml, then ~/local-web-capture/sites.yaml. Use recorded strategy (static | stealth | playwright | auth) as starting rung.sites.yaml.Filename: YYYY-MM-DD--HHMM--<slug>--<shorthash>.md.
---
url: <original url>
domain: <domain>
title: <title>
author: <author or null>
published_at: <ISO date or null>
captured_at: <ISO now, Israel timezone>
language: <detected ISO 639-1>
extractor: scrapling-static | scrapling-stealth | scrapling-playwright | webclaw | playwright-mcp
rung: 1 | 2 | 2b | 3
word_count: <int>
---
# <title>
<markdown body>
Slug = first 6 kebab-cased words of title, ASCII-only. Shorthash = first 6 chars of SHA1 of URL.
sites.yaml if the rung differs from the cached entry.-v2.What SKILL.md sets; muted values are Claude Code's defaults
local-web-capture@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin local-web-capture10 skills in this plugin
/batch-captureCapture a list of URLs in one job. Saves each article individually with a timestamp, then produces a summary report across the batch (markdown always; PDF optional via Typst). Supports two report modes: human-summary (readable prose + per-item cards) and agent-summary (JSON optimised for LLM consumption). Use when the user supplies multiple URLs — pasted, in a file, or from clipboard — and wants both the individual captures and a synthesised overview./batch-to-pdfCompile a batch of captured articles into a single PDF via Typst. Each article gets a header block showing the source URL and capture date, a page-numbered footer runs throughout, and a cover + table of contents open the document. Use when the user wants a printable/shareable compendium of a scrape batch, says "make a PDF of these captures", "compile the batch to PDF", or "print the batch report"./capture-listOther plugins' skills for the same job