office-document-specialist-suite

Create and style Word, Excel, and PowerPoint documents using Python libraries.

39|1|Updated Jul 2, 2026
One-click install
npx skills add https://github.com/HKU-MMLab/UniClawBench --skill office-document-specialist-suite-hku-mmlab
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: office-document-specialist-suite
Source: https://github.com/HKU-MMLab/UniClawBench/tree/main/injection/101_skill_usage/task_101_14_excel_pivot_chart/skills/office-document-specialist-suite
Command: npx skills add https://github.com/HKU-MMLab/UniClawBench --skill office-document-specialist-suite-hku-mmlab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-docx, openpyxl, python-pptx, lxml.

What problem does it solve? It automates the creation and formatting of Microsoft Office documents, removing the manual effort of building styled Word reports, Excel spreadsheets, and PowerPoint decks from scratch. ## Core Features & Use Cases - Word (.docx) Generation: Build professional reports with styled headings, headers, footers, page numbers, and landscape layouts via python-docx. - Excel (.xlsx) and PowerPoint (.pptx) Support: Use openpyxl and python-pptx for spreadsheet generation, data analysis, and automated slide decks. - CLI Scripting: Run the included ods.py script to generate report templates or apply consistent styling to existing .docx files. - Use Case: Generate a formatted quarterly analysis report template with a title page, table of contents placeholder, and styled sections, then restyle an existing draft document to match. ## Quick Start Ask the agent to run python ods.py template-report with your desired output filename, title, and author to generate a styled Word report template.

Frequently Asked Questions about office-document-specialist-suite

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

FAQPage Schema
How do I create a Word document with Python?▼

Use python-docx to create .docx files programmatically by adding paragraphs, headings, tables, and images. The included ods.py script provides a template-report command that generates a styled report with headers, footers, and page numbers.

How to apply styles to an existing docx file in Python?▼

Run the ods.py style-doc command with the input file path to apply consistent margins, heading styles, fonts, and optional landscape orientation. The script uses python-docx to modify section layout and paragraph styles, then saves to a new output file.

What Python libraries work for Excel and PowerPoint automation?▼

openpyxl handles Excel .xlsx files for spreadsheet generation and data analysis, while python-pptx creates PowerPoint .pptx slide decks from structured data. Both are pre-installed in the workspace alongside python-docx.

Do I need to install packages before using this document suite?▼

No, the workspace already provides python-docx, openpyxl, and python-pptx. The setup script explicitly instructs not to create virtual environments or install packages during the task; use the scripts or import libraries directly.

Can python-docx update a table of contents automatically?▼

No, python-docx cannot compute table of contents entries. The generated template includes a placeholder that must be refreshed manually in Word or LibreOffice by right-clicking the field and selecting update.