Documentation
README
DOCX Skill
Extracts paragraph text from .docx files using python-docx.
Setup
pip install python-docx
Standalone usage
import asyncio
from synthadoc.skills.docx.scripts.main import DocxSkill
skill = DocxSkill()
async def main():
result = await skill.extract("/path/to/document.docx")
print(result.text) # all paragraphs joined as plain text
asyncio.run(main())
When this skill is used
- Source path ends with
.docx - User intent contains:
word document,docx