Install
openclaw skills install pdflux-testConvert unstructured documents into LLM-ready structured data. Supports PDF, Word, PPT, and images; extracts paragraphs, formulas, tables, charts, and other elements in one step; generates up to 8 levels of headings; and outputs Markdown organized in reading order. Useful for field extraction, comparison and validation, knowledge retrieval, and intelligent Q&A.
openclaw skills install pdflux-testRun a JavaScript workflow that uploads a single local file to the pdflux service through PDRouter, polls the parsing status, and then downloads the resulting Markdown. This is suitable for document parsing, table extraction, content verification, and handing document content off to follow-up scripts.
npx skills add PaodingAI/skills
node skills/pdflux-saas-markdown/scripts/upload_to_markdown.js <local-file-path> [output-markdown-path]
scripts/upload_to_markdown.js directly. Do not reimplement the upload, polling, and Markdown download flow yourself.PD_ROUTER_API_KEY: Required. The Bearer API key for PDRouter. If it is missing, the script fails immediately. In a skill workflow, the AI should ask the user to provide a valid key, or inject it into the environment before retrying. The API key can be obtained from the PDRouter platform: https://platform.paodingai.com/PDFLUX_INCLUDE_IMAGES: Optional. Boolean. Markdown output does not include image data by default.https://platform.paodingai.com.PD_ROUTER_API_KEY only to authenticate requests to the official PDRouter service.PDFLUX_INCLUDE_IMAGES=true.PD_ROUTER_API_KEY. If it is missing, fail immediately and prompt the AI to ask the user for a key or inject the environment variable first.POST /openapi/{serviceCode}/upload using Authorization: Bearer <token>.GET /openapi/{serviceCode}/document/{uuid} until parsed === 2.GET /openapi/{serviceCode}/document/{uuid}/markdown.output-markdown-path is provided, the script also writes the Markdown to that file while still printing it to stdout.