# DOCX

Extract text from Microsoft Word documents

- Repository: https://github.com/axoviq-ai/synthadoc (1725 stars)
- Category: Engineering
- License: AGPL-3.0-or-later
- Last updated: 2026-11-01
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add axoviq-ai/synthadoc --skill docx -g -a claude-code -y`
Codex: `npx skills add axoviq-ai/synthadoc --skill docx -g -a codex -y`
Cursor: `npx skills add axoviq-ai/synthadoc --skill docx -g -a cursor -y`
Gemini CLI: `npx skills add axoviq-ai/synthadoc --skill docx -g -a gemini-cli -y`

## Description

Extract text from Microsoft Word documents

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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`

