Productivity & Collaboration

DOCX Document Processing Skill

Create, edit, and analyze .docx files with support for track changes, comments, and formatting preservation.

51/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 4.4k
Last updated
20d ago
License
Apache-2.0
docxword-documentstracked-changesooxml
+3document-creationtext-extractiondocument-review

What does this skill do, and when should you use it?

This skill provides a comprehensive workflow for handling Word documents (.docx). It leverages the OOXML structure to extract text, create new documents, perform basic edits, and enable collaborative document review with tracked changes. The skill includes scripts for unpacking and repacking documents, plus Python Document and docx-js libraries for programmatic manipulation. It is especially suited for professional scenarios requiring precise change tracking.

It can read document content (via pandoc to markdown or direct XML unpacking), create new documents (using docx-js), edit existing documents (using the Python Document library for simple modifications or complex OOXML operations), manage tracked changes (insert/delete marks), and convert documents to images for visual analysis (via LibreOffice and pdftoppm).

Good fit
  • Users needing to quickly extract text from a document while preserving structure.
  • Developers who want to generate formatted Word files from scratch.
  • Office workers who need to modify contracts or reports with minimal invasiveness.
  • Legal or academic reviewers who need to mark changes on shared documents.
  • Analysts who need to convert Word pages to images for visual inspection.

How do you install this skill?

Before you use it
  • Static review only; no code execution. Validate scripts and dependencies in a real environment.
  • License mismatch: skill header says Proprietary while repo is Apache-2.0; clarify before use.
  • Dependencies like LibreOffice may not be pre-installed, and installation could be difficult under network restrictions.
  • Skill edits documents; if handling sensitive content, execute in an isolated environment with explicit data protection.
Before you start
Your agent needs
  • Shell / CLI
  • Local filesystem
Install first
  • pandoc
  • Node.js (docx)
  • Python 3 (Document library)
  • LibreOffice
  • Poppler
  • defusedxml

Clone the repository from GitHub (https://github.com/modelscope/ms-agent); the skill resides at examples/skills/claude_skills/docx/. Install dependencies as needed: pandoc, npm package 'docx', Python package 'defusedxml', LibreOffice, and poppler-utils.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/modelscope/ms-agent.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/examples/skills/claude_skills/docx" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • Read the file report.docx and extract the text
  • Modify clause 12 in agreement.docx with tracked changes.

Place the SKILL.md and its associated files in your agent's skill directory. Then, request with descriptive language, e.g., 'Read the file report.docx and extract the text' or 'Modify clause 12 in agreement.docx with tracked changes.' The skill selects the appropriate workflow: extraction, creation, editing, or redlining.

What are this skill's strengths and limitations?

Pros
  • Comprehensive document handling: creation, editing, redlining, comments, extraction.
  • Enforces best-practice workflows (e.g., redlining for others' documents).
  • Includes a detailed decision tree to pick the right method for the task.
  • Provides practical scripts (unpack.py, pack.py) for robust OOXML manipulation.
  • Allows raw XML access for advanced scenarios.
Limitations
  • Proprietary license; not covered by the repo's Apache-2.0 license.
  • Requires installation of multiple external dependencies (pandoc, LibreOffice, Node.js, etc.).
  • High technical barrier for complex edits, requiring knowledge of OOXML and XML manipulation.
  • Testing on non-Linux platforms (e.g., Windows, macOS) is not documented; commands are primarily Linux-styled.
  • No automated test suite is provided to verify robustness across different document structures.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
DOCX Document Processing Skill this page 51 · Use with care ★ 4.4k 20d ago Apache-2.0
DeepTutor DOCX Skill 59 · Recommended ★ 41k 3d ago Apache-2.0
Open Cowork DOCX Skill 69 · Recommended ★ 2.2k 5d ago MIT
DOCX Document Skill ✓ Anthropic · Official 50 · Use with care ★ 180k 6d ago —
Thesis DOCX Formatting Skill 50 · Use with care ★ 472 6mo ago MIT

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
51/ 100 5-point scale 2.6 / 5
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
1Trust12 / 25 · 2.4/5

The skill performs local document processing without network exfiltration or dangerous operations. However, there is no explicit user confirmation mechanism, such as asking before large edits or deletions, and no mention of data confidentiality for sensitive documents. Third-party dependencies like soffice may have security risks, but no isolation measures are specified. The inclusion of defusedxml indicates security awareness, but permission and confirmation mechanisms are incomplete, hence 12.

2Reliability7 / 20 · 1.8/5

The skill provides detailed workflows and scripts, but they have not been executed in this static review. Dependencies (pandoc, docx, LibreOffice) may be missing, and error handling is basic. Scripts like pack.py have some error handling, but overall failure feedback is limited. Due to static limitations, key-path reproduction cannot be verified, hence 7.

3Adaptability10 / 15 · 3.3/5

The skill clearly defines applicable scenarios (create, edit, analyze docx) with a decision tree. However, boundaries are not explicitly declared, such as limitations on complex document features. Environment fit is not fully assessed, and network reachability for mainland China is not addressed. Documentation is primarily English, with Chinese support unclear, hence 10.

4Convention10 / 15 · 3.3/5

Documentation is well-structured with sections and examples, and dependencies are listed. However, the license is declared as Proprietary in the skill, conflicting with the repo's Apache-2.0, and there is no versioning or changelog. Maintenance responsibility is not clear, hence 10.

5Effectiveness7 / 15 · 2.3/5

The skill provides complete workflows and examples, theoretically achieving document tasks. However, there is no evidence of tested outputs, and static evaluation cannot confirm direct usability. Marginal value over alternatives is uncertain, hence 7.

6Verifiability5 / 10 · 2.5/5

There are auditable scripts (pack.py, unpack.py, validate.py), but no test suites or CI for this skill. Key claims lack independent corroboration, and static review cannot confirm reproduction, hence 5.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Aug 07, 2026 Reviewed revision 071b43325c56 Review evidence[1][2][3][4][5][6][7][8]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Can I use this skill on Windows or macOS?
The skill's commands assume a Linux environment (e.g., 'sudo apt-get'). While tools may be installable on macOS, Windows would require additional adjustments. Compatibility on alternative platforms has not been tested.
What does the license cover?
The SKILL.md file marks its license as 'Proprietary' and references a separate LICENSE.txt. It is not covered by the repository's Apache-2.0 license. Please refer to that file before use.
How do I ensure safe, error-free redlining on my documents?
The skill recommends applying changes in batches (3-10 items) and testing between batches. It emphasizes precise edits for unchanged text to maintain readability. However, always keep backups of the original document yourself.
What if my document has complex tables, headers, or footers?
The skill supports complex formatting via raw XML access, but such changes require deep understanding of OOXML. For very intricate layouts, consider specialized Word automation tools.

More skills from this repository

All from modelscope/ms-agent

Related skills