Skip to content

Fetches a URL into traceable Markdown, falling back from a cheap probe to MinerU for blocked pages.

CCM score
56 of 100
skills.sh installs
161
GitHub stars
439
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers URL-to-Markdown extraction with a cheap web_fetch probe first, then a MinerU API fallback for blocked or messy pages
  • Routes known anti-scraping domains such as WeChat and Zhihu straight to MinerU through a whitelist, skipping the probe
  • Returns one result contract for both engines, with the source URL, local artifact paths, and notes on failures and next steps
  • Designed for OpenClaw workflows that need a shared extraction entry point before summarizing or writing from a web page

Install

$ npx -y skills add blessonism/search-skills --skill content-extract -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

content-extract — 上层内容解析入口(MCP 语义对齐,但不跑 MCP Server)

目标:把“给我一个 URL → 产出可读 Markdown + 可追溯入口”变成一个统一入口,供后续所有业务 skill(github-explorer、写作类 skills、日报等)复用。

核心原则(来自你发的 Excel Skill 拆解文章的启发):

  • 行为规约层:永远给出可追溯入口(原文 URL + 解析产物路径/链接),绝不编造来源。
  • Token 探针:先用低成本 probe 判断可不可以直接抓;不行再走重解析(MinerU)。
  • 反弹机制:失败时返回“下一步动作建议”,而不是一堆异常栈。

工作流(Decision Tree)

输入:url

  1. Domain Whitelist(跳过 probe):若 URL 属于高概率反爬/动态站点(微信/知乎等),直接走 MinerU
  • 白名单文件:references/domain-whitelist.md
  • 对命中白名单的 URL:强制 model_version=MinerU-HTML
  1. Probe(低成本):优先用 web_fetch(url)
  • 目标:拿到正文 markdown(便宜、快)
  • 判断“失败/不合格”条件(见 references/heuristics.md)包括:
    • 403/401/反爬
    • 只有“环境异常/验证码/请在微信打开”等提示
    • 内容极短/明显导航页/丢正文
  1. Fallback(高保真):走 MinerU 官方 API
  • 调用下游 driver:skills/mineru-extract/scripts/mineru_parse_documents.py
  • 对 HTML 页面(微信等):强制 model_version=MinerU-HTML
  1. 输出统一结果合同(Result Contract)

无论用 probe 还是 MinerU,都返回同一套结构:

Details

Repository
github.com/blessonism/search-skills
Categories
Browser Automation & Scraping, Research & Academic
First seen
Jun 3, 2026

Questions

What does the content-extract skill do?

content-extract turns a URL into clean Markdown for OpenClaw workflows. It first tries a cheap web_fetch probe, and when that fails it falls back to the MinerU API through the mineru-extract skill.

Which sites does content-extract handle better than a plain fetch?

content-extract is aimed at pages that block or mess up web_fetch and browser, especially WeChat mp.weixin.qq.com articles. Its domain whitelist sends those URLs straight to MinerU, skipping the probe.

How do I install content-extract?

Run npx -y skills add blessonism/search-skills --skill content-extract -y in a project to install it. content-extract then returns a traceable result with the source URL and local markdown path.

Does content-extract need an API key?

content-extract's MinerU fallback calls the official MinerU API, so that path depends on MinerU access through the mineru-extract skill. Its plain web_fetch probe needs no separate key.

More from blessonism/search-skills

All 3

Similar to Content Extract

More Browser Automation & Scraping