Skip to content
Back to skills

Pdf To Markdown

ASecurity

Convert a PDF document to readable Markdown text using the built-in Read tool, pdf-parse-cli, or pdftotext, preserving headings and tables and saving the result to the session workspace. Use when the user provides a PDF file path and wants to read, search, or work with its contents.

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 12, 2026
ai-agentsbash

Works with

  • cli

Security analysis

A100/100

Scanned November 12, 2026

npx -y skills add Erriccc/osborn --skill pdf-to-markdown --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pdf To Markdown?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pdf To Markdown
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/erriccc-pdf-to-markdown/badge)](https://www.skillsdirectory.com/skills/erriccc-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 a PDF document to readable Markdown text using the built-in Read tool, pdf-parse-cli, or pdftotext, preserving headings and tables and saving the result to the session workspace. Use when the user provides a PDF file path and wants to read, search, or work with its contents.
---

# Skill: PDF to Markdown

Convert PDF documents to readable Markdown text.

## When to use
When the user provides a PDF file path and wants to read, search, or work with its contents.

## How to execute

Option 1 — Using the built-in Read tool:
The Read tool can directly read PDF files. Use `pages` parameter for large PDFs (max 20 pages per request).

Option 2 — Full extraction via CLI (for better formatting or batch processing):
```bash
npx --yes pdf-parse-cli "<PDF_PATH>"
```

Option 3 — Using pdftotext (if available):
```bash
pdftotext -layout "<PDF_PATH>" -
```

## Output
Save the converted content to the session workspace as `library/{filename}.md` with:
- Document title and source path at the top
- Preserved heading structure where detectable
- Tables converted to Markdown tables where possible
- Page numbers as section markers

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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