mdnew
使用 markdown.new 服务从任何 URL 获取干净、经过代理优化的 Markdown。当 web_fetch 或浏览器无法提供干净的内容时,或者当您需要网页的令牌有效版本进行深入分析时使用。
安装 / 下载方式
TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~thendcn-mdnewcURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~thendcn-mdnew/file -o thendcn-mdnew.md## 概述(中文) 使用 markdown.new 服务从任何 URL 获取干净、经过代理优化的 Markdown。当 web_fetch 或浏览器无法提供干净的内容时,或者当您需要网页的令牌有效版本进行深入分析时使用。 ## 原文 # mdnew Fetch clean Markdown from any URL using the `markdown.new` three-tier conversion pipeline (Header Negotiation -> Workers AI -> Browser Rendering). ## Usage Run the script with a target URL: ```bash python3 scripts/mdnew.py <url> ``` ## Why use mdnew? 1. **Token Efficiency**: Reduces content size by up to 80% compared to raw HTML. 2. **Clean Data**: Strips boilerplate, ads, and nav menus, leaving only core content. 3. **JS Execution**: Automatically handles JS-heavy pages via Cloudflare Browser Rendering fallback. 4. **Agent-First**: Includes `x-markdown-tokens` tracking to help manage context windows.