Tooluck logoTooluck
SKILL.md

docx

Agent skill fromfreestylefly/wesight

Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks

How to install docx

install docx
# install the wesight pack with the skills CLI
npx skills add freestylefly/wesight

# or add only this skill to Claude Code: copy the folder

SKILLs/docx/

# into

~/.claude/skills/docx/ (all projects)

.claude/skills/docx/ (one project)

SKILLs/docx/SKILL.md

MITFull file
1# DOCX creation, editing, and analysis
2
3## Overview
4
5A user may ask you to create, edit, or analyze the contents of a .docx file. A .docx file is essentially a ZIP archive containing XML files and other resources that you can read or edit. You have different tools and workflows available for different tasks.
6
7## Workflow Decision Tree
8
9### Reading/Analyzing Content
10Use "Text extraction" or "Raw XML access" sections below
11
12### Creating New Document
13Use "Creating a new Word document" workflow
14
15### Editing Existing Document
16- **Your own document + simple changes**
17 Use "Basic OOXML editing" workflow
18
19- **Someone else's document**
20 Use **"Redlining workflow"** (recommended default)
21
22- **Legal, academic, business, or government docs**
23 Use **"Redlining workflow"** (required)
24
25## Reading and analyzing content
26
27### Text extraction
28If you just need to read the text contents of a document, you should convert the document to markdown using pandoc. Pandoc provides excellent support for preserving document structure and can show tracked changes:
29
30```bash
31# Convert document to markdown with tracked changes
32pandoc --track-changes=all path-to-file.docx -o output.md
33# Options: --track-changes=accept/reject/all
34```
35
36### Raw XML access
37You need raw XML access for: comments, complex formatting, document structure, embedded media, and metadata. For any of these features, you'll need to unpack a document and read its raw XML contents.
38
39#### Unpacking a file
40…

Excerpt shown under the repository's MIT license.

More skills in wesight

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates