Web Extract
by Seyee White
Save any web page as clean Markdown or ad-free single-file styled HTML, with site rules for WeChat, X/Twitter, Weibo, Xiaohongshu, zsxq, GitHub Gist, and Douban.
$5
web-extract
Example session with this skill installed
Extract https://jvns.ca/blog/2024/02/16/popular-git-config-options/ into clean Markdown with metadata, and also show the exact command I should run later to archive a Xiaohongshu multi-image post with its original styling and images embedded offline.
- Read your context and instructions
- Compiled the web-extract
Summary
Extracted
Popular git config options by Julia Evans (jvns.ca, published 2024-02-16) via static fetch (web-extract parse ... --json), stripping site navigation and boilerplate to produce 15.6 KB of clean Markdown.
Extracted Metadata
| Field | Value |
|---|---|
| Title | Popular git config options |
| Author | Julia Evans |
| Published | 2024-02-16T10:42:27 |
| Site / Domain | Julia Evans (jvns.ca) |
| Fetch Mode | Static HTTP (no browser needed) |
| Output Size | 15,676 characters (Markdown) |
Extracted Markdown Preview
# Popular git config options
• [git](https://jvns.ca/categories/git) •
February 16, 2024
Hello! I always wish that command line tools came with data about how popular their various options are, like:
- "basically nobody uses this one"
- "80% of people use this, probably take a look"
- "this one has 6 possible values but people only really use these 2 in practice"
So I [asked about people's favourite git config options on Mastodon](https://social.jvns.ca/@b0rk/111885363143321068):
Archiving a Xiaohongshu Post with Original Styling & Offline Images
Because Xiaohongshu requires an active login session and expires signed image URLs after a few days, open the post in Chrome launched with a debugging port and run --attach with --html --embed-images (or --upload-images to keep the HTML small using your own image host):
# 1. Start Chrome with remote debugging and open the Xiaohongshu note
chrome --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug
# 2. Archive styled HTML with pure-CSS offline carousel and embedded images
web-extract parse "https://www.xiaohongshu.com/explore/<note-id>" \
--attach --html --embed-images -o note.html
Next steps: Let me know if you want the full Markdown written to a local file (-o git-config-options.md) or need --load-comments enabled when archiving Xiaohongshu threads.
Connects securely to your tools. The creator never sees your data.
About this skill
web-extract gives your AI agent a structured workflow to turn web pages into clean, token-efficient Markdown or ad-free single-file styled HTML using the web-extract CLI.
What It Does
- Clean Markdown Extraction (
--md): Strips navigation, ads, sidebars, comments, and recommendation clutter while separating structured metadata (title,author,publishedAt,siteName,domain). - Single-File Styled HTML Archiving (
--html): Preserves original page styling (pruned to only the CSS actually used) with scripts and ads removed. Supports--article(body only), pure-CSS offline image carousels, and three image persistence options (--assets,--embed-images, or--upload-imagesto your own Alibaba Cloud OSS or custom CLI like PicGo). - Smart Fetch Mode Routing: Guides the agent when to use fast static fetching (hundreds of ms), ephemeral headless Chrome rendering (
--browserfor JS-rendered pages like X/Twitter, Weibo, and WeChat), or--attachto connect to an already-open Chrome tab for login-gated sites (Xiaohongshu, zsxq) without touching or exporting cookies. - Dedicated Site Rules: Built-in extraction rules for WeChat Official Accounts (
mp.weixin.qq.com), X/Twitter, Weibo, Xiaohongshu, zsxq (wx.zsxq.com), GitHub Gist, and Douban (status & topics), plus automatic scoring for general blogs, news, and docs. - Built-in Diagnostics: Teaches the agent to detect redirects or captchas from short-output hints and run
web-extract dumpinstead of burning tokens on blind retries.
Requirements & Transparency
- Requires Node.js 22+, plus a local Chrome or Edge browser only when using
--browseror--attach. - Open-Source CLI Notice: The underlying
web-extractCLI is publicly available on GitHub (github.com/seyeeL/web-extract) under the PolyForm Noncommercial 1.0.0 license. This listing packages the curated, agent-ready EnglishSKILL.mdworkflow for one-click installation via Agensi MCP and directly supports ongoing maintenance of site rules and features. - Limitations: Does not bypass login walls, paywalls, or anti-bot captchas; login-gated sites require opening the page in your own browser with
--attach.
Requires Node.js 22+. Browser rendering needs local Chrome/Edge. Sites with heavy bot detection may require manual session attachment via debugging port.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 10 days ago
- Accounts
GitHub
- Software
Node.js 22+
- Optional
- Google ChromeorEdge (for --browser / --attach)Alibaba Cloud OSSorcustom upload CLI (for --upload-images)
Permissions
Runs the web-extract CLI locally to fetch web pages, optionally render JS-heavy pages in local Chrome/Edge, and write clean Markdown or styled HTML files.
What's inside
Frequently Asked Questions
New in LLM Ops
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.