docx

Create, edit, and extract content from Word .docx files programmatically.

2|1|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/Sacred-G/oh-my-claw --skill docx-sacred-g
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/Sacred-G/oh-my-claw/tree/main/secure-openclaw/skills-main/skills/other-skills/docx
Command: npx skills add https://github.com/Sacred-G/oh-my-claw --skill docx-sacred-g

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Word document workflow is often manual and error-prone. This skill enables programmatic creation, editing, extraction, and formatting of Word documents (.docx) to automate professional document tasks.

Core Features & Use Cases

  • Document creation and editing: Generate new .docx files, apply headings, tables, and page layout.
  • Content extraction and reorganization: Read, analyze, and reorganize text, tables, and images from existing documents.
  • Professional formatting and assembly: Insert images, manage tables of contents, headers/footers, and templates for reports, letters, memos, or templates.
  • Real-world Scenario: Produce a client-ready proposal by compiling sections from multiple sources into a single, polished Word document.

Quick Start

Create a polished Word document (.docx) with a title page, a formatted table of contents, and embedded images.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I programmatically create a Word document with formatted text and tables?

You can programmatically create a Word document by automating .docx generation to apply headings, insert tables, and configure page layout for professional reports, letters, or templates.

How do I extract text and images from an existing .docx file?

To extract text and images from a .docx file, you can read and analyze the document's contents programmatically to reorganize paragraphs, tables, and embedded media into a structured output.

Can I manage tracked changes in a Word document via code?

Yes, you can manage tracked changes in a Word document via code by programmatically handling revisions, performing find-and-replace operations, and updating content within the .docx file structure.

What is the best way to compile multiple sources into a single Word document?

The best way to compile multiple sources into a single Word document is to programmatically assemble the content, applying professional formatting, headers, footers, and a formatted table of contents.

Does this approach support inserting images and generating tables of contents in Word files?

Yes, this approach supports inserting images and generating tables of contents in Word files by programmatically managing document layout, embedding media, and assembling professional templates.

Are there limitations when automating Word document creation and editing?

Limitations when automating Word document creation and editing depend on the underlying libraries and tooling used to handle the .docx format, manage tracked changes, and extract content.