pdf-toolkit

Installation
SKILL.md

PDF Toolkit

Use this skill for PDFs that already exist. For CAJ-to-PDF conversion, use the separate caj-pdf skill first.

Route requests

  • Compress or reduce file size: scripts/pdf_compress.sh
  • Convert pages to PNG/JPG previews or long-image inputs: scripts/pdf_render.sh
  • Extract text or make a .txt: scripts/pdf_text.sh
  • Extract embedded images: scripts/pdf_images.sh
  • OCR a scanned PDF: scripts/pdf_ocr.sh
  • Merge, split, extract, or delete pages: scripts/pdf_pages.sh

General rules

  1. Confirm input files exist before running scripts.
  2. Prefer default outputs beside the input file unless the user gives an output path.
  3. Do not overwrite existing outputs unless the user explicitly asks; scripts create timestamped outputs by default.
  4. Validate resulting PDFs with pdfinfo when available.
  5. Report the final output path and the key validation result: page count, file size, or generated file count.
Installs
1
First Seen
2 days ago