office-docs

Automate reading, editing, creating, and validating Office Open XML files.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/hhx465453939/Claude_skill_pool --skill office-docs-hhx465453939
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: office-docs
Source: https://github.com/hhx465453939/Claude_skill_pool/tree/main/skills.gemini/office-docs
Command: npx skills add https://github.com/hhx465453939/Claude_skill_pool --skill office-docs-hhx465453939

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires markitdown, Pillow, defusedxml, lxml, pptxgenjs, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of working with Microsoft Office files (.pptx, .docx, .xlsx) by automating their reading, editing, creation, and validation.

Core Features & Use Cases

  • File Manipulation: Read, edit, create, and validate Office Open XML files.
  • Template-Based Creation: Generate presentations from templates, including slide duplication and reordering.
  • XML Editing: Directly edit the underlying XML of Office files for advanced customization.
  • Use Case: Automatically generate a sales report presentation by pulling data from an Excel sheet, formatting it according to a company template, and saving it as a PPTX file.

Quick Start

Use the office-docs skill to unpack the attached file 'presentation.pptx' into the 'unpacked' directory.

Frequently Asked Questions about office-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate creating PowerPoint presentations from an Excel template?

You can automate PowerPoint creation by unpacking .pptx and .xlsx files to manipulate their XML structure, pulling data from Excel sheets to populate slides, and repacking with validation. Template-based PPTX generation supports slide duplication, reordering, and programmatic content creation.

Can I directly edit the XML inside a .docx or .pptx file?

Yes, you can directly edit Office Open XML files by unpacking the .docx or .pptx into a directory, modifying the underlying XML components for advanced customization, and repacking the files with validation to ensure structural integrity.

What is the best way to programmatically generate slides with PptxGenJS?

Programmatic slide generation uses PptxGenJS to create presentations directly. This approach allows you to build slides, format content, and apply company templates through code, which is ideal for automating repetitive document creation workflows.

Does this approach work with all Microsoft Office Open XML formats?

Yes, the unpack and pack workflow supports reading, editing, creating, and validating all Microsoft Office Open XML formats, specifically .pptx, .docx, and .xlsx files, ensuring broad compatibility across Word, Excel, and PowerPoint documents.

Why do I need to unpack an Office file before editing its content?

Unpacking an Office file is required to access and manipulate the underlying XML structure directly. This unpack/edit/pack workflow allows for advanced customization beyond standard document editors, followed by validation to ensure the repacked file is not corrupted.

Are there limitations when manipulating Office Open XML for document automation?

While document automation handles XML manipulation and template-based generation for .pptx, .docx, and .xlsx, complex formatting may require direct XML editing. Unpacked files must be correctly repacked and validated to prevent structural corruption in the final Office document.