Office document creation and editing skills for Claude Code - PPTX, DOCX, XLSX, and PDF workflows with automation support
npx skills add https://github.com/tfriedel/claude-office-skills --skill xlsxCLI를 사용하여 이 스킬을 설치하고 작업 공간에서 SKILL.md 워크플로 사용을 시작하세요.
Professional Office document creation and editing workflows for the command line, powered by Claude Code.
This repository packages the same Office document manipulation skills used by Claude desktop for use with Claude Code (the CLI version). You get the full power of Claude's document creation capabilities in your terminal, ready to integrate with scripts, CI/CD pipelines, or automated workflows.
update 2026-04-01:
This repo was published before Anthropic made these skills public themselves.
For anyone interested in this I suggest you rather have a look at the official repo as the skills there may be getting updates:
https://github.com/anthropics/skills/tree/main/skills
# Python dependencies
venv/bin/pip install -r requirements.txt
# Node.js dependencies (for html2pptx)
npm install
# System tools (usually pre-installed)
# - LibreOffice (soffice)
# - Poppler (pdftoppm)
# - Pandoc
Simply tell Claude Code what you want to create:
> Create a quarterly sales presentation with 5 slides
> Create a powerpoint presentation based on @input/slide_notes.txt
> Edit this Word document and add tracked changes
> Build an Excel financial model for budget projections
> Fill out this PDF form with data from this JSON
Claude Code will:
SKILL.md workflowoutputs/<document-name>/All scripts can also be run directly:
# Create PowerPoint thumbnail grid
venv/bin/python public/pptx/scripts/thumbnail.py template.pptx outputs/review/thumbnails
# Rearrange slides
venv/bin/python public/pptx/scripts/rearrange.py template.pptx outputs/deck/final.pptx 0,5,5,12,3
# Extract text inventory
venv/bin/python public/pptx/scripts/inventory.py deck.pptx outputs/deck/inventory.json
# Replace text from JSON
venv/bin/python public/pptx/scripts/replace.py input.pptx outputs/deck/replacements.json outputs/deck/output.pptx
public/
├── pptx/ # PowerPoint workflows
│ ├── SKILL.md # Main workflow documentation
│ ├── html2pptx.md # HTML-to-PPTX guide
│ ├── ooxml.md # OOXML editing guide
│ └── scripts/ # Python/JS utilities
├── docx/ # Word workflows
├── pdf/ # PDF workflows
└── xlsx/ # Excel workflows
outputs/ # Your generated documents (gitignored)
└── <project-name>/ # One directory per document
Each format has a SKILL.md file that defines the workflow. Claude Code:
SKILL.mdoutputs/<document-name>/# 1. Extract template text
venv/bin/python -m markitdown template.pptx
# 2. Generate thumbnails
venv/bin/python public/pptx/scripts/thumbnail.py template.pptx outputs/sales-deck/thumbnails
# 3. Rearrange slides
venv/bin/python public/pptx/scripts/rearrange.py template.pptx outputs/sales-deck/working.pptx 0,15,15,23,8
# 4. Extract text inventory
venv/bin/python public/pptx/scripts/inventory.py outputs/sales-deck/working.pptx outputs/sales-deck/inventory.json
# 5. Generate replacement JSON (with formatting)
# Creates outputs/sales-deck/replacements.json
# 6. Apply replacements
venv/bin/python public/pptx/scripts/replace.py outputs/sales-deck/working.pptx outputs/sales-deck/replacements.json outputs/sales-deck/final.pptx
Claude Code handles all these steps automatically when you ask it to create a presentation.
CLAUDE.md for repository conventionspublic/*/SKILL.md defines complete workflowsskills-system.md explains the skills-check patternAll generated files go to outputs/<document-name>/:
outputs/
├── quarterly-sales-report/
│ ├── final.pptx
│ ├── thumbnails_grid.png
│ ├── inventory.json
│ └── replacements.json
├── employee-handbook/
│ ├── handbook.docx
│ └── unpacked/
└── budget-2024/
└── budget.xlsx
This keeps your working directory clean and makes automation easier.
Most scripts and workflows in this repository come directly from Claude (Anthropic's AI assistant) and are included here verbatim. If Anthropic wishes for this repository to be taken down, please contact me and I will comply immediately.
This is a skills repository. To add capabilities:
public/<format>/scripts/SKILL.mdCLAUDE.md with new commands