Office work is where skills pay off most, and also where people install the wrong thing. This page answers by file type.
Pick in one table
| Format | Official (index only) | MIT local build (download) |
|---|---|---|
Word .docx | docx | docx (MIT) |
Excel .xlsx | xlsx | xlsx (MIT) |
PowerPoint .pptx | pptx | pptx (MIT) |
PDF .pdf | pdf (MIT) |
How to choose: read the official entry for the reference implementation; use the MIT build when you need to download, edit scripts or run offline.
Word: editing beats creating
| Task | Approach |
|---|---|
| New report | write a docx-js script; watch page size and dual table widths |
| Edit existing | unpack → edit word/document.xml → rezip |
| Accept/reject changes | use the redline flow and its author flag |
| Read content | pandoc -t markdown |
Trap: docx-js cannot open an existing file; rezipping can corrupt it, so back up first.
Excel: formulas must recalculate
| Requirement | Detail |
|---|---|
| Formulas, not values | =SUM(B2:B9), never a Python-computed number |
| Recalc before delivery | run recalc.py; errors block shipping |
| Respect existing conventions | input cells are usually colour-marked |
Trap: recalculation needs LibreOffice; without it you cannot validate.
PPT: templates and XML
| Task | Approach |
|---|---|
| Generate from HTML | the html2pptx flow |
| Apply a template | unpack and edit ppt/slides/slideN.xml |
| Read speaker notes | slide_text.py |
Trap: shapes outside the canvas do not error; they just disappear.
PDF: extract, fill, OCR
| Task | Approach |
|---|---|
| Text and tables | pypdf / pdfplumber |
| Forms | follow FORMS.md |
| Scans | OCR first |
Trap: merge/split examples overwrite the input — always write to a new path.
Three general rules
- Back up before editing an existing file;
- One format at a time — four at once will collide;
- Check before delivery: render the Word file, recalc Excel, page through PPT, open the PDF.
When you do not need a skill
| Task | Simpler route |
|---|---|
| Reading a paragraph | paste it into the model |
| Simple format conversion | built-in tools |
| A one-off small edit | manual is faster |
Related: office rankings · install guide · Best Claude skills