About Office Documents
Asking a model for “a Word document” or “a spreadsheet” usually gets you text that looks like one. The skills in this category close that gap: each one teaches Claude a concrete toolchain for a file format, ships the scripts that do the fiddly parts, and has Claude check the file before handing it over.
What is here
- docx builds new Word documents with docx-js and edits existing ones directly at the XML level, which is what makes tracked changes (redlining) and comments possible. It renders and validates the result before it is done.
- pptx builds themed decks with pptxgenjs, edits existing templates at the XML level, pulls slide text out of a deck and renders thumbnails so the slides can be checked visually.
- xlsx creates and edits workbooks with openpyxl and pandas, keeps formulas live instead of pasting values, and recalculates them in LibreOffice until no formula errors remain.
- pdf covers the everyday PDF jobs: extracting text and tables, merging, splitting, rotating, watermarking, encrypting, OCR on scans, creating new PDFs and filling forms, with bundled scripts for both fillable fields and annotation-based filling.
The three Office skills share a common set of helpers for LibreOffice conversion and file validation, and all four come from Anthropic’s public skills repository as the document-skills plugin.
How to choose
Pick by the format you have to deliver, then by the job. Creating a file from scratch and editing one someone else made are different paths in the docx and pptx skills: if a template, a house style or tracked changes matter, you want the XML-editing path rather than a regenerated file. For spreadsheets, the deciding question is whether the numbers must stay live; the xlsx skill is built around formulas that still work when someone changes an input.
These are script-led skills. They run commands and write files on the machine, so they need an environment with Python, Node and LibreOffice available, and they are a better fit for Claude Code or a sandboxed environment than for a plain chat. Their security notes on each record list exactly what they reach.