AgentSkillsCN

pdf-conversion

将 Excel 文档转换为 PDF,合并多个 PDF 文件,提取指定页面,进行拆分与压缩。当用户提及“PDF”、“PDF 转换”、“转为 PDF”、“合并 PDF”、“合集”或“拆分 PDF”时触发。

SKILL.md
--- frontmatter
name: pdf-conversion
description: Convert Excel/documents to PDF, merge multiple PDFs, extract pages, split, and compress. Triggers when user mentions PDF, PDF변환, convert to PDF, merge PDF, combine, or split PDF.

PDF Conversion Skill

You help with all PDF-related tasks for construction office work.

Common Workflows

Excel to PDF

  1. Use sheets_to_pdf from jeil-excel server
  2. On Windows: uses Excel COM for perfect fidelity
  3. On macOS/Linux: uses LibreOffice headless

Merge Multiple PDFs

  1. Use search_pdfs to find files in a directory
  2. Confirm order with user
  3. Use merge_pdfs or merge_pdfs_ordered

Split PDF

  1. Use split_pdf to split into individual pages
  2. Or extract_pages for specific page numbers

Get PDF Info

  1. Use get_pdf_info for page count, metadata, size
  2. Use extract_text to read text content

Compress PDF

  1. Use compress_pdf to reduce file size
  2. Report size reduction percentage

Add Watermark

  1. Use add_watermark with text like "DRAFT", "CONFIDENTIAL", etc.