docx

Creates, edits, and analyzes .docx files with text extraction and conversion.

Updated Apr 18, 2026
One-click install
npx skills add https://github.com/NeerajCodz/nstack --skill docx-neerajcodz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/NeerajCodz/nstack/tree/main/skills/docx
Command: npx skills add https://github.com/NeerajCodz/nstack --skill docx-neerajcodz

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the creation, editing, and manipulation of Word documents, significantly reducing the manual effort involved in document-related tasks.

Core Features & Use Cases

  • Document Creation: Build new Word documents with formatting, images, and links.
  • Document Editing: Modify existing documents, including text, tables, and images.
  • Document Manipulation: Convert between file formats, extract text, and handle comments and tracked changes.
  • Use Case: When you need to create a professional document like a memo or report with complex formatting such as tables of contents, headings, and page numbers.

Quick Start

Use the 'docx' skill to create a new document with 'Company Memo.docx' as the output file, including a cover page with 'Company Name' as the title and 'Date: January 1, 2025' as the date.

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 complex formatting like tables of contents and page numbers?

To create a Word document with complex formatting, you can use this Skill to build new files with headings, tables of contents, and page numbers. It utilizes docx-js for JavaScript-based document manipulation to generate professional reports or memos automatically.

Can I extract text and convert a Word document to images?

Yes, you can extract text and convert a Word document to images. The Skill performs document manipulation including text extraction and file conversion, utilizing pandoc for text processing to streamline information retrieval from existing files.

What is the best way to accept tracked changes in an existing .docx file?

The best way to accept tracked changes in a .docx file is using this Skill's document editing capabilities. It handles comments and tracked changes natively, allowing you to modify existing documents and finalize revisions without manual review.

Do I need LibreOffice and pandoc to automate document creation?

You need LibreOffice and pandoc to handle text processing and PDF conversion for document automation. The Skill relies on these dependencies alongside docx-js to manage file creation, manipulation, and format conversion tasks effectively.

How do I edit existing Word documents to modify tables and images programmatically?

You can edit existing Word documents to modify tables and images programmatically using this Skill. It supports document editing by allowing you to change text, tables, and images within .docx files through JavaScript-based manipulation.