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

file-to-markdown

bởi alaminrifat

DevOps & Cloud
362Lượ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

Convert files into **clean, structured, AI-ready Markdown** using the `markdown.new` API powered by **Cloudflare.

Mô tả

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

Converts files and URLs into Markdown using the markdown.new API, built on Cloudflare Workers AI. Supports 20+ formats including PDFs, Office documents, spreadsheets, images, and HTML pages. No authentication required for up to 500 requests per day per IP.

Handles 20+ file formats through a single HTTP call with no auth setup, replacing multiple local parsers or library dependencies.

Khi nào nên dùng

  • Convert a PDF report into Markdown before passing it to an LLM
  • Extract spreadsheet rows for a RAG ingestion pipeline
  • Turn a public webpage into structured text for a knowledge base
  • Process uploaded user documents inside a chatbot workflow
  • Get AI-generated text descriptions from product or diagram images

Quy trình ví dụ

ĐẦU VÀO

User asks: Extract the contents of this PDF as Markdown

AGENT
  1. 1

    Receive the public file URL or local file path from the user

  2. 2

    Send a GET request to https://markdown.new/<file-url> for remote files, or POST multipart form data to /convert for local files

  3. 3

    Check the success field in the response

  4. 4

    Extract the content field containing the Markdown text

ĐẦU RA

Clean Markdown text ready for LLM ingestion or storage

Cài đặt

clawhub install alaminrifat/file-to-markdown

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