pdf-generator

star 0

Read and generate PDF files. Use this skill when you need to extract text from PDFs or create new PDF documents from text or markdown content.

zhaoxuanZzz By zhaoxuanZzz schedule Updated 2/4/2026

name: pdf-generator description: Read and generate PDF files. Use this skill when you need to extract text from PDFs or create new PDF documents from text or markdown content.

PDF Generator & Reader

This skill provides tools to read text from PDF files and generate new PDFs from text content.

Dependencies

  • python3
  • reportlab
  • pdfplumber

Usage

Reading PDFs

To extract text from a PDF file:

python3 scripts/read_pdf.py <path_to_pdf>

Generating PDFs

To generate a PDF from a text file:

python3 scripts/generate_pdf.py <input_text_file> <output_pdf_file>

Scripts

  • scripts/read_pdf.py: Extracts text from a PDF file.
  • scripts/generate_pdf.py: Converts a text file to a PDF file.
Install via CLI
npx skills add https://github.com/zhaoxuanZzz/skills --skill pdf-generator
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator