Agent skill

MSOffice

Stars 0
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/robdtaylor/personal-ai-infrastructure/tree/main/skills/MSOffice

SKILL.md

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 — build the COMPLETE JSON in your thinking before running any command
  4. Generate document using the CLI tool — pass the FULL content in a single command
  5. Verify the command completed successfully (exit code 0, file exists)
  6. Inform user of file location

⚠️ CRITICAL: Preventing Truncation

JSON content passed via --content must be fully complete before execution. Never truncate or abbreviate content mid-generation.

For Word documents: Include ALL sections with full prose text. Minimum for business reports: executive summary, findings (numbered), metrics/KPIs, actions (with owner + due date), conclusion.

For PowerPoint: Include ALL slides fully defined. Minimum for business presentations: title, agenda, problem, solution, financials/ROI, risks, recommendation, next steps (8+ slides). MANDATORY: Write the COMPLETE JSON for ALL slides as a visible code block in your response, count the slides to confirm 8+, verify no slide is truncated mid-content, THEN execute the command. Never start the command until every slide object is fully closed with }.

If content is large: Write the entire JSON structure in your response first as a code block, verify it is complete, THEN execute the command with that exact content. Do not run the command with placeholder or abbreviated content.

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

Expand your agent's capabilities with these related and highly-rated skills.

robdtaylor/personal-ai-infrastructure

Cncsetup

Generate standardized CNC setup sheets for MNMUK machine shop. Covers DMG MORI mills/lathes, CITIZEN Swiss, MITSUBISHI EDM, and Haas machines. USE WHEN user says 'setup sheet', 'create setup', 'job setup', 'machine setup', 'tooling list', 'fixture setup', or 'new job' for any CNC operation.

0 0
Explore
robdtaylor/personal-ai-infrastructure

Costengineering

Manufacturing cost accounting, analysis, and reduction for automotive operations. Covers overhead/burden rate calculation, variance analysis, make vs buy decisions, value engineering, and cycle time to cost conversion. USE WHEN user says 'cost analysis', 'overhead rate', 'burden rate', 'variance analysis', 'make vs buy', 'value engineering', 'cost reduction', 'should cost', 'labour rate', or needs manufacturing cost guidance.

0 0
Explore
robdtaylor/personal-ai-infrastructure

Eightd

Structured 8D problem solving for customer complaints and quality issues. D0-D8 phases with containment, root cause analysis, and escape point identification. USE WHEN user says '8D', 'eight disciplines', 'customer complaint', 'corrective action', 'root cause analysis', 'containment', 'escape point', or 'problem solving report'.

0 0
Explore
robdtaylor/personal-ai-infrastructure

Toolcrib

Tool inventory management for MNMUK machine shop. Tracks tooling, inserts, consumables with reorder points and usage. USE WHEN user asks 'tool inventory', 'what inserts', 'reorder', 'tool crib', 'do we have', 'tooling cost', or 'tool usage'.

0 0
Explore
robdtaylor/personal-ai-infrastructure

Damperassembly

Dept 71 damper assembly operations for DSSV (Dynamic Suspensions Spool Valve) dampers. Covers component receipt, sub-assembly, fluid fill, gas charging, functional testing, and troubleshooting. USE WHEN user says 'damper', 'Dept 71', 'DSSV', 'spool valve', 'damper assembly', 'damper test', 'dyno test', 'fluid fill', 'gas charge', or needs damper-specific guidance.

0 0
Explore
robdtaylor/personal-ai-infrastructure

Skillsmatrix

Operator training and competency tracking for MNMUK machine shop. Supports IATF 16949 competency requirements and workforce planning. USE WHEN user asks 'who can run', 'training matrix', 'competency', 'skills matrix', 'operator certification', 'who is trained on', or workforce planning questions.

0 0
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results