Word documents

From Private-Garden-Labs/garden-desk · View interactive version

Word documents is an AI agent skill from the GitHub repository Private-Garden-Labs/garden-desk. Create or edit DOCX. Use read for DOC/DOCX text.

How to use this skill

Skill file

Use python-docx; output DOCX, never DOC.

from docx import Document

doc = Document()  # Document(path) to edit
doc.add_heading("Title", 0)
doc.add_paragraph("Body text.")
path = "/workspace/result.docx"
doc.save(path)

Reopen with Document(path); compare content with the request. Check tables in doc.tables separately from doc.paragraphs. Return after a successful check.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.