360 Secure SkillHub
360 安全技能中心

Mdnew

该 Skill 提供命令行脚本,接收一个目标 URL,调用 markdown.new 的三级转换管线抓取网页并输出精简 Markdown,去除广告、导航等冗余内容,并在 web_fetch 或浏览器无法获得干净正文时作为替代手段,用于节省上下文与后续分析。

thendcn
thendcn
热度 87.95
最近更新 2026-05-11 16:52:13
分类:搜索依赖:代码执行 / 第三方 API应用场景:研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add mdnew
Metadata
name
mdnew
description
Fetch clean, agent-optimized Markdown from any URL using the markdown.new service. Use when web_fetch or browser fails to provide clean content, or when you need a token-efficient version of a web page for deep analysis.

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:

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.