docx

docx is a skill for Claude Code, Codex from seaworld008/Commonly-used-high-value-skills. It costs 41 tokens per session (3,686 once invoked), scanned A, a copy of docx, MIT.

A skill for creating, reading, editing, and inspecting Microsoft Word documents in the .docx format. It supports tasks such as extracting text, changing document structure, converting documents for review, and rendering pages as images.

In plain words
What is it for?
Use it to analyze or modify .docx files, create formatted documents, inspect tracked changes, and check the visual output of each page.
Why use it?
It helps automate Word-document work without requiring manual editing for every change or review.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to analyze or modify .docx files, create formatted documents, inspect tracked changes, and check the visual output of each page.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/seaworld008/commonly-used-high-value-skills/docx
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add seaworld008/Commonly-used-high-value-skills --skill docx
Clone the repo
git clone --depth 1 https://github.com/seaworld008/Commonly-used-high-value-skills

Made for: Claude Code, 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/seaworld008/commonly-used-high-value-skills/docx/github.svg)](https://agentmods.dev/skills/seaworld008/commonly-used-high-value-skills/docx)
Your own site
<a href="https://agentmods.dev/skills/seaworld008/commonly-used-high-value-skills/docx"><img src="https://agentmods.dev/badge/skills/seaworld008/commonly-used-high-value-skills/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/seaworld008/commonly-used-high-value-skills/docx"><img src="https://agentmods.dev/badge/skills/seaworld008/commonly-used-high-value-skills/docx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,686 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 75% copy Near-identical to another mod 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.00041 $0.03686
Opus 5.5 $0.00016 $0.01474
Sonnet 5.5 $0.00008 $0.00737
Haiku 4.5 $0.00004 $0.00369

Measured 12d ago against content hash 6f4d5538661a, 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 12d ago.

The scan reads SKILL.md. This mod also ships 16 executable files (scripts/__init__.py, scripts/accept_changes.py, scripts/comment.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.

Origin

This is a copy

75% identical to docx — 233 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

openclaw-skills/docx/SKILL.md · 202 lines

How it starts

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

Word 文档制作与审阅

本指南改编自 Anthropic 的 docx/SKILL.md,许可 Apache-2.0;原许可说明为 Complete terms in LICENSE.txt。 本地修改:seaworld008 于 2026-11-17 UTC 重组方法、对齐本仓库辅助程序,并补充原创案例与验收步骤。并非上游原样发布。 SPDX-License-Identifier: Apache-2.0

When to Use

输入或交付是 Word 文档,且需要正文、样式、目录、表格、批注或修订时使用。 普通通知、项目报告和操作手册可走新建路径;合同审阅与模板微调走保留原包的编辑路径。 “导出一份 PDF”若同时要求可编辑 Word 源稿,也属于本技能范围。 只有纯文本摘要且不要求 Word 结构时,无需构造 OOXML 包。 先区分三种目标:内容正确的普通文档、沿用模板的排版稿、保留审阅证据的修订稿。 同一交付可同时满足三者,但验收证据分别记录,不能靠一张首页预览代替。

选择工作路径

任务 方法与入口
新建 .docx 用 docx Node 库构造段落、样式、表格;示例见 EXTENDED.md
修改既有文档 解包,定位相关 XML 节点,最小范围修改,重新打包
审阅并显示修改 在 XML 中保留作者、时间和插入/删除边界,按原稿验证
加批注或回复 使用 comment.py,再放置锚点
检查版面 使用 render_docx.py 渲染并逐页检查
检查包结构 使用 validate.py,结合原稿比较

以下命令路径均相对于本技能目录。.docx 是 OOXML ZIP 包;改扩展名不会把 PDF 或旧 .doc 转成 OOXML。 需要旧格式转换时先生成新的 .docx,确认内容完整后再进入编辑流程。

新建时的布局约束

先确定纸张、页边距和正文区域,再安排标题、列表、表格、页眉页脚与图片。 页尺寸使用 DXA,1440 DXA 为一英寸;不要依赖不同生成器的默认纸张。 为每一级标题设置字体、段前段后间距及与下段同页;目录使用真实标题层级。 列表使用编号定义,避免输入装饰性圆点来模拟项目符号。 表格同时设置列宽与单元格宽度,所有列之和等于表宽,表宽不得超出正文区域。 用独立段落表达段落边界;分页符置于段落内;图片声明类型并保持纵横比。 新建的表格、目录和页码都应能在 Word 中继续编辑。 详细代码及表格验收见 EXTENDED.md。

编辑与修订

python scripts/office/unpack.py original.docx work
# 编辑 work/word/document.xml 及确有需要的关联部件
python scripts/office/pack.py work edited.docx --original original.docx
python scripts/office/validate.py edited.docx --original original.docx

可见句子可能横跨多个 w:r;先找段落和运行边界,不能假定 XML 中有整句连续文本。 unpack.py 提供 --merge-runs 与 --simplify-redlines;须保留原修订边界时先确认选项含义,不能把规范化结果当原始证据。 更改普通文本时保留同一运行中的格式和空格属性;避免全包重新格式化 XML。 修订使用 w:ins / w:del 包含受影响运行,并设置 w:id、w:author、w:date。 删除内容使用 w:delText;删除段落标记与删除段内文字是两件事,详见 修订验收。

python scripts/office/validate.py edited.docx --original original.docx --author Reviewer

Read the full file on GitHub · 202 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. 12d ago Changed 6f4d5538661a
  2. 13d ago Changed · -273 lines c9aebdb9ce7e
  3. 2mo ago Changed · -137 lines · -127 tokens per session fe5f8367b956
  4. 2mo ago First seen · 612 lines · 168 tokens per session scan A c54ca1e218b2

Subscribe to this mod's changes

docx is a skill published in the GitHub repository seaworld008/Commonly-used-high-value-skills (75 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 3,686 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 75% identical to docx, differing in 233 lines, and is treated as a copy.

Related

docx compared with skills from other repositories

docx next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docxseaworld008/Commonly-used-high-value-skillsSkill75todayMITA41Claude Code, Codex
omh-long-document-readingrlaope/oh-my-hermesSkill6.2ktodayMITA81Claude Code, Codex
omh-materials-packagerlaope/oh-my-hermesSkill6.2ktodayMITA21Claude Code
omh-report-packagerlaope/oh-my-hermesSkill6.2ktodayMITA18Claude Code
writer-documentsagent0ai/agent-zeroSkill20ktodaynoneA22Claude Code
hermesoffice-documentscriptogus/HermesOfficeSkill64220d agoApache-2.0A57Claude Code, Codex
hermesofficecriptogus/HermesOfficeSkill64220d agoApache-2.0A57Claude Code, Codex