docx-processor

Extract text, tables, and structure from .docx files and convert to Markdown or TXT.

68|5|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/twwch/OpenSkills --skill docx-processor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx-processor
Source: https://github.com/twwch/OpenSkills/tree/main/examples/office-skills/docx-processor
Command: npx skills add https://github.com/twwch/OpenSkills --skill docx-processor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-docx, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Word 文档处理通常涉及从 docx 文件中提取文本、分析段落与表格结构、评估文档格式并转换为易用格式。该 Skill 提供一个自包含的解决方案,快速读取、解析并输出可用的摘要或转为 Markdown/TXT 等。

Core Features & Use Cases

  • 文本提取与段落分析:读取 docx 文档中的文本、段落、样式信息。
  • 表格与结构分析:提取表格数据及其结构,支持简单数据整合。
  • 格式转换与摘要:将文档内容转换为 Markdown 或纯文本,并可生成摘要用于快速浏览。
  • Use Case:将合同或报告的要点提炼为要点摘要,或将技术文档转换为 Markdown 以便于协作。

Quick Start

请提供要处理的 docx 文件路径。

Frequently Asked Questions about docx-processor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract text and tables from a Word document?

To extract text and tables from a Word document, this solution parses .docx files to output structured text, paragraph styles, and table data. It reads document structures directly to provide conversion-ready outputs for review and knowledge extraction.

What is the best way to convert docx files to Markdown?

Converting docx files to Markdown is handled by transforming extracted Word document content into Markdown or plain text formats. This process reads paragraphs and tables from the source file to produce easily editable text for collaboration.

Does python-docx support reading paragraph styles for document analysis?

Yes, python-docx supports reading paragraph styles for document analysis by accessing the underlying .docx XML structure. This allows the extraction of text content alongside its style information to evaluate document formatting.

How do I generate a summary from a Word document for quick review?

Generating a summary from a Word document involves extracting the core text and structural elements to produce a concise overview. This is suitable for quickly reviewing contracts and reports without reading the full content.

Can I use this for processing technical manuals and archival documents?

You can use this for processing technical manuals and archival documents because it extracts and analyzes content across various document types. It produces structured text and tables suitable for long-term archival processing and knowledge extraction.