← Catalog

No. 028 · documentation

PDF Handling

Extract text, create PDFs, and handle forms

Version 1.0.0 License MIT Format SKILL.md

Process PDF documents: extract text and tables, create PDFs from HTML or markdown, fill PDF forms, merge/split documents, and add watermarks or stamps.

When to use this skill

  • Extracting text from a PDF
  • Creating a PDF from HTML
  • Filling a PDF form programmatically

Core concepts

This skill provides guidance on pdf handling best practices, patterns, and common pitfalls. It is designed to be loaded on demand when a relevant task is detected.

Installation

curl -LO https://opencode-skills.example/downloads/documentation/pdf-handling.zip
unzip pdf-handling.zip -d ~/.config/opencode/skills/

Restart OpenCode — the skill loads automatically.

When it triggers

  • extracting text from a PDF
  • creating a PDF from HTML
  • filling a PDF form programmatically