跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
文档处理

docx

Extract text from Microsoft Word documents

axoviq.com · 已有 AI 审核记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add axoviq-ai/synthadoc --skill docx

技能说明


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

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