docx

Create, modify, and format Word documents with OOXML processing.

1|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/SciMate-AI/scicli --skill docx-scimate-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/SciMate-AI/scicli/tree/main/internal/skills/bundled/claude-scientific-skills/skills/docx
Command: npx skills add https://github.com/SciMate-AI/scicli --skill docx-scimate-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires defusedxml, lxml, validators, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill handles creation, reading, editing, and formatting of Word documents (.docx), letting you generate professional outputs without manual word-processor interaction.

Core Features & Use Cases

  • Create new documents with headings, tables of contents, headers/footers, and consistent styles.
  • Read, edit, and reorganize content, perform find-and-replace, insert or replace images, and manage tracked changes or comments.
  • Extract content from Word files or convert content into polished Word deliverables such as reports, memos, letters, templates, or proposals.

Quick Start

Create a polished Word document from a draft by requesting a formatted .docx report.

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 automatically from existing content?

Generate Word documents automatically by using OOXML processing libraries to read content and apply consistent styling across headings, tables, and images, producing polished .docx files without manual word-processor interaction.

Can I read and edit tracked changes in a .docx file programmatically?

Read and edit tracked changes in a .docx file programmatically through OOXML processing tooling that modifies Word content while preserving existing formatting, tracked changes, and comments.

What's the best way to insert images into Word documents without breaking formatting?

Insert images into Word documents without breaking formatting by leveraging OOXML processing libraries that validate content and manage styling, ensuring images integrate seamlessly into the .docx structure.

Does this approach support creating Word documents with tables of contents and headers?

Creating Word documents with tables of contents, headers, footers, and consistent styles is fully supported, automating the production of professional reports, memos, letters, templates, and proposals.

How do I extract content from Word files for conversion into other formats?

Extract content from Word files by reading the .docx structure with OOXML libraries, allowing you to pull text and media for conversion into polished deliverables or downstream processing.

What are the limitations of using lxml for Word document generation?

Using lxml for Word document generation requires validating XML structures to prevent malformed OOXML, and while it handles complex formatting, users must ensure dependencies like defusedxml are configured correctly for secure parsing.