PDF To Markdown

Convert a PDF file to Markdown (with referenced images) in the current directory using docling. Use when the user wants to turn a PDF into markdown or extract a PDF's text/content. Takes the PDF path as the single argument. Use when this capability is needed.

tomevault-io Updated

File contents

/pdf-to-markdown

Convert the PDF at $pdf to Markdown in the current working directory using docling, by running the bundled script:

bash "$HOME/.claude/skills/pdf-to-markdown/convert.sh" "$pdf"

What to expect:

  • Output is written to the current directory: a <name>.md file plus a folder of referenced images (image export mode is referenced).
  • docling uses the locally cached models at ~/.cache/docling/models, so a local PDF needs no network access.
  • Conversion runs model inference and can take a while on large or scanned PDFs — let it finish.

After it completes:

  • Report the generated Markdown file path and the images directory (if created).
  • If docling errors, surface its output verbatim rather than guessing.

Source: insanum/dotfiles — distributed by TomeVault.

tomevault-io/skills-registry/tree/main/insanum--dotfiles--dotfiles commit dcfdabb93a

Frequently asked questions

npx skillmds@latest add tomevault-io/pdf-to-markdown