file-to-markdown
由 alaminrifat 提供
DevOps & Cloud简介
Convert files into **clean, structured, AI-ready Markdown** using the `markdown.new` API powered by **Cloudflare.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
User asks: Extract the contents of this PDF as Markdown
- 1
Receive the public file URL or local file path from the user
- 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
Check the success field in the response
- 4
Extract the content field containing the Markdown text
Clean Markdown text ready for LLM ingestion or storage
安装
clawhub install alaminrifat/file-to-markdown运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。