Automate Word document tasks like reading content, generating reports, and formatting text using simple commands.

Install

mkdir -p .claude/skills/word && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/112" && unzip -o skill.zip -d .claude/skills/word && rm skill.zip

Installs to .claude/skills/word

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Create, read, edit, and manipulate Microsoft Word documents (.docx files). Use when users ask to work with Word files, create documents, read .docx files, or format text documents.
180 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Read text content from .docx files
  • Create new Word documents with formatted text
  • Add headings and paragraphs to documents
  • Generate tables within Word files

How it works

The skill utilizes TypeScript scripts to interface with the docx and mammoth libraries, allowing for programmatic reading and generation of Word documents.

Inputs & outputs

You give it
File path and JSON content structure
You get back
A .docx file or extracted text string

When to use word

  • Generate automated status reports
  • Extract text data from existing documents
  • Programmatically create formatted documentation
  • Convert project data into .docx files

About this skill

Word Document Tool

This skill allows you to work with Microsoft Word documents using Node.js tools.

Capabilities

  • Read existing Word documents and extract text content
  • Create new Word documents with formatted text, headings, paragraphs, and tables
  • Modify existing documents by appending content
  • Extract document structure and formatting

When to Use

Invoke this skill when the user:

  • Mentions Word documents, .docx files, or document creation
  • Asks to read, create, modify, or format text documents
  • Needs to generate reports, letters, or formatted documents
  • Wants to extract text from existing Word files

How to Use

The Word tool is implemented as a TypeScript script at src/tools/word-tool.ts. You can invoke it using the Bash tool:

Reading a Document

ts-node src/tools/word-tool.ts read "/path/to/document.docx"

Creating a Document

ts-node src/tools/word-tool.ts create "/path/to/new-document.docx" '{"title":"My Document","paragraphs":["First paragraph","Second paragraph"]}'

JSON Structure for Creating Documents

When creating documents, use this JSON format:

{
  "title": "Document Title",
  "paragraphs": ["Paragraph 1", "Paragraph 2"],
  "headings": [{"text": "Section 1", "level": 1}],
  "tables": [{"headers": ["Col1", "Col2"], "rows": [["A", "B"]]}]
}

Implementation

Uses the docx and mammoth npm libraries for reading and writing Word documents.

When not to use it

  • When working with non-.docx formats
  • When complex document styling or macros are required

Prerequisites

Node.jsdocx librarymammoth library

Limitations

  • Limited to .docx file format
  • Requires specific JSON schema for document creation

How it compares

This approach enables automated document generation from data sources rather than manual editing in a word processor.

Compared to similar skills

word side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
word (this skill)269moReviewBeginner
obsidian-core-workflow-a027dReviewBeginner
gmail-manager274moReviewIntermediate
clawhub252moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry