docx

Create and edit .docx files with Python and OpenXML libraries.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/nerinanarine/claudecode-devcontainer --skill docx-nerinanarine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/nerinanarine/claudecode-devcontainer/tree/main/.claude/skills/docx
Command: npx skills add https://github.com/nerinanarine/claudecode-devcontainer --skill docx-nerinanarine

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables efficient creation and editing of Word documents, saving you time on repetitive document preparation tasks.

Core Features & Use Cases

  • Document Creation: Generate new .docx files from scratch.
  • Document Editing: Modify existing .docx files with various options such as inserting text, images, tables, and links.
  • Content Analysis: Extract and reorganize content from .docx files.
  • Use Case: You need a custom template for business letters, and want to be able to insert and format content with ease. Use this skill to create your template and quickly generate polished documents.

Quick Start

Generate a new document with 'letter-template.docx'.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I automate document creation and generate .docx files programmatically?

Automate document creation by using Python and OpenXML libraries to generate .docx files from scratch. This approach handles text manipulation, formatting, and styling to produce letters, memos, and reports without manual preparation.

Can I edit existing .docx files to insert tables, images, and text?

Edit existing .docx files by programmatically modifying document elements to insert text, images, tables, and links. The libraries process OpenXML elements to manipulate content and apply new formatting options to your files.

Do I need docx and docx-js libraries to process document elements?

You need the docx and docx-js libraries to process document elements programmatically. These dependencies provide the required OpenXML interfaces for text manipulation, styling, and transforming documents into the .docx format.

What is the best way to extract and reorganize content from .docx files?

Extract and reorganize content from .docx files by applying content analysis techniques through OpenXML libraries. This method parses document elements programmatically to pull existing text and restructure it for new generation tasks.

How do I create a custom template for business letters in .docx format?

Create a custom business letter template in .docx format by defining text manipulation and styling rules with Python libraries. You can save this template and quickly generate polished documents by inserting formatted content.