docx

Create, edit, and analyze .docx files using JavaScript and Python libraries.

91|11|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/TW-NLP/DeepAgentForce --skill docx-tw-nlp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/TW-NLP/DeepAgentForce/tree/main/src/services/skills/document/docx
Command: npx skills add https://github.com/TW-NLP/DeepAgentForce --skill docx-tw-nlp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandoc, docx-js, LibreOffice, Poppler, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the creation, editing, and analysis of Word documents, enabling users to quickly transform .docx files into polished, professional documents with advanced formatting and features.

Core Features & Use Cases

  • Document Creation: Generate new .docx files with precise formatting using JavaScript and docx-js library.
  • Document Editing: Manipulate existing documents by unpacking XML files, editing them, and repacking them back into .docx format.
  • Data Extraction: Extract text and structured data from .docx files for further analysis or processing.
  • Use Case: Imagine you need to create a professional memo for a meeting. This Skill can help you quickly generate a .docx file with headers, footers, tables, and other advanced formatting features.

Quick Start

Use the docx skill to create a new document with the following structure:

  • Title: "Meeting Memo"
  • Subtitle: "Meeting Summary"
  • Introduction: "This memo summarizes the key points discussed in the meeting."
  • Section: "Action Items" with bullet points and numbering.

Frequently Asked Questions about docx

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

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

You can extract text and structured data from a Word document by unpacking the .docx XML files and parsing them with pandoc and docx-js. This allows you to retrieve raw content and table formatting for further analysis.

Can I edit an existing .docx file by manipulating its XML structure?

You can edit an existing .docx file by unpacking its underlying XML structure, manipulating the document elements directly, and repacking it back into .docx format. This approach enables precise content manipulation and automated changes.

What's the best way to generate a new Word document with advanced formatting?

Generating a new Word document with advanced formatting is best achieved using the docx-js JavaScript library. This approach programmatically creates .docx files featuring precise headers, footers, and complex table structures.

Do I need pandoc and LibreOffice installed to process Word documents?

Yes, processing Word documents requires pandoc, LibreOffice, Poppler, and docx-js to be installed. These dependencies handle the underlying XML-based document manipulation, content extraction, and format conversion.

How does automated document creation handle tables and bullet points?

Automated document creation handles tables and bullet points by utilizing the docx-js library to programmatically define document elements. This allows you to generate professional .docx files with precise table formatting, bullet points, and numbering structures.