docx

Create, edit, and analyze .docx files using JavaScript libraries.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docx, pandoc, LibreOffice, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the creation, editing, and analysis of Word documents, providing powerful tools for document manipulation and professional formatting.

Core Features & Use Cases

  • Document Creation and Editing: Build new documents or edit existing ones with various formatting options.
  • Content Extraction: Extract and reorganize content from .docx files.
  • Image Insertion: Insert and format images within documents.
  • PDF Conversion: Convert .docx to PDF for distribution.
  • Use Case: If you need to create a polished report with tables, images, and headers, this Skill offers the necessary tools to accomplish the task efficiently.

Quick Start

Use the docx skill to create a new document with a title and some text: 'claude create-document "My Report" - "This is the introduction."'

Frequently Asked Questions about docx

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

FAQPage Schema
How do I extract text and content from a .docx file?

To extract text from a .docx file, this Skill parses the binary document structure and reorganizes the content. It handles text extraction and table manipulation directly, allowing you to pull specific elements from Word documents for review or further processing.

Can I create a Word document with tables and images programmatically?

Yes, you can create a Word document with tables and images programmatically. This Skill uses JavaScript libraries to build new .docx files, supporting professional formatting, table manipulation, and image insertion for generating polished reports.

What's the best way to convert a .docx file to PDF?

The best way to convert a .docx file to PDF is by using LibreOffice or pandoc. This Skill leverages these dependencies to transform Word documents into PDF format, ensuring your finalized reports are ready for distribution.

Do I need JavaScript libraries to edit existing Word documents?

Yes, you need JavaScript libraries like docx-js to edit existing Word documents. This Skill relies on these libraries to manipulate the binary .docx files directly, handling formatting adjustments and content modifications.

How does document analysis work for .docx files?

Document analysis for .docx files works by parsing the binary structure to extract and reorganize content. This Skill processes the document to pull text and review formatting, enabling automated workflows for document review and content extraction.