Docx
Extract text from Microsoft Word documentsFrom its SKILL.md
npx -y skills add axoviq-ai/synthadoc --skill docxAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- runs commandsInstructs the agent to run 1 command, including `pip install python-docx`.
What its file declares
Copied from the file, not written here
The file declares its own license as AGPL-3.0-or-later. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
0.8 KB, 135 tokens by cl100k_base, as published. Nobody here has run it
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
What ships with it: 3 files
917 B alongside SKILL.md, 2 of them executable
scripts/
- __init__.pyruns0 B
- main.pyruns905 B
- requirements.txt12 B