跳到正文
TakoAPI
返回技能列表

file-to-markdown

由 alaminrifat 提供

DevOps & Cloud
362下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 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

输出

Clean Markdown text ready for LLM ingestion or storage

安装

clawhub install alaminrifat/file-to-markdown

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

链接