Convert PDF files to Markdown format
Scanned 9/10/2026
Install to Claude Code
npx -y skills add luokai0/ai-agent-skills-by-luo-kai --skill zo-pdf-to-markdown --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Zo Pdf To Markdown?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/luokai0-zo-pdf-to-markdown)More formats (shields.io, HTML) on the badges page.
---
name: pdf-to-markdown
description: Convert PDF files to Markdown format
metadata:
author: Zo
category: Official
display-name: Convert PDF to Markdown
emoji: 📄
---
# Convert PDF to Markdown
## Purpose
Convert the user's PDF file to Markdown format, preserving structure and formatting.
## Input
- Path to the PDF file you want to convert
## Steps
1. Install pymupdf4llm if not already installed:
```bash
pip install pymupdf4llm
```
2. Convert the user's PDF to Markdown with proper formatting:
```python
import pymupdf4llm
# Convert with better formatting and structure preservation
markdown_text = pymupdf4llm.to_markdown(
"<user's_pdf_path>",
page_chunks=True, # Separate pages with breaks
write_images=True # Extract and include images
)
# Save to a markdown file with the same name
output_filename = "<user's_pdf_path>".replace('.pdf', '.md')
with open(output_filename, "w", encoding="utf-8") as f:
f.write(markdown_text)
```
3. Tell the user where the converted markdown file was saved.
## Note
If the PDF appears to be scanned (images of text), inform the user that OCR tools would work better for that use case.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.
SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.
Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation
Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...
PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.