Skip to content
Back to skills

Doc Convert

ASecurity

Convert documents (PDF, DOCX, PPTX) into clean, properly structured Markdown — real heading hierarchy, GFM tables, lists — not a text dump. Use when asked to "make an md from this pdf", "convert this document to markdown", or restructure a document file.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
ai-agentspython

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add NAME0x0/CLAUDE_SETUP --skill doc-convert --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Doc Convert?

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

Security grade badge for Doc Convert
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/name0x0-doc-convert/badge)](https://www.skillsdirectory.com/skills/name0x0-doc-convert)

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: doc-convert
description: Convert documents (PDF, DOCX, PPTX) into clean, properly structured Markdown — real heading hierarchy, GFM tables, lists — not a text dump. Use when asked to "make an md from this pdf", "convert this document to markdown", or restructure a document file.
---

# Doc Convert

The output must read like it was authored in Markdown, not extracted into it.

## Procedure

1. **Read the source.** PDFs: Read tool with `pages` (20-page chunks). DOCX: `pandoc -f docx -t gfm` if available, else python-docx. PPTX: python-pptx, slide per section. Never `cat` a binary.
2. **Map structure before writing** — outline the document's heading hierarchy first (title → H1s → H2s). Preserve the source's hierarchy; don't invent one.
3. **Convert with fidelity rules:**
   - Tables → GFM tables (wide tables: keep columns, note truncation if unavoidable).
   - Numbered/bulleted lists → native Markdown lists, nesting preserved.
   - Figures/images → `![caption](placeholder)` with the caption text; note count of images not extracted.
   - Bold/emphasis in headings and key terms preserved; decorative formatting dropped.
4. **Verify nothing dropped** — compare section count and approximate word count against the source; spot-check the last section (truncation hides at the end). State the check result.
5. **Deliver** — write `<source-name>.md` next to the source unless told otherwise; SendUserFile it.

## Failure modes to avoid

- Wall-of-text dump with no headings (structure is the deliverable).
- Silently skipping tables or the final pages of long PDFs.
- Rewriting/summarizing content — this is conversion, not editing, unless asked.

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.