docx

Create and edit .docx files using Python scripts and JavaScript libraries.

1|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/yf8578/clawomics --skill docx-yf8578
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/yf8578/clawomics/tree/main/skills/docx
Command: npx skills add https://github.com/yf8578/clawomics --skill docx-yf8578

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docx, pandoc, libreoffice, poppler-utils, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the creation, editing, and analysis of Microsoft Word documents (.docx files), automating complex formatting and content manipulation tasks.

Core Features & Use Cases

  • Document Generation: Create new .docx files from scratch using JavaScript and the docx-js library, including complex layouts, tables, lists, and styles.
  • Content Editing: Modify existing .docx files by unpacking, editing XML, and repacking, including accepting tracked changes and adding comments.
  • Format Conversion: Convert between document formats (e.g., .doc to .docx) and extract content into other formats (e.g., .docx to .md).
  • Use Case: Generate a professional business proposal with custom branding, a table of contents, specific page numbering, and embedded images, all programmatically.

Quick Start

Use the docx skill to create a new Word document with a title and a 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 generation with tables, lists, and headers?

To automate Word document generation, this Skill uses JavaScript and the docx-js library to programmatically build .docx files with complex layouts, tables of contents, headers, footers, and custom styles.

Can I edit an existing .docx file by accepting tracked changes and adding comments?

Yes, you can edit an existing .docx file by unpacking its underlying XML structure, manipulating the content directly to accept tracked changes, adding comments, and repacking the document.

What is the best way to convert .doc files to .docx or extract content to markdown?

The best way to convert .doc to .docx or extract .docx content to .md markdown is using the integrated format conversion tools, which handle document transformations seamlessly via pandoc and libreoffice.

Does this Word automation approach support multi-column layouts and custom page numbering?

Yes, this Word automation approach supports advanced page setup features including custom page numbering, multi-column layouts, and embedded images through the capabilities of the docx-js library.

Do I need Python and JavaScript to create complex .docx documents from scratch?

You need Python for scripting document editing and format conversion, while JavaScript with the docx-js library is utilized for creating new .docx documents from scratch with complex formatting.