MSOffice
DocumentsMSOffice is an Agent Skill for documents published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Create MS Word and PowerPoint documents on any topic. USE WHEN user wants: documents, reports, word docs, presentations, slides, powerpoint, decks.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/data/msoffice/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/msoffice, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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
- Understand the user's topic and document requirements
- Research the topic if needed (use Research skill for comprehensive content)
- Structure content into the appropriate JSON format
- Generate document using the CLI tool
- 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
# 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