read-word

Extract text, OMML formulas, images, and tables from Word .docx files.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/lingxiaobc/student_info --skill read-word
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: read-word
Source: https://github.com/lingxiaobc/student_info/tree/main/.claude/skills/read-word
Command: npx skills add https://github.com/lingxiaobc/student_info --skill read-word

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lxml, and includes scripts (resource) components.

What problem does it solve?

This Skill addresses the challenge of extracting and presenting the full content of Word (.docx) files, including text, complex formulas, images, and tables, in their original order.

Core Features & Use Cases

  • Comprehensive Content Extraction: Accurately retrieves text, converts OMML formulas to LaTeX, extracts images, and parses tables.
  • Preserves Original Order: Ensures all extracted content is presented in the sequence it appears in the document.
  • Use Case: When you need to quickly get the full content of a research paper, a technical manual, or a report stored in a .docx file, this Skill provides a reliable way to access all its components.

Quick Start

Use the read-word skill to extract all content from the document located at /path/to/your/document.docx.

Frequently Asked Questions about read-word

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

FAQPage Schema
How do I extract text and images from a Word docx file while preserving the original order?

To extract text and images from a Word docx file while preserving original order, use a Python script with the lxml library to parse the document structure. This accurately retrieves content and presents it in the exact sequence it appears.

Can I convert OMML formulas in a Word document to LaTeX automatically?

Yes, you can convert OMML formulas in a Word document to LaTeX automatically by using Python scripts with lxml. This process parses the formulas and converts them directly into LaTeX format during extraction.

What is the best way to extract tables from a .docx file using Python?

The best way to extract tables from a .docx file using Python is utilizing lxml for parsing. This approach accurately parses tables, extracts text, and converts formulas while maintaining the document's original content order.

Do I need the lxml library to parse Word document content like formulas and tables?

Yes, you need the lxml library to parse Word document content like formulas and tables. The extraction process relies on Python scripts utilizing lxml to accurately parse the document structure and convert OMML formulas.

How does document content extraction handle complex research papers stored as .docx?

Document content extraction handles complex research papers stored as .docx by accurately retrieving text, converting OMML formulas to LaTeX, extracting images, and parsing tables while preserving the original sequence for reliable presentation.