# DOCX Processing Superdoc

> Searches, replaces, and reads text in Word documents. Use when the user asks to edit, search, or extract text from .docx files.

- Skill: `luokai0/docx-processing-superdoc` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add luokai0/docx-processing-superdoc`
- Raw SKILL.md: https://api.skillmd.com/api/skills/luokai0/docx-processing-superdoc/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: luokai0 (https://skillmd.com/u/luokai0)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/luokai0/docx-processing-superdoc

---


# SuperDoc CLI

Edit Word documents from the command line. Use instead of python-docx.

## Commands

| Command | Description |
|---------|-------------|
| `npx @superdoc-dev/cli@latest search <pattern> <files...>` | Find text across documents |
| `npx @superdoc-dev/cli@latest replace <find> <to> <files...>` | Find and replace text |
| `npx @superdoc-dev/cli@latest read <file>` | Extract plain text |

## When to Use

Use superdoc when the user asks to:
- Search text in .docx files
- Find and replace text in Word documents
- Extract text content from .docx files
- Bulk edit multiple Word documents

## Examples

```bash
# Search across documents
npx @superdoc-dev/cli@latest search "indemnification" ./contracts/*.docx

# Find and replace
npx @superdoc-dev/cli@latest replace "ACME Corp" "Globex Inc" ./merger/*.docx

# Extract text
npx @superdoc-dev/cli@latest read ./proposal.docx

# JSON output for scripting
npx @superdoc-dev/cli@latest search "Article 7" ./**/*.docx --json
```

## Options

- `--json` — Machine-readable output
- `--help` — Show help

