word

Create, read, and modify .docx files using TypeScript and Node.js.

27|3|Updated Nov 6, 2025
One-click install
npx skills add https://github.com/Fergana-Labs/claude_agent_desktop --skill word
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: word
Source: https://github.com/Fergana-Labs/claude_agent_desktop/tree/main/.claude/skills/word
Command: npx skills add https://github.com/Fergana-Labs/claude_agent_desktop --skill word

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docx, mammoth.

What problem does it solve?

This Skill automates creating, reading, and formatting Microsoft Word (.docx) documents, saving time when drafting reports, letters, or formatted content.

Core Features & Use Cases

  • Read Word documents and extract text and structure
  • Create & Format new documents with headings, paragraphs, and tables
  • Modify existing documents by appending content or adding formatting

Quick Start

Use this Skill to generate a new Word document with a title and a couple of paragraphs, and optimize formatting.

Frequently Asked Questions about word

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

FAQPage Schema
How do I read text and structure from an existing Word document?

Reading Word documents extracts text, headings, and formatting structure from .docx files. This Skill parses .docx files using the mammoth library, returning document content and layout information you can process or display programmatically.

How do I create a formatted Word document with headings and tables?

Creating formatted Word documents involves defining a JSON structure with title, paragraphs, headings, and tables, then generating a .docx file. This Skill builds properly formatted documents from your schema, handling text styling and table layout automatically.

Can I modify an existing Word document by adding content?

Modifying Word documents lets you append paragraphs, headings, or tables to existing .docx files without starting over. This Skill supports editing workflows where you build on previous document versions incrementally.

What's the difference between using docx and mammoth libraries for Word automation?

The docx library creates and writes new Word documents from structured data; mammoth reads and extracts content from existing .docx files. This Skill combines both to enable full read-write automation without external Office dependencies.

Do I need Microsoft Office installed to automate Word document creation?

Word document automation does not require Microsoft Office installed. This Skill uses Node.js libraries (docx and mammoth) to read and write .docx files directly, running in any Node.js environment.

What file formats can I work with for document automation?

This Skill works with .docx (Office Open XML) format. The mammoth library also supports conversion from .docx to other formats, enabling downstream format flexibility for reports and exports.