npx skills add ...
npx skills add blessonism/openclaw-search-skills --skill content-extract
Robust URL-to-Markdown extraction for OpenClaw workflows. Use when the user wants to "extract/summarize/convert a webpage to markdown" (especially WeChat mp.weixin.qq.com) and web_fetch/browser is blocked or messy. Uses a cheap probe via web_fetch first, then falls back to the official MinerU API (via the local mineru-extract skill) and returns a traceable result contract with source links.
This repo is now called blessonism/search-skills. Both names install the same content, but the install count here only covers this one.
npx skills add blessonism/openclaw-search-skills --skill content-extract
目标:把“给我一个 URL → 产出可读 Markdown + 可追溯入口”变成一个统一入口,供后续所有业务 skill(github-explorer、写作类 skills、日报等)复用。
核心原则(来自你发的 Excel Skill 拆解文章的启发):
输入:url
references/domain-whitelist.mdmodel_version=MinerU-HTMLweb_fetch(url)references/heuristics.md)包括:
skills/mineru-extract/scripts/mineru_parse_documents.pymodel_version=MinerU-HTML无论用 probe 还是 MinerU,都返回同一套结构:
注意:
engine可能是web_fetch或mineru。
当需要 MinerU 时,用这个命令(返回 JSON,且可把 markdown 内联进 JSON,便于下游总结):
路径说明: 上述命令假设你在 skills 安装根目录下执行。如果 mineru-extract 安装在其他位置,请替换为实际路径。
sources(原文入口 + 解析产物入口)。markdown_path(本地路径)写进 sources,方便复查。python3 mineru-extract/scripts/mineru_parse_documents.py \
--file-sources "<URL>" \
--model-version MinerU-HTML \
--emit-markdown --max-chars 20000