docx-processing-superdoc

📁 lawvable/awesome-legal-skills 📅 7 days ago
3
总安装量
3
周安装量
#55756
全站排名
安装命令
npx skills add https://github.com/lawvable/awesome-legal-skills --skill docx-processing-superdoc

Agent 安装分布

opencode 3
gemini-cli 3
antigravity 3
claude-code 3
github-copilot 3
codex 3

Skill 文档

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

# 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