docx

Create, edit, and analyze Word documents with JavaScript and formatting options.

13|3|Updated Jun 10, 2026
One-click install
npx skills add https://github.com/tassiovale/claude-code-kit --skill docx-tassiovale
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/tassiovale/claude-code-kit/tree/main/skills/docx
Command: npx skills add https://github.com/tassiovale/claude-code-kit --skill docx-tassiovale

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docx-js, pandoc, python-soffice, python-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 (.docx files), helping you manage and enhance your document workflows efficiently.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch using JavaScript and validate their formatting.
  • Document Editing: Edit existing .docx files, manage tracked changes, insert or replace images, and perform find-and-replace operations.
  • Document Analysis: Extract content, convert to images, accept tracked changes, and convert content into polished documents.
  • Use Case: Suppose you need to create a detailed report with tables, images, and a cover page. Use this Skill to design the layout, fill in the content, and export it as a professional Word document.

Quick Start

Use the docx skill to create a new Word document with a title page and table of contents: docx create_report.docx --title-page --table-of-contents

Frequently Asked Questions about docx

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

FAQPage Schema
How do I create a Word document with a cover page and table of contents?

You can create a Word document by generating a new .docx file from scratch using JavaScript, validating formatting, and specifying options like a title page and table of contents. This enables you to design layouts and export professional reports.

Can I insert images and tables into an existing .docx file?

Yes, you can edit existing .docx files by inserting or replacing images, manipulating tables, and adjusting formatting options. This supports professional document generation and formatting adjustments within your workflow.

What dependencies do I need to extract text from Word documents?

To extract text from Word documents, you need docx-js, pandoc, LibreOffice (python-soffice), and Poppler (python-poppler) installed. These dependencies enable content extraction, image conversion, and tracked changes acceptance.

Does this approach support managing tracked changes in Word documents?

Yes, this approach supports managing tracked changes in Word documents, allowing you to accept tracked changes during document analysis. You can also perform find-and-replace operations and manipulate text, tables, and footnotes.

What is the best way to convert Word document content into images?

The best way to convert Word document content into images is by using the document analysis features with Poppler and LibreOffice. This allows you to extract content from .docx files and convert document pages into image formats.

Are there limitations when using pandoc for PDF conversion from .docx files?

While pandoc facilitates PDF conversion, limitations may arise with complex formatting or embedded objects in the .docx file. Using LibreOffice alongside pandoc helps validate formatting and ensures polished document exports.