skill-pdf-to-pptx-tool▌
dnvriend/pdf-to-pptx-tool · updated Apr 8, 2026
MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.
This skill provides comprehensive guidance for using pdf-to-pptx-tool, a professional CLI tool that converts PDF documents into PowerPoint presentations. Each PDF page becomes a high-quality slide with customizable resolution.
When to use
- Converting PDF documents to editable PowerPoint presentations
- Creating slide decks from PDF reports or documents
- Need high-quality PDF to PPTX conversion with custom DPI
- Want multi-level verbosity logging for debugging conversions
PDF to PowerPoint Converter Skill
Purpose
This skill provides comprehensive guidance for using pdf-to-pptx-tool, a professional CLI tool that converts PDF documents into PowerPoint presentations. Each PDF page becomes a high-quality slide with customizable resolution.
When to Use This Skill
Use this skill when:
- You need to convert PDF documents to PowerPoint format
- You want to customize conversion quality (DPI settings)
- You need to debug conversion issues with verbose logging
- You're working with multi-page PDF documents
- You need programmatic PDF to PPTX conversion in workflows
Do NOT use this skill for:
- Editing existing PowerPoint files (use PowerPoint directly)
- Converting other formats (images, Word docs) to PPTX
- Extracting text from PDFs (use PDF text extraction tools)
- Creating PowerPoint from scratch (use PowerPoint or python-pptx)
CLI Tool: pdf-to-pptx-tool
A modern Python CLI tool built with Click, featuring multi-level verbosity logging, shell completion, and type-safe code.
Installation
# Clone the repository
git clone https://github.com/dnvriend/pdf-to-pptx-tool.git
cd pdf-to-pptx-tool
# Install globally with uv
uv tool install .
Prerequisites
- Python 3.14+
popplersystem library (for PDF rendering)- macOS:
brew install poppler - Ubuntu/Debian:
apt-get install poppler-utils - Windows: Download from poppler releases
- macOS:
Quick Start
# Basic conversion
pdf-to-pptx-tool convert document.pdf slides.pptx
# High quality (300 DPI)
pdf-to-pptx-tool convert report.pdf presentation.pptx --dpi 300
# With verbose logging
pdf-to-pptx-tool -v convert input.pdf output.pptx
Progressive Disclosure
convert - Convert PDF to PowerPoint
Converts a PDF document to PowerPoint format, creating one slide per PDF page with customizable quality settings.
Usage:
pdf-to-pptx-tool convert INPUT_PDF OUTPUT_PPTX [OPTIONS]
Arguments:
INPUT_PDF: Path to input PDF file (required)- Must exist and be a valid PDF file
- Supports any PDF version
- No size limit (memory permitting)
OUTPUT_PPTX: Path to output PowerPoint file (required)- Will be created or overwritten
- Extension should be
.pptx - Parent directory must exist
--dpi INTEGER: Resolution for page conversion (optional)- Default: 200 DPI (good quality, reasonable size)
- Range: 72-600 DPI
- Higher DPI = better quality but larger files
- Recommended: 200-300 for presentations
-v, --verbose: Multi-level verbosity- No flag: Warnings/errors only
-v: INFO level (operations and progress)-vv: DEBUG level (detailed steps)-vvv: TRACE level (library internals)
Examples:
# Example 1: Basic conversion (default 200 DPI)
pdf-to-pptx-tool convert quarterly-report.pdf q4-presentation.pptx
# Example 2: High quality for detailed diagrams
pdf-to-pptx-tool convert technical-diagram.pdf slides.pptx --dpi 300
# Example 3: Lower quality for quick preview
pdf-to-pptx-tool convert draft.pdf preview.pptx --dpi 150
# Example 4: With INFO logging to see progress
pdf-to-pptx-tool -v convert large-doc.pdf output.pptx
# Example 5: With DEBUG logging for troubleshooting
pdf-to-pptx-tool -vv convert problematic.pdf fixed.pptx
# Example 6: Batch conversion with shell loop
for pdf in *.pdf; do
pdf-to-pptx-tool convert "$pdf" "${pdf%.pdf}.pptx"
done
Output:
- Creates PowerPoint file at specified path
- Slide properties:
- Aspect ratio: 16:9 (widescreen)
- Dimensions: 10" × 5.625"
- Layout: One full-slide image per PDF page
- Background: Transparent
- Console output:
- Success: "✓ Successfully converted input.pdf to output.pptx"
- Error: "✗ Error: [detailed error message]"
- Exit codes:
- 0: Success
- 1: Error (file not found, invalid input, conversion failed)
completion - Generate shell completion scripts
Generates shell completion scripts for bash, zsh, or fish shells.
Usage:
pdf-to-pptx-tool completion SHELL
Arguments:
SHELL: Shell type (required)- Options:
bash,zsh,fish - Case-insensitive
- Options:
Examples:
# Generate bash completion
eval "$(pdf-to-pptx-tool completion bash)"
# Generate zsh completion
eval "$(pdf-to-pptx-tool completion zsh)"
# Generate fish completion
pdf-to-pptx-tool completion fish | source
# Save to file for permanent installation
pdf-to-pptx-tool completion bash > ~/.pdf-to-pptx-tool-completion.bash
echo 'source ~/.pdf-to-pptx-tool-completion.bash' >> ~/.bashrc
Output: Shell-specific completion script printed to stdout.
Multi-Level Verbosity Logging
The tool supports progressive verbosity levels for debugging and monitoring conversions.
Logging Levels:
| Flag | Level | Output | Use Case |
|---|---|---|---|
| (none) | WARNING | Errors/warnings only | Production, quiet mode |
-v |
INFO | + Operations, progress | Normal debugging |
-vv |
DEBUG | + Detailed steps, file sizes | Development, troubleshooting |
-vvv |
TRACE | + Library internals (pdf2image, PIL, pptx) | Deep debugging |
Examples:
# Quiet mode - only see errors
pdf-to-pptx-tool convert input.pdf output.pptx
# INFO - see conversion progress
pdf-to-pptx-tool -v convert input.pdf output.pptx
# Output:
# [INFO] Starting PDF to PPTX conversion
# [INFO] Converting input.pdf to output.pptx (DPI: 200)
# [INFO] Converting PDF pages to images...
# [INFO] Converted 5 pages
# [INFO] Creating PowerPoint presentation...
# [INFO] Saving presentation to output.pptx
# DEBUG - see detailed processing
pdf-to-pptx-tool -vv convert input.pdf output.pptx
# Additional output:
# [DEBUG] Input: input.pdf, Output: output.pptx, DPI: 200
# [DEBUG] Validating input file: input.pdf
# [DEBUG] Input file size: 2.45 MB
# [DEBUG] Using DPI setting: 200
# [DEBUG] Processing slide 1/5
# [DEBUG] Output file size: 8.23 MB
# TRACE - see library internals
pdf-to-pptx-tool -vvv convert input.pdf output.pptx
# Shows pdf2image, PIL, and pptx library debug messages
DPI Quality Guidelines
Choose DPI based on your use case:
| DPI | Quality | File Size | Best For |
|---|---|---|---|
| 72 | Low | Smallest | Quick previews, draft slides |
| 150 | Medium | Small | Web presentations, email |
| 200 | Good | Medium | Default - recommended for most |
| 300 | High | Large | Print quality, detailed diagrams |
| 600 | Very High | Very Large | Professional print, posters |
Trade-offs:
- Higher DPI: Better quality, larger file size, slower conversion
- Lower DPI: Faster conversion, smaller files, lower quality
- Sweet spot: 200-300 DPI for most presentations
Batch Processing
Process multiple PDFs efficiently:
# Convert all PDFs in directory
for pdf in *.pdf; do
echo "Converting $pdf..."
pdf-to-pptx-tool convert "$pdf" "${pdf%.pdf}.pptx"
done
# With custom DPI
for pdf in *.pdf; do
pdf-to-pptx-tool convert "$pdf" "${pdf%.pdf}.pptx" --dpi 300
done
# With error handling
for pdf in *.pdf; do
if pdf-to-pptx-tool -v convert "$pdf" "${pdf%.pdf}.pptx"; then
echo "✓ Converted $pdf"
else
echo "✗ Failed to convert $pdf"
fi
done
Shell Completion
Enable tab completion for faster usage:
# Bash - add to ~/.bashrc
eval "$(pdf-to-pptx-tool completion bash)"
# Zsh - add to ~/.zshrc
eval "$(pdf-to-pptx-tool completion zsh)"
# Fish - save to completions directory
mkdir -p ~/.config/fish/completions
pdf-to-pptx-tool completion fish > ~/.config/fish/completions/pdf-to-pptx-tool.fish
Benefits:
- Tab-complete commands:
pdf-to-pptx-tool <TAB> - Tab-complete options:
pdf-to-pptx-tool convert --<TAB> - Tab-complete file paths automatically
Common Issues
Issue: "poppler not found" or PDF conversion fails
# Symptom
RuntimeError: Failed to convert PDF pages: poppler not found
Solution: Install poppler system library:
# macOS
brew install poppler
# Ubuntu/Debian
sudo apt-get install poppler-utils
# Fedora
sudo dnf install poppler-utils
# Verify installation
pdftoppm -v
Issue: "File not found" error
# Symptom
✗ Error: Input PDF file not found: document.pdf
Solution:
- Verify file path is correct
- Use absolute paths if needed
- Check file permissions
# Check file exists
ls -l document.pdf
# Use absolute path
pdf-to-pptx-tool convert /full/path/to/document.pdf output.pptx
Issue: Output file is too large
# Symptom
Generated 50MB PPTX from 2MB PDF
Solution: Reduce DPI setting:
# Try lower DPI
pdf-to-pptx-tool convert input.pdf output.pptx --dpi 150
# Or use default 200 DPI
pdf-to-pptx-tool convert input.pdf output.pptx
Issue: Images look blurry in PowerPoint
# Symptom
Text and diagrams appear pixelated
Solution: Increase DPI setting:
# Use higher quality
pdf-to-pptx-tool convert input.pdf output.pptx --dpi 300
# For print quality
pdf-to-pptx-tool convert input.pdf output.pptx --dpi 600
Issue: Conversion is very slow
# Symptom
Large PDF takes minutes to convert
Solution:
- Use DEBUG logging to see progress:
pdf-to-pptx-tool -vv conHow to use skill-pdf-to-pptx-tool on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your development machine
- ›Node.js version 16.0+ with npm package manager (verify with
node --version) - ›Active project directory or workspace where you want to add skill-pdf-to-pptx-tool
Execute installation command
Execute the skills CLI command in your project's root directory to begin installation:
The skills CLI fetches skill-pdf-to-pptx-tool from GitHub repository dnvriend/pdf-to-pptx-tool and configures it for Cursor.
Select Cursor when prompted
The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Reload or restart Cursor to activate skill-pdf-to-pptx-tool. Access the skill through slash commands (e.g., /skill-pdf-to-pptx-tool) or your agent's skill management interface.
Security & Verification Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.
List & Monetize Your Skill
Submit your Claude Code skill and start earning
Use Cases▌
Task Automation & Efficiency
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Knowledge Enhancement
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Quality Improvement
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
Implementation Guide▌
Prerequisites
- ›Claude Desktop or compatible AI client with skill support
- ›Clear understanding of task or problem to solve
- ›Willingness to iterate and refine outputs
Time Estimate
15-45 minutes depending on use case complexity
Installation Steps
- 1.Install skill using provided installation command
- 2.Test with simple use case relevant to your work
- 3.Evaluate output quality and relevance
- 4.Iterate on prompts to improve results
- 5.Integrate into regular workflow if valuable
Common Pitfalls
- ⚠Expecting perfect results without iteration
- ⚠Not providing enough context in prompts
- ⚠Using skill for tasks outside its intended scope
- ⚠Accepting outputs without review and validation
Best Practices▌
✓ Do
- +Start with clear, specific prompts
- +Provide relevant context and constraints
- +Review and refine all outputs before using
- +Iterate to improve output quality
- +Document successful prompt patterns
✗ Don't
- −Don't use without understanding skill limitations
- −Don't skip validation of outputs
- −Don't share sensitive information in prompts
- −Don't expect skill to replace human judgment
💡 Pro Tips
- ★Be specific about desired format and style
- ★Ask for multiple options to choose from
- ★Request explanations to understand reasoning
- ★Combine AI efficiency with human expertise
When to Use This▌
✓ Use When
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid When
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
Learning Path▌
- 1Familiarize yourself with skill capabilities and limitations
- 2Start with low-risk, non-critical tasks
- 3Progress to more complex and valuable use cases
- 4Build expertise through regular use and experimentation
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.4★★★★★25 reviews- ★★★★★Dhruvi Jain· Dec 28, 2024
Solid pick for teams standardizing on skills: skill-pdf-to-pptx-tool is focused, and the summary matches what you get after install.
- ★★★★★Camila Liu· Dec 20, 2024
skill-pdf-to-pptx-tool has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Oshnikdeep· Nov 19, 2024
We added skill-pdf-to-pptx-tool from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★James Harris· Nov 11, 2024
skill-pdf-to-pptx-tool fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Nikhil Robinson· Oct 26, 2024
Useful defaults in skill-pdf-to-pptx-tool — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Ganesh Mohane· Oct 10, 2024
skill-pdf-to-pptx-tool fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Hassan Iyer· Oct 2, 2024
We added skill-pdf-to-pptx-tool from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Luis Yang· Sep 21, 2024
skill-pdf-to-pptx-tool reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Nikhil Perez· Sep 17, 2024
skill-pdf-to-pptx-tool has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Aditi Perez· Aug 12, 2024
Registry listing for skill-pdf-to-pptx-tool matched our evaluation — installs cleanly and behaves as described in the markdown.
showing 1-10 of 25