Pdf Converter
Skill by cscsxx606
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/cscsxx606/pdf-converterWhat This Skill Does
The PDF Converter skill, developed by cscsxx606, is a powerful utility designed for OpenClaw agents to perform seamless document format transformations. It serves as a bridge between static PDF files and dynamic formats like PPTX and DOCX. By leveraging advanced libraries such as pdf2image and pdf2docx, the tool extracts content while maintaining structural integrity. It includes intelligent features like automated file size management, allowing users to define a maximum output size (in MB), which is critical for email attachments and platform storage limits. Whether you are converting high-page-count reports for presentation or extracting text for document editing, this tool provides granular control over DPI and image quality to balance fidelity with file size.
Installation
To install this skill, use the following command: clawhub install openclaw/skills/skills/cscsxx606/pdf-converter. Before running the skill, ensure your system meets the dependencies by installing pdf2image, python-pptx, pdf2docx, and Pillow. Crucially, you must have poppler installed on your operating system (via brew install poppler on macOS or sudo apt-get install poppler-utils on Linux) to enable PDF rendering capabilities.
Use Cases
This skill is ideal for professionals needing to convert dense PDF reports into presentation-ready slide decks for meetings. It is equally useful for administrative tasks where PDF documents must be converted into editable Word files to update text or fix formatting. Batch processing capabilities make it perfect for handling large volumes of documents simultaneously, saving significant manual effort. It is also an essential tool for digital archiving where specific DPI and quality standards are required for image-heavy documents.
Example Prompts
- "Convert my annual report at /docs/report.pdf into a PPTX presentation and make sure it is under 30MB."
- "Extract the content from all PDF files in the /imports directory and save them as Word documents."
- "Convert project_brief.pdf to a PPTX file using a DPI of 200 for higher image quality."
Tips & Limitations
To optimize output, always adjust your DPI and quality settings based on your intended use; lower settings result in smaller, faster-loading files, while higher settings preserve detail. If you encounter errors, ensure your system has the correct poppler utility version installed. Note that the accuracy of conversion is heavily dependent on the quality of the original PDF layout. If text-based tables or complex layouts fail to render correctly in DOCX, verify the PDF's OCR status or internal structure. Always ensure the output directory has the necessary write permissions.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-cscsxx606-pdf-converter": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write, code-execution