JPeetz/agent-skills / skills/documentation-content/document-processing
document-processing
VerifiedUse this skill when processing documents programmatically — PDF manipulation (extract, merge, split, rotate, watermark, form-fill, OCR), DOCX creation and editing (templates, mail-merge, style management), XLSX spreadsheet handling (formulas, charts, pivot tables, data analysis), PPTX presentation generation (layouts, charts, media, speaker notes), and cross-format document conversion via pandoc and native libraries. Designed for agentic platforms — Claude Code, Codex, Cursor, Gemini CLI, OpenClaw, GitHub Copilot, Windsurf, and OpenCode.
| File | Kind | Size |
|---|---|---|
| CHANGELOG.md | markdown | 2.9 KB |
| LICENSE | other | 1.0 KB |
| SKILL.md | skill md | 28.2 KB |
| evals/evals.json | config | 5.1 KB |
| references/conversion-matrix.md | markdown | 13.5 KB |
| references/office-formats-guide.md | markdown | 34.0 KB |
| references/pdf-processing-guide.md | markdown | 23.4 KB |
| scripts/doc_tools_check.pyexecutable | script | 14.4 KB |
CHANGELOG.md
View on GitHub# Changelog — Document Processing Agent Skill
All notable changes to this skill package will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
---
## v1.1.0 — 2026-06-09 (Run 003)
### Added
- SEO-optimized description with primary keyword clusters for AI engine discovery
- QUICK REFERENCE table at top of SKILL.md — task → library/tool → key command
- COMMON PITFALLS & ANTI-PATTERNS section (10 anti-patterns with fixes)
- Decision matrix table: which library for each operation across PDF/DOCX/XLSX/PPTX
- GEO metadata block for structured AI engine summarization
- Windsurf and OpenCode platform compatibility notes
### Changed
- Expanded platforms list to all 8: claude-code, codex, cursor, gemini-cli, openclaw, copilot, windsurf, opencode
- Version bumped to 1.1.0
- Clarified non-trigger boundaries with additional negative examples
- SKILL.md line count: 758 → 872 (+114 lines)
---
## v1.0.0 — 2026-05-28
### Added
- Initial release by Skill Foundry
- **PDF Processing:** text extraction (pypdf + pdfplumber), merge, split,
rotate, watermark, form filling, OCR (pytesseract), annotations, image
extraction, metadata manipulation, encryption handling
- **DOCX Processing:** template-based generation with placeholder
replacement, build-from-scratch with python-docx, mail merge, style
management, headers/footers, DOCX→PDF conversion
- **XLSX Processing:** spreadsheet creation with formatting, formulas,
charts (bar, line, pie, combo), pivot tables, conditional formatting,
data validation, multi-sheet workbooks, XLSX↔CSV↔JSON conversion
- **PPTX Processing:** slide generation from markdown, template-driven
decks, chart embedding, tables, shapes, speaker notes, image slides
- **Format Conversion:** full cross-reference matrix for PDF, DOCX, XLSX,
PPTX, Markdown, HTML, TXT, CSV, JSON conversions via pandoc and native
libraries
- **Pre-flight validation:** PEP 723 `doc_tools_check.py` script checking
availability of all required tools with platform-specific install
instructions
- **Safety rules:** never overwrite source files, always validate output,
warn on destructive operations, handle missing dependencies gracefully
- **Platform support:** Claude Code, Codex, Cursor, Gemini CLI, OpenClaw,
GitHub Copilot with platform-specific compatibility notes
- **8 eval cases:** 5 positive (PDF extraction, DOCX report, XLSX with
charts, PPTX from markdown, PDF form filling) + 3 near-miss negatives
(read-only PDF viewing, general text editing, image editing)
- **Reference guides:**
- `pdf-processing-guide.md` — 14-section deep dive on all PDF operations
- `office-formats-guide.md` — DOCX, XLSX, PPTX patterns, templates, and
cross-format style management
- `conversion-matrix.md` — complete format conversion pair matrix with
quality ratings and tool recommendations
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |