DOCX
Work with Word documents (DOCX/DOC) - read, extract content, create documents, convert formats, and process templates. Use when the user asks to work with Word files or .docx documents.
Install
npx skills add thechandanbhagat/claude-skills --skill docxgit clone --depth 1 https://github.com/thechandanbhagat/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/skills/docx ~/.claude/skills/docxPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Word Document (DOCX) Processing Skill
When working with Word documents, follow these guidelines:
## 1. Reading & Extracting from DOCX
**Extract text content**:
```bash
# Using pandoc
pandoc document.docx -t plain -o output.txt
# Using python-docx
python3 -c "
import docx
doc = docx.Document('document.docx')
for para in doc.paragraphs:
print(para.text)
"
# Using antiword (for .doc files)
antiword document.doc > output.txt
```
**Extract with formatting**:
```bash
# Convert to markdown (preserves structure)
pandoc document.docx -t markdown -o output.md
# Convert to HTML
pandoc document.docx -t html -o output.html
```
**Extract images**:
```bash
# DOCX files are ZIP archives
unzip -j document.docx 'word/media/*' -d extracted_images/
# Or using python
python3 << 'EOF'
import docx
import os
doc = docx.Document('document.docx')
os.makedirs('images', exist_ok=True)
for i, rel in enumerate(doc.part.rels.values()):
if "image" in rel.target_ref:
img = rel.target_part.blob
with open(f'images/image_{i}.png', 'wb') as f:
f.write(img)
EOF
```
## 2. Creating DOCX Files
**From plain text**:
```bash
# Using pandoc
pandoc input.txt -o output.docx
```
**From markdown**:
```bash
# Basic conversion
pandoc input.md -o output.docx
# With custom styling
pandoc input.md --reference-doc=template.docx -o output.docx
```
**From HTML**:
```bash
pandoc input.html -o output.docx
```
**Using Python**:Details
- Skill name
docx- Repository
- thechandanbhagat/claude-skills
- Path
skills/docx/SKILL.md- Repo updated
- 22 January 2026
FAQ
What does the DOCX skill do?
Work with Word documents (DOCX/DOC) - read, extract content, create documents, convert formats, and process templates. Use when the user asks to work with Word files or .docx documents.
How do I install the DOCX skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add thechandanbhagat/claude-skills --skill docx. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is DOCX popular?
It lives in thechandanbhagat/claude-skills, which has 9 GitHub stars and 0 forks.
Related skills
Code Review
9thechandanbhagat/claude-skills
Perform automated code reviews with best practices, security checks, and refactoring suggestions. Use when reviewing code, checking for vulnerabilities, or analyzing code quality.
CSV
9thechandanbhagat/claude-skills
Parse, analyze, transform, and manipulate CSV files. Use for data processing, cleaning, and CSV operations.
Debug
9thechandanbhagat/claude-skills
Debug code, analyze errors, interpret stack traces, find root causes, and suggest fixes. Use when troubleshooting bugs, analyzing crashes, or investigating unexpected behavior.
thechandanbhagat/claude-skills
Work with PDF files - read, extract text/images/tables, create PDFs, merge, split, and convert PDFs. Use when the user asks to read, create, modify, or analyze PDF documents.
Invoice Subjects
10thatmike1/claude-skills
Generate monthly invoice subjects and newsletter blurb from git history. Scans work repos for commits, produces combined invoice line items and a casual highlight blurb. Use when user mentions invoicing, fakturace, newsletter, or monthly summary.
PPTX
9thechandanbhagat/claude-skills
Work with PowerPoint presentations (PPTX/PPT) - read slides, extract content, create presentations, convert formats, and generate slide decks. Use when the user asks to work with PowerPoint files or presentations.
Browse the most popular Claude skills, all documents & office files skills, or write your own with the skills generator.