Claude
Skill
docx
Extract text from Microsoft Word documents
Download
axoviq-ai-synthadoc-synthadoc_skills_docx-8dee0ee.zip · 1 KB
Install
skills CLI
npx skills add https://github.com/axoviq-ai/synthadoc/tree/main/synthadoc/skills/docx
Claude Code
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install axoviq-ai-synthadoc@llmmart
Git
git clone https://github.com/axoviq-ai/synthadoc.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole axoviq-ai/synthadoc collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
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
Files (synthadoc)
-
scripts
-
main.py 905 B
Loading… -
__init__.py 0 B
Loading…
-
-
requirements.txt 12 B
Loading… -
SKILL.md 827 B
--- name: docx version: "1.0" description: Extract text from Microsoft Word documents entry: script: scripts/main.py class: DocxSkill triggers: extensions: - ".docx" intents: - "word document" - "docx" requires: - python-docx author: axoviq.com license: AGPL-3.0-or-later --- # DOCX Skill Extracts paragraph text from `.docx` files using `python-docx`. ## Setup ```bash pip install python-docx ``` ## Standalone usage ```python 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`
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.