Skip to content
Back to search

claude-office-skills

SkillWorks with Claude CodeGitHub

Office document creation and editing skills for Claude Code - PPTX, DOCX, XLSX, and PDF workflows with automation support

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/tfriedel-claude-office-skills/badge.svg)](/listings/tfriedel-claude-office-skills)

HTML

<a href="/listings/tfriedel-claude-office-skills"><img src="/api/listings/tfriedel-claude-office-skills/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

Prerequisites

# 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

Using with Claude Code

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:

1. Check if a skill exists for your task 2. Read the appropriate `SKILL.md` workflow 3. Execute the workflow step-by-step 4. Save all outputs to `outputs/<document-name>/`

Manual Usage

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

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 218 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # Office Document Skills for Claude Code
  2. Professional Office document creation and editing workflows for the command line, powered by Claude Code.
  3. ## What is this?
  4. This repository packages the same Office document manipulation skills used by [Claude desktop](https://support.claude.com/en/articles/12111783-create-and-edit-files-with-claude) for use with [Claude Code](https://docs.claude.com/en/docs/claude-code/overview) (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.
  5. **update 2026-04-01**:
  6. This repo was published before Anthropic made these skills public themselves.
  7. For anyone interested in this I suggest you rather have a look at the official repo as the skills there may be getting updates:
  8. https://github.com/anthropics/skills/tree/main/skills
  9. ## Supported Formats
  10. - **PowerPoint (PPTX)** - Create presentations from scratch or templates, with HTML-to-PPTX conversion
  11. - **Word (DOCX)** - Edit documents with tracked changes, OOXML manipulation, redlining workflows
  12. - **Excel (XLSX)** - Build financial models with formulas, formatting, and zero-error validation
  13. - **PDF** - Fill forms, merge documents, extract data, convert to images
  14. ## Key Capabilities
  15. ### PowerPoint
  16. - **HTML-to-PPTX conversion** - Design slides in HTML/CSS, render to PPTX with full formatting
  17. - **Template-based creation** - Rearrange slides, replace text with JSON, preserve formatting
  18. - **Visual validation** - Generate thumbnail grids to catch text cutoff and layout issues
  19. - **OOXML editing** - Direct XML manipulation for precise control
  20. ### Word
  21. - **Tracked changes (redlining)** - Professional document editing with change tracking
  22. - **OOXML manipulation** - Add comments, modify structure, preserve formatting
  23. - **Text extraction** - Export content with tracked changes preserved
  24. ### Excel
  25. - **Formula-based models** - Working formulas with zero-error requirement
  26. - **Professional formatting** - Color-coded inputs/formulas, custom number formats
  27. - **Data validation** - Years as text, zeros formatted as "-", proper cell styling
  28. ### PDF
  29. - **Form filling** - Populate fillable PDFs programmatically
  30. - **Document merging** - Combine multiple PDFs
  31. - **Format conversion** - PPTX to PDF, PDF to images
  32. - **Data extraction** - Pull information from PDF forms and documents
  33. ## Getting Started
  34. ### Prerequisites
  35. ```bash
  36. # Python dependencies
  37. venv/bin/pip install -r requirements.txt
  38. # Node.js dependencies (for html2pptx)
  39. npm install
  40. # System tools (usually pre-installed)
  41. # - LibreOffice (soffice)
  42. # - Poppler (pdftoppm)
  43. # - Pandoc
  44. ```
  45. ### Using with Claude Code
  46. Simply tell Claude Code what you want to create:
  47. ```
  48. > Create a quarterly sales presentation with 5 slides
  49. > Create a powerpoint presentation based on @input/slide_notes.txt
  50. > Edit this Word document and add tracked changes
  51. > Build an Excel financial model for budget projections
  52. > Fill out this PDF form with data from this JSON
  53. ```
  54. Claude Code will:
  55. 1. Check if a skill exists for your task
  56. 2. Read the appropriate `SKILL.md` workflow
  57. 3. Execute the workflow step-by-step
  58. 4. Save all outputs to `outputs/<document-name>/`
  59. ### Manual Usage
  60. All scripts can also be run directly:
  61. ```bash
  62. # Create PowerPoint thumbnail grid
  63. venv/bin/python public/pptx/scripts/thumbnail.py template.pptx outputs/review/thumbnails
  64. # Rearrange slides
  65. venv/bin/python public/pptx/scripts/rearrange.py template.pptx outputs/deck/final.pptx 0,5,5,12,3
  66. # Extract text inventory
  67. venv/bin/python public/pptx/scripts/inventory.py deck.pptx outputs/deck/inventory.json
  68. # Replace text from JSON
  69. venv/bin/python public/pptx/scripts/replace.py input.pptx outputs/deck/replacements.json outputs/deck/output.pptx
  70. ```
  71. ## Repository Structure
  72. ```
  73. public/
  74. ├── pptx/ # PowerPoint workflows
  75. │ ├── SKILL.md # Main workflow documentation
  76. │ ├── html2pptx.md # HTML-to-PPTX guide
  77. │ ├── ooxml.md # OOXML editing guide
  78. │ └── scripts/ # Python/JS utilities
  79. ├── docx/ # Word workflows
  80. ├── pdf/ # PDF workflows
  81. └── xlsx/ # Excel workflows
  82. outputs/ # Your generated documents (gitignored)
  83. └── <project-name>/ # One directory per document
  84. ```
  85. ## How It Works
  86. Each format has a `SKILL.md` file that defines the workflow. Claude Code:
  87. 1. **Checks for skills** - Before writing custom code, checks if a skill exists
  88. 2. **Reads the skill** - Loads the complete workflow from `SKILL.md`
  89. 3. **Follows the workflow** - Executes each step precisely
  90. 4. **Validates outputs** - Runs validation scripts (OOXML formats)
  91. 5. **Organizes files** - All outputs go to `outputs/<document-name>/`
  92. ### Example: Creating a Presentation from Template
  93. ```bash
  94. # 1. Extract template text
  95. venv/bin/python -m markitdown template.pptx
  96. # 2. Generate thumbnails
  97. venv/bin/python public/pptx/scripts/thumbnail.py template.pptx outputs/sales-deck/thumbnails
  98. # 3. Rearrange slides
  99. venv/bin/python public/pptx/scripts/rearrange.py template.pptx outputs/sales-deck/working.pptx 0,15,15,23,8
  100. # 4. Extract text inventory
  101. venv/bin/python public/pptx/scripts/inventory.py outputs/sales-deck/working.pptx outputs/sales-deck/inventory.json
  102. # 5. Generate replacement JSON (with formatting)
  103. # Creates outputs/sales-deck/replacements.json
  104. # 6. Apply replacements
  105. venv/bin/python public/pptx/scripts/replace.py outputs/sales-deck/working.pptx outputs/sales-deck/replacements.json outputs/sales-deck/final.pptx
  106. ```
  107. Claude Code handles all these steps automatically when you ask it to create a presentation.
  108. ## Why Use This?
  109. ### Desktop/Web Claude is Great For
  110. - Interactive document creation
  111. - Visual feedback during creation
  112. ### Claude Code is Great For
  113. - **Automation** - Generate monthly reports, process batches of documents
  114. - **Custom workflows** - Combine with other tools (databases, APIs, scripts)
  115. - **Server environments** - Run headless without desktop GUI
  116. - **Template iteration** - Rapidly test changes to document templates
  117. ## Use Cases
  118. - **Automated reporting** - Generate weekly/monthly presentations from database data
  119. - **Batch processing** - Convert 100 HTML pages to PPTX slides
  120. - Create sales decks based on product data you pulled from a RAG system
  121. - **Document pipelines** - Pull data → populate Excel → generate PDF → email
  122. - **API integration** - Webhook triggers document generation
  123. - learn how to build similar agents for other tasks
  124. ## Documentation
  125. - **Getting started**: See `CLAUDE.md` for repository conventions
  126. - **Workflows**: Each `public/*/SKILL.md` defines complete workflows
  127. - **Skills system**: `skills-system.md` explains the skills-check pattern
  128. - **Claude Code docs**: [docs.claude.com/claude-code](https://docs.claude.com/en/docs/claude-code/overview)
  129. - **Desktop version**: [Create and edit files with Claude](https://support.claude.com/en/articles/12111783-create-and-edit-files-with-claude)
  130. ## Output Directory Convention
  131. All generated files go to `outputs/<document-name>/`:
  132. ```
  133. outputs/
  134. ├── quarterly-sales-report/
  135. │ ├── final.pptx
  136. │ ├── thumbnails_grid.png
  137. │ ├── inventory.json
  138. │ └── replacements.json
  139. ├── employee-handbook/
  140. │ ├── handbook.docx
  141. │ └── unpacked/
  142. └── budget-2024/
  143. └── budget.xlsx
  144. ```
  145. This keeps your working directory clean and makes automation easier.
  146. ## Attribution
  147. 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.
  148. ## Contributing
  149. This is a skills repository. To add capabilities:
  150. 1. Add scripts to `public/<format>/scripts/`
  151. 2. Document in the appropriate `SKILL.md`
  152. 3. Update `CLAUDE.md` with new commands
  153. 4. Ensure validation scripts pass

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.