
DOCX
Lets an agent create, read, edit and validate Word .docx files
DOCX is an open-source agent skill for files and documents. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- Python
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 1K
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About DOCX
This skill gives an agent a workflow for working with Word documents. For new files it generates documents with the docx JavaScript library, covering page size, styles, lists, tables, images, page breaks, tables of contents and headers or footers, and then runs a validation script on the output. For existing files it unpacks the .docx archive, lets the agent edit the underlying XML, and repacks it with a validation step.
Editing covers tracked changes, comments and smart-quote handling, with guidance on keeping original run formatting intact. Helper scripts cover unpacking and packing, adding comments, accepting tracked changes, converting legacy .doc files through LibreOffice, and rendering pages to images.
The skill expects Python for its helper scripts, Node.js with the docx package for new documents, and pandoc, LibreOffice and Poppler for text extraction, conversion and image rendering. Its license is proprietary, with terms in a LICENSE.txt file in the skill folder.
When your agent uses it
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of "Word doc", "word document", ".docx", or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a "report", "memo", "letter", "template", or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs Python scripts(see the files on GitHub)
- Network calls found in its scripts(see the files on GitHub)
- License: Apache-2.0(see the files on GitHub)
From a static check of its 61 files (1.1 MB) on GitHub on 2 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/docx to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/melandlabs/openloomi.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/docx &&
cp -R "$tmp/skills/docx" ~/.claude/skills/docx &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/docx inside it instead.
Copy the skill folder to ~/.agents/skills/docx to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/melandlabs/openloomi.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/docx &&
cp -R "$tmp/skills/docx" ~/.agents/skills/docx &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/docx inside it instead.
Copy the skill folder to ~/.cursor/skills/docx to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/melandlabs/openloomi.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/docx &&
cp -R "$tmp/skills/docx" ~/.cursor/skills/docx &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/docx inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/melandlabs/openloomi.git --path skills/docxOr copy the folder to ~/.gemini/skills/docx yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/docx:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/melandlabs/openloomi.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/docx &&
cp -R "$tmp/skills/docx" ~/.copilot/skills/docx &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/docx inside it instead.
Get the folder:
git clone --depth 1 https://github.com/melandlabs/openloomi.gitThen copy openloomi/skills/docx into your agent's skills folder as docx. Agents that support SKILL.md read one folder per skill.
What it does
- Create new documents
- Builds .docx files with the docx library, including page setup, styles and headings.
- Edit existing files
- Unpacks a Word file, changes its XML and repacks it with validation.
- Tracked changes and comments
- Adds insertions, deletions and comment threads that stay attributed to the author.
- Tables, lists and images
- Guides correct table widths, numbering configuration and embedded image setup.
- Text extraction and rendering
- Reads document text with pandoc and renders pages to images for review.
- Legacy .doc conversion
- Reads and writes older .doc files through automatic LibreOffice conversion.
Good for
- Draft a formatted report with a table of contents and page numbers
- Apply find-and-replace edits to a Word contract
- Accept all tracked changes and produce a clean copy
- Add reviewer comments to specific passages in a .docx file
- Extract the text of a Word document for summarising
- Build a letterhead template with headers and footers
DOCX FAQ
Which tools does DOCX need?
Python for the helper scripts, Node.js with the docx package for creating new documents, and pandoc, LibreOffice and Poppler for extraction, conversion and rendering.
Does DOCX handle legacy .doc files?
Yes. Legacy .doc files are converted automatically on read and write through LibreOffice.
What author name does DOCX use for tracked changes?
It uses Claude as the author unless the user asks for a different name.
Does DOCX work with PDFs or spreadsheets?
No. The skill says not to use it for PDFs, spreadsheets, Google Docs or unrelated coding tasks.
How do I install DOCX in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/docx to use it in all your projects, or to .claude/skills/docx in one project.
Does DOCX run scripts?
Yes. It runs Python scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use DOCX?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to DOCX?
The closest alternatives to DOCX are DOCX, Md to DOCX, Convert word to md, PPTX and XLSX.
Where this comes from
- Description: from the skill's own SKILL.md.
More from melandlabs/openloomi

Guides an agent through loading, transforming and charting tabular data with Polars
- Open source
- 1K GitHub stars
- Analytics and data

Keeps a MENTAL_MODEL.md scratchpad in the workspace to carry lessons across turns
- Open source
- 1K GitHub stars
- Knowledge and memory

Guides an agent through designing and building a continual learning benchmark task
- Open source
- 1K GitHub stars
- AI models and LLM tooling

Installs and manages hooks that mirror Claude Code events onto the Loomi Pet
- Open source
- 1K GitHub stars
- Developer tools

Lets an agent search, connect and run actions across 1000+ external apps via Composio
- Open source
- 1K GitHub stars
- Developer tools

Guides installing, configuring and troubleshooting OpenLoomi Desktop from Codex
- Open source
- 1K GitHub stars
- Developer tools





