跳到正文
TakoAPI
返回技能列表

web-markdown-navigator

由 plgonzalezrx8 提供

Web & Frontend Development
—暂无评分
你的评分

简介

Fetch webpages and return clean markdown instead of raw HTML.

描述

该技能的功能

Fetches any webpage URL and returns clean markdown instead of raw HTML. Uses Mozilla Readability and Turndown for extraction, with an automatic browser-based fallback for JavaScript-heavy or single-page app content.

Unlike plain fetch or curl, it handles both static HTML and JavaScript-rendered pages through automatic fallback, returning structured markdown without manual parsing.

何时使用

  • Reading news articles or blog posts from a URL
  • Extracting documentation pages into markdown for prompts
  • Summarizing product pages or landing pages
  • Pulling text from JS-rendered SPAs where curl falls short
  • Converting web content for offline notes or archiving

示例工作流

输入

User asks: Fetch and summarize https://example.com/article

智能体
  1. 1

    Run fetch-markdown.mjs with the provided URL

  2. 2

    Check exit code: 0 means successful extraction

  3. 3

    If exit code is 3 or 4, or output is thin, switch to browser tool fallback

  4. 4

    Return markdown content with source URL preserved

输出

Clean markdown summary of the article with source URL noted

安装

clawhub install plgonzalezrx8/web-markdown-navigator

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接