docx

Create, edit, merge, and extract content from Word documents using Python and JavaScript.

5|3|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/RonaldJEN/OpenCapyBox --skill docx-ronaldjen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/RonaldJEN/OpenCapyBox/tree/main/src/agent/skills/docx
Command: npx skills add https://github.com/RonaldJEN/OpenCapyBox --skill docx-ronaldjen

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Automate Word (.docx) document creation, editing, merging, and template filling using a combined Python and JavaScript toolkit, reducing manual effort and ensuring consistent formatting.

Core Features & Use Cases

  • Document creation & editing: Generate new documents or modify existing ones with structured templates and script-driven workflows.
  • Merging & templating: Combine multiple documents and fill templates to produce batch outputs such as contracts and reports.
  • Content extraction & reading: Read and parse text, tables (including nested ones), and metadata from DOCX files for downstream processing.
  • Use Case: Generate hundreds of personalized reports by filling templates with client data and merging results into a single document deck.

Quick Start

Install the required dependencies and run the included scripts in the scripts/ directory to start creating, editing, merging, and templating DOCX files.

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 template filling in Python?

Automate Word document creation and template filling using Python by running script-driven workflows with the python-docx library to generate structured .docx files. You can fill templates with client data to produce batch outputs like personalized contracts and reports.

Can I extract text and nested tables from a docx file using JavaScript?

You can extract text and parse nested tables from a .docx file using JavaScript tooling built around docx-js. This allows you to read document content and metadata for downstream processing without needing a Python environment.

Does this document processing toolkit support batch report generation at scale?

The toolkit supports batch report generation at scale by filling structured templates with client data and merging the results. You can generate hundreds of personalized reports and combine them into a single document deck automatically.

What is the best way to read and parse metadata from Word documents?

Read and parse metadata from Word documents by executing the included CLI scripts in the scripts directory. These scripts utilize python-docx to extract text, tables, and metadata from .docx files for downstream data processing.

Do I need both Python and JavaScript installed to edit Word docs with this toolkit?

You do not need both environments unless your workflow spans both languages. The toolkit relies on python-docx for Python workflows and docx-js for JavaScript workflows, allowing you to create and edit Word docs using your preferred stack.