docx

Create and edit .docx files with formatting, tables, and images.

3|2|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/ryan-mt/claude-backup --skill docx-ryan-mt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/ryan-mt/claude-backup/tree/main/config/skills/docx
Command: npx skills add https://github.com/ryan-mt/claude-backup --skill docx-ryan-mt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docx-js, libreoffice, 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), automating common tasks and ensuring professional, accurate outputs.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch or modify existing ones.
  • Content Editing: Insert, remove, and format text within documents.
  • Data Manipulation: Insert, remove, or convert tables and images.
  • Analysis: Extract text and analyze document content.
  • Use Case: If you need to create a report, memo, or letter with specific formatting like tables of contents, headings, or page numbers, this skill can help you achieve the desired output.

Quick Start

Use the docx skill to create a new document with the following structure: "Title (Heading 1)", "Introduction (Paragraph)", "Section 1 (Heading 2)", "Content of Section 1 (Paragraphs)", "Section 2 (Heading 2)", "Content of Section 2 (Paragraphs)", "Conclusion (Paragraph)".

Frequently Asked Questions about docx

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

FAQPage Schema
How do I automate Word document creation and formatting?

Automate Word document creation by generating new .docx files from scratch or modifying existing ones. You can programmatically apply specific formatting like headings, tables of contents, and page numbers for reports or memos.

Can I extract text and analyze content from an existing .docx file?

Yes, you can extract text and analyze document content from .docx files. The skill handles text extraction and document analysis, enabling automated content management and data analysis workflows.

How do I insert tables and images into a Word document programmatically?

Insert tables and images into a Word document by utilizing data manipulation features. You can add, remove, or convert tables and images within .docx files to achieve professional document outputs.

Do I need LibreOffice to convert a Word document to PDF?

Yes, LibreOffice is required for PDF conversion. Along with docx-js for XML editing, these dependencies enable comprehensive .docx file manipulation, formatting, and format conversion.

What is the best way to edit text and headings in a .docx file?

The best way to edit text and headings in a .docx file is through content editing features that insert, remove, and format text. You can structure documents with Heading 1, Heading 2, and paragraphs programmatically.

Are there limitations when manipulating XML in Word documents?

Manipulating XML in Word documents relies on docx-js for structural editing and LibreOffice for conversions. Complex formatting or heavily corrupted files may limit automated text extraction and table manipulation capabilities.