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.zipInstalls 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.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
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
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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| word (this skill) | 26 | 9mo | Review | Beginner |
| obsidian-core-workflow-a | 0 | 27d | Review | Beginner |
| gmail-manager | 27 | 4mo | Review | Intermediate |
| clawhub | 25 | 2mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
obsidian-core-workflow-a
jeremylongshore
Execute Obsidian primary workflow: note manipulation and vault operations. Use when implementing file operations, frontmatter handling, or programmatic note creation and modification. Trigger with phrases like "obsidian vault operations", "obsidian file manipulation", "obsidian note management".
gmail-manager
jeffvincent
Manage Gmail - send, read, search emails, manage labels and drafts. Use when user wants to interact with their Gmail account for email operations.
clawhub
openclaw
Use the ClawHub CLI to search, install, update, and publish agent skills from clawhub.com. Use when you need to fetch new skills on the fly, sync installed skills to latest or a specific version, or publish new/updated skill folders with the npm-installed clawhub CLI.
agent-swarm
ruvnet
Agent skill for swarm - invoke with $agent-swarm
calculator
Code-and-Sorts
Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents. Use when the user asks to calculate, compute, or evaluate math expressions, or when precise decimal arithmetic is needed to avoid floating-point errors.
gccli
badlogic
Google Calendar CLI for listing calendars, viewing/creating/updating events, and checking availability.