home / skills / robdtaylor / personal-ai-infrastructure / msoffice
This skill helps you create professional Word and PowerPoint documents quickly by generating tailored templates and content from topic inputs.
npx playbooks add skill robdtaylor/personal-ai-infrastructure --skill msofficeReview the files below or copy the command above to add this skill to your agents.
---
name: MSOffice
description: |
Create MS Word and PowerPoint documents on any topic.
USE WHEN user wants: documents, reports, word docs, presentations, slides, powerpoint, decks.
allowed-tools:
- Bash(~/.claude/Skills/MSOffice/venv/bin/python:*)
---
# MS Office Document Generator
Creates professional Word (.docx) and PowerPoint (.pptx) documents.
## Workflow Selection
| User Intent | Workflow | Output |
|-------------|----------|--------|
| "document", "report", "word", "write up" | Templates/Word.md | .docx |
| "presentation", "slides", "powerpoint", "deck" | Templates/PowerPoint.md | .pptx |
## Quick Reference
**Tool Location**: `~/.claude/Skills/MSOffice/Tools/generate.py`
**Python Interpreter**: `~/.claude/Skills/MSOffice/venv/bin/python`
**Output Directory**: `~/Downloads/` (for review before delivery)
## Usage Pattern
1. **Understand** the user's topic and document requirements
2. **Research** the topic if needed (use Research skill for comprehensive content)
3. **Structure** content into the appropriate JSON format
4. **Generate** document using the CLI tool
5. **Inform** user of file location
## Document Delivery
Files are saved to `~/Downloads/` by default. User can:
- Access locally on Mac
- Download via Kai Mobile App (browse to ~/Downloads/, tap file, download)
## CLI Usage
```bash
# Word document
~/.claude/Skills/MSOffice/venv/bin/python ~/.claude/Skills/MSOffice/Tools/generate.py \
--type word \
--title "Document Title" \
--content '{"sections": [...]}' \
--output ~/Downloads/filename.docx
# PowerPoint
~/.claude/Skills/MSOffice/venv/bin/python ~/.claude/Skills/MSOffice/Tools/generate.py \
--type powerpoint \
--title "Presentation Title" \
--content '{"slides": [...]}' \
--output ~/Downloads/filename.pptx
```
This skill generates professional Microsoft Word (.docx) and PowerPoint (.pptx) files on any topic. It produces structured reports, documents, slides, and decks tailored to user requirements and saves the output for easy review and delivery. It focuses on clear organization, consistent formatting, and quick turnaround.
You provide the document type (word or powerpoint), title, and structured content (sections for Word, slides for PowerPoint). The skill converts that structured input into a finished .docx or .pptx file and places the file in a designated output location for download. Optionally, the skill can research or refine content beforehand to meet length, tone, and style requirements.
Where will the generated files appear?
Files are saved to a designated output directory so you can preview and download them easily.
What content format should I provide?
Provide structured JSON: use a sections array for Word documents and a slides array for PowerPoint, with text and optional notes per item.