docx

Create, edit, and analyze .docx files using docx-js and Python libraries.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/yukieiji/extremeroles.webui --skill docx-yukieiji
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/yukieiji/extremeroles.webui/tree/main/.gemini/skills/docx
Command: npx skills add https://github.com/yukieiji/extremeroles.webui --skill docx-yukieiji

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the process of creating, editing, and analyzing Word documents, providing efficient tools for document generation, manipulation, and content analysis.

Core Features & Use Cases

  • Document Creation: Build new .docx files from scratch or based on templates.
  • Document Editing: Modify existing .docx files, including text, tables, images, and formatting.
  • Content Analysis: Extract text, convert to images, and analyze document content.
  • Use Case: For instance, convert a .docx to a PDF with tracked changes, insert images into a document, or extract text from a .docx file for further analysis.

Quick Start

Use the docx skill to create a new document with a title and content.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I generate Word documents programmatically from templates?

To extract text from a .docx file for content analysis, this Skill processes the document's internal XML structure using Python libraries. It isolates text content from formatting, enabling subsequent data extraction and document analysis workflows.

Can I convert a Word document to PDF while keeping tracked changes?

You can convert a .docx file to a PDF with tracked changes intact. This Skill requires LibreOffice for document manipulation and validation, ensuring that revisions and formatting are preserved during the conversion process.

Do I need LibreOffice installed to edit existing .docx files?

Yes, you need LibreOffice installed alongside docx-js to edit existing .docx files. LibreOffice provides the necessary manipulation and validation backend for modifying elements like images, tables, and formatting within the Word document.

What is the best way to insert images into a Word document via code?

The best way to insert images into a Word document via code is using a document manipulation library like docx-js. This Skill facilitates direct XML editing and component insertion, allowing you to programmatically add images into specific .docx file sections.

Are there limitations when manipulating Word XML for complex formatting?

When manipulating Word XML for complex formatting, limitations depend on the underlying docx-js and Python libraries. While ideal for document-centric workflows like letter writing, highly intricate layout rendering may require validation via LibreOffice to ensure structural integrity.