Install
openclaw skills install @paodingai/pdflux-pdf2markdownConvert 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 @paodingai/pdflux-pdf2markdownRun a JavaScript workflow that submits a single local file to the pdflux synchronous API through PDRouter (POST /openapi/{serviceCode}/file/markdown) and prints the response result in one step. This skill only targets the latest OpenAPI flow and does not support deprecated legacy routes.
npx skills add PaodingAI/skills
node skills/pdflux-pdf2markdown/scripts/upload_to_markdown.js <local-file-path> [output-markdown-path]
scripts/upload_to_markdown.js directly. Do not reimplement the API flow yourself.PAODINGAI_API_KEY: Required. The Bearer API key for PDRouter OpenAPI. 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.PAODINGAI_API_BASE_URL: Optional. Defaults to https://platform.paodingai.com/.PD_ROUTER_SERVICE_CODE: Optional. Defaults to pdflux.PDFLUX_INCLUDE_IMAGES: Optional. Boolean. Markdown output does not include image data by default.PDFLUX_INCLUDE_IMAGES=true.PAODINGAI_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}/file/markdown using Authorization: Bearer <token>.output-markdown-path is provided, the script also writes the same output text to that file while still printing it to stdout.