PDFlux-PDF2Markdown for Openclaw

PDFlux-PDF2Markdown is an advanced document processing skill that transforms unstructured files into structured, LLM-ready Markdown while preserving layout and elements like tables and formulas.

sube-py
v1.0.4
Mar 30, 2026
0
662
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install sube-test

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install sube-test using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is PDFlux-PDF2Markdown?

PDFlux-PDF2Markdown is a high-performance skill designed to bridge the gap between unstructured documents and AI-ready data. By leveraging the PDFlux service via PDRouter, this tool extracts text, tables, formulas, and charts from PDF, Word, and PowerPoint files. It organizes the output into Markdown with up to 8 levels of headings, ensuring the reading order is strictly maintained for maximum context retention in RAG pipelines or LLM workflows.

This Openclaw Skills extension is essential for developers needing reliable document parsing without manual cleanup. It automates the complex process of document decomposition, making it a critical asset for any AI-driven data extraction or knowledge retrieval system.

PDFlux-PDF2Markdown Use Cases

  • Convert complex PDF reports into clean Markdown for LLM summarization.
  • Extract structured tables from financial documents for data analysis.
  • Preprocess multi-page slide decks (PPT) for vector database ingestion.
  • Automate field extraction and content validation from legal or technical documents.
  • Retrieve formulas and charts for technical documentation conversion.

How PDFlux-PDF2Markdown Works

  1. The script authenticates with the PD_ROUTER_API_KEY and uploads the local document to the PDRouter API endpoint.
  2. It initiates a document parsing task on the PDFlux service, tracking the job via a unique UUID.
  3. The skill polls the service status until the document is fully processed and ready for download.
  4. Once complete, it retrieves the generated Markdown which includes structural elements like headings and tables.
  5. The final Markdown is printed to stdout or saved to a specified local file for downstream processing.

PDFlux-PDF2Markdown Setup

Install the skill using the following command:

npx skills add PaodingAI/skills

Set the required environment variable to authenticate with the PDRouter platform:

export PD_ROUTER_API_KEY="your_api_key_here"

Run the extraction script with a local file path:

node skills/pdflux-saas-markdown/scripts/upload_to_markdown.js <local-file-path> [output-markdown-path]

PDFlux-PDF2Markdown Data Schema & Taxonomy

The skill organizes data by converting visual elements into standard Markdown syntax to ensure compatibility with LLM context windows.

Element Markdown Representation
Headings Up to 8 levels (# to ########)
Tables Standard GFM Markdown tables
Lists Ordered and unordered lists
Metadata Embedded parsing status and document UUID
Images Base64 strings (if enabled via environment variable)

PDFlux-PDF2Markdown Advanced Features

  • Support for multi-format inputs including PDF, Word, PPT, and standard image files.
  • Configurable image inclusion via the PDFLUX_INCLUDE_IMAGES environment variable to capture visual context.
  • Automated polling and error handling for high-reliability document processing tasks.
  • Flexible output options to direct Markdown to stdout or specific file paths for automation pipelines.
  • Deep extraction of formulas and charts for scientific and technical document analysis.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins node
Github Stars: 0
forks: 0

Featured*