Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

mdnew

bởi thendcn

Web & Frontend Development
458Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Fetch clean, agent-optimized Markdown from any URL using the markdown.new service.

Mô tả

Kỹ năng này làm gì

Fetches clean, token-efficient Markdown from any URL using the markdown.new three-tier conversion pipeline. Strips boilerplate, ads, and navigation menus, leaving only core content. Handles JS-heavy pages via Cloudflare Browser Rendering as a fallback.

Reduces page size by up to 80% compared to raw HTML, making it practical for agents with tight context windows that would otherwise struggle with full-page content.

Khi nào nên dùng

  • Extracting article text for LLM analysis
  • Scraping docs pages when web_fetch returns noisy HTML
  • Reading JS-rendered pages without a full browser setup
  • Reducing token usage when ingesting long web pages
  • Feeding clean web content into agent context windows

Quy trình ví dụ

ĐẦU VÀO

User asks: Summarize the content at https://docs.example.com/guide

AGENT
  1. 1

    Run python3 scripts/mdnew.py https://docs.example.com/guide

  2. 2

    Pipeline attempts Header Negotiation first, falls back to Workers AI, then Cloudflare Browser Rendering

  3. 3

    Receive clean Markdown with x-markdown-tokens count in the response

  4. 4

    Pass Markdown to LLM for summarization

ĐẦU RA

Clean Markdown summary of the documentation page, using a fraction of the tokens raw HTML would require

Cài đặt

clawhub install thendcn/mdnew

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết