docx

Extract text and tables from .docx files using python-docx.

396|51|Updated Mar 14, 2025
One-click install
npx skills add https://github.com/decocms/studio --skill docx-decocms
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/decocms/studio/tree/main/packages/sandbox/image/skills/docx
Command: npx skills add https://github.com/decocms/studio --skill docx-decocms

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill removes the friction of opening Word files just to inspect, summarize, or copy their contents, especially when you need a quick text-only view of a document.

Core Features & Use Cases

  • Plain Text Extraction: Reads .docx files and outputs paragraph text in order for easy review or reuse.
  • Table Capture: Converts tables into tab-separated rows so structured data stays readable.
  • Developer-Friendly Access: Supports direct use of python-docx for more advanced inspection, such as headings, styles, images, or document editing.
  • Use Case: A user uploads a meeting brief or report in .docx format and needs the content summarized or copied into another system without manually retyping anything.

Quick Start

Use the docx skill to extract the text from the attached Word document and summarize its main points.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I extract text from a Word document for summarization?

To extract text from a Word document, this Skill parses uploaded .docx files and outputs paragraph text in sequential order. It relies on the python-docx library to reliably read binary .docx files and convert them into clean plain text.

Can I extract tables from Word documents into plain text?

Yes, you can extract tables from Word documents into plain text. The Skill captures table content from .docx files and converts structured data into tab-separated rows, ensuring table readability without opening the original Word file.

Does python-docx support reading headings and styles from a .docx file?

Yes, python-docx supports reading headings and styles from a .docx file. The Skill uses this dependency for basic text extraction but also allows developers direct access for advanced document inspection, including styles and images.

What is the best way to get a plain text view of a meeting brief in .docx format?

The best way to get a plain text view of a meeting brief in .docx format is to use this Skill. It removes the friction of opening Word files by directly parsing the .docx binary to inspect, copy, or summarize document contents.

Do I need python-docx installed to parse Word documents?

Yes, you need python-docx installed to parse Word documents. The Skill explicitly requires the python-docx dependency to reliably parse document paragraphs and tables from binary .docx files for text extraction.