Skip to content
Back to skills

Zo Pdf To Markdown

ASecurity

Convert PDF files to Markdown format

  • 11 stars
  • 0 votes
  • 0 copies
  • 11 views
  • Added September 10, 2026
developmentpythongobash

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 2 files and shows the line behind each finding

Scanned September 10, 2026

npx -y skills add luokai0/ai-agent-skills-by-luo-kai --skill zo-pdf-to-markdown --agent claude-code

Installs 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 with every re-scan.

Security grade badge for Zo Pdf To Markdown
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/luokai0-zo-pdf-to-markdown/badge)](https://www.skillsdirectory.com/skills/luokai0-zo-pdf-to-markdown)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Files in this skill

  • DISPLAY.json74 B
  • SKILL.md1.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.