تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

file-to-markdown

بواسطة alaminrifat

DevOps & Cloud
362التنزيلات وفق ما يذكره clawskills.sh
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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط