docx

docx is a skill for Codex from jackdark425/aigroup-mdtoword-mcp. It costs 77 tokens per session (3,163 once invoked), scanned A, original, MIT.

A tool guide for creating, editing, checking, and previewing editable Microsoft Word files such as .docx and .dotx. It can also convert Markdown into Word documents and create PDF previews.

In plain words
What is it for?
Use it to generate reports from Markdown, revise existing Word documents, apply formatting in batches, or work with complex Word features and templates.
Why use it?
It provides a repeatable way to handle Word layout, styles, tables, images, links, and templates without losing track of changes. It also checks edited copies for page, image, and hyperlink problems.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is (cd unpacked && rm -f ../out.docx && zip -XrDy ../out.docx .).

Good fit Use it to generate reports from Markdown, revise existing Word documents, apply formatting in batches, or work with complex Word features and templates.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/jackdark425/aigroup-mdtoword-mcp
agentmods
npx agentmods add skills/jackdark425/aigroup-mdtoword-mcp/docx

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for docx

README.md
[![agentmods](https://agentmods.dev/badge/skills/jackdark425/aigroup-mdtoword-mcp/docx/github.svg)](https://agentmods.dev/skills/jackdark425/aigroup-mdtoword-mcp/docx)
Your own site
<a href="https://agentmods.dev/skills/jackdark425/aigroup-mdtoword-mcp/docx"><img src="https://agentmods.dev/badge/skills/jackdark425/aigroup-mdtoword-mcp/docx/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for docx

Your own site · 80×15
<a href="https://agentmods.dev/skills/jackdark425/aigroup-mdtoword-mcp/docx"><img src="https://agentmods.dev/badge/skills/jackdark425/aigroup-mdtoword-mcp/docx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,163 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00077 $0.03163
Opus 5.5 $0.00031 $0.01265
Sonnet 5.5 $0.00015 $0.00633
Haiku 4.5 $0.00008 $0.00316

Measured 3d ago against content hash b8bf33c240ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

docx scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

The scan reads SKILL.md. This mod also ships 18 executable files (scripts/__init__.py, scripts/accept_changes.py, scripts/asset_comparison.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/docx/SKILL.md · 136 lines

How it starts

The opening of the file, as written. The whole thing — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.

墨稿大师 · AIGroup Word

A .docx is a ZIP archive of XML files. Choose your approach by task:

Task Approach
Create an ordinary report, letter or brief Build paragraphs, styles, tables, pictures and page numbers with docx (docx-js) in Node.js.
Convert a finished Markdown report Run the installed scripts/markdown_to_word.mjs on the input and a new output path. Keep the source directory for relative images. An isolated <!-- pagebreak --> sets an explicit page break. Ordinary reports use the bundled engine. For LaTeX formulas, SVG, Mermaid or HTML images, the same entry point selects the full local converter.
Inspect or batch-format ordinary Word content Use python-docx to inspect headings, styles and table contents, or adjust named styles across documents. Save edits to a copy and check the affected elements after reopening.
Create a document needing complex Word features Use docx-js for the supported content, then patch the specific OOXML parts needed for advanced fields, revisions or custom relationships. If a supplied template defines the layout, start from a copy of that template.
Edit an existing document while retaining its layout For a unique exact replacement in ordinary paragraphs and table cells, use the single edit-and-compare command below. For a field, tracked revision or hyperlink target, edit the relevant OOXML parts in a copy.
Inspect a document before delivery Run python3 scripts/inspect_docx.py document.docx for a read-only JSON report on heading levels, image descriptions, fields and internal bookmark targets. Review flagged items in context.
Review a unique phrase with tracked changes and an optional anchored comment Run scripts/review_text.py with the named reviewer, then inspect the review copy.
Compare two saved versions, or verify an edit Run the before/after comparison below for page changes, new blank pages, missing pictures and changed link targets.
Read content pandoc -t markdown file.docx

Choose the smallest change that preserves the document. A report with hundreds of table rows can still be authored with docx-js. A one-word edit inside a hyperlink, field or tracked revision may need targeted XML; keep the enclosing runs and relationships. When applying Chinese typefaces through python-docx, check the East Asian font on the named style as well as the Latin font.

When restyling a 墨稿大师 document with python-docx, take the heading style from the target paragraph or match its style ID. Its stored display name may differ in case from Heading 2.

Script paths below are relative to this skill's directory.

Read the full file on GitHub · 136 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 136 lines · 77 tokens per session scan A b8bf33c240ae

Subscribe to this mod's changes

docx is a skill published in the GitHub repository jackdark425/aigroup-mdtoword-mcp (14 stars, last pushed 4d ago), licensed MIT. It adds 77 tokens to every session and 3,163 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-27.

Related

docx compared with skills from other repositories

docx next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docxjackdark425/aigroup-mdtoword-mcpSkill144d agoMITA77Codex
local-doc-to-markdownofershap/mcp-server-anydocSkill02d agoMITA129Claude Code
writer-documentsagent0ai/agent-zeroSkill20ktodaynoneA22Claude Code
html-to-docxrojim666/SztuCodeSkill11019d agoMITA109Claude Code
docxzhixuli0406/DuDuClawSkill51todayApache-2.0A34Claude Code, Codex
docx-presskdcube/kdcubeSkill27yesterdayMITA73Claude Code
docxPracticalSwan/agent-skillsSkill2514d agoMITA48Codex