docx

docx is a skill for Claude Code, Codex from liyecom/liye-ai. It costs 12 tokens per session (941 once invoked), scanned A, original, Apache-2.0.

A Word document tool for creating, editing, reading, and analyzing .docx files. It can work with text, tables, pictures, formatting, comments, and tracked edits—the changes recorded while a document is reviewed.

In plain words
What is it for?
Use it to create contracts and reports, extract text or table data, manage comments and tracked edits, or update existing documents.
Why use it?
It helps change or inspect Word files while keeping their existing layout and review history intact.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it to create contracts and reports, extract text or table data, manage comments and tracked edits, or update existing documents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/liyecom/liye-ai/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 liyecom/liye-ai --skill docx
Clone the repo
git clone --depth 1 https://github.com/liyecom/liye-ai

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/liyecom/liye-ai/docx.svg)](https://agentmods.dev/skills/liyecom/liye-ai/docx)
Your own site
<a href="https://agentmods.dev/skills/liyecom/liye-ai/docx"><img src="https://agentmods.dev/badge/skills/liyecom/liye-ai/docx.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 941 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00012 $0.00941
Opus 5 $0.00006 $0.00470
Sonnet 5 $0.00002 $0.00188
Haiku 4.5 $0.00001 $0.00094

Measured 8d ago against content hash 5e58e4f60e66, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d ago.

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/00_Core_Utilities/document-processing/docx/SKILL.md · 133 lines

What it actually says

DOCX Document Processing

来源: ComposioHQ/awesome-claude-skills 适配: LiYe OS 三层架构

创建、编辑、分析 Word 文档,支持修订追踪、批注、格式保留、内容提取。

When to Use This Skill

当需要处理 Word 文档时:

  • 创建专业文档(合同、报告、提案)
  • 编辑现有文档内容
  • 处理修订追踪和批注
  • 提取文档文本和结构
  • 保留原始格式进行修改

Core Capabilities

1. 文档创建

from docx import Document

doc = Document()
doc.add_heading('报告标题', 0)
doc.add_paragraph('正文内容...')
doc.add_table(rows=3, cols=3)
doc.save('report.docx')

2. 修订追踪

  • 查看修订历史
  • 接受/拒绝修改
  • 比较文档版本
  • 合并多人修订

3. 批注管理

  • 添加批注
  • 回复批注
  • 解决批注
  • 导出批注列表

4. 格式保留

  • 段落样式
  • 字符格式
  • 表格布局
  • 页眉页脚
  • 目录生成

5. 内容提取

  • 纯文本提取
  • 结构化数据提取
  • 表格数据解析
  • 图片提取

Usage Examples

示例 1: 合同生成

用户: 帮我生成一份采购合同
Claude: [使用 docx 创建带公司抬头、条款、签名栏的专业合同]

示例 2: 报告编辑

用户: 帮我在这份报告中添加执行摘要
Claude: [使用 docx 读取文档、在开头插入摘要章节、保留原格式]

示例 3: 批量文档处理

用户: 把这些 Word 文档的内容提取出来
Claude: [使用 docx 批量提取文本、表格、元数据]

Dependencies

  • python-docx (Python)
  • docx4j (Java)
  • 或其他 OOXML 兼容库

LiYe OS Integration

业务域引用

此技能被以下业务域引用:

  • 04_Business_Operations: 商务文档(主域)
  • 08_Communication: 正式文档撰写

与其他技能的配合

  • content-writer: 内容生成后导出为 docx
  • pdf: docx 转 PDF 发布

三层架构位置

  • 物理层 (本文件): Skills/00_Core_Utilities/document-processing/docx/
  • 逻辑层索引: Skills/{domain}/index.yaml
  • L3 指令层: .claude/skills/{domain}/docx/

Created: 2025-12-28 | Adapted for LiYe OS

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. 8d ago First seen · 133 lines · 12 tokens per session scan A 5e58e4f60e66

Subscribe to this mod's changes

docx is a skill published in the GitHub repository liyecom/liye-ai (33 stars, last pushed yesterday), licensed Apache-2.0. It adds 12 tokens to every session and 941 once invoked, about $0.0001 per session on Opus 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-08-30.

Related

Other skills, from other repositories

sn-ppt-entry

Entry point for PPT generation. Asks the user to choose a mode (fast, standard, or creative), then collects role / audience / scene / pagecount as needed. For standard mode, also asks how images should be sourced (AI generation, web search, or none), whether charts should use AI-generated infographics or ECharts, and…

OpenSenseNova/SenseNova-Skills · 204 tokens

sn-da-excel-workflow

A step-by-step workflow for analysing Excel workbooks with multiple sheets. It covers reading data, cleaning it, filtering and combining results, and exporting reports, with a separate strategy for large files.

OpenSenseNova/SenseNova-Skills · 348 tokens

sn-da-large-file-analysis

A workflow for analyzing very large Excel datasets, especially files with at least 10,000 rows. It uses lower-memory reading, streaming through rows, splitting work into chunks, and converting data to Parquet, a column-based data format suited to repeated analysis.

OpenSenseNova/SenseNova-Skills · 218 tokens

sn-ppt-creative

Creative-mode PPT pipeline. One full-page 16:9 PNG per slide. LLM / VLM calls go through sn-ppt-standard/lib/modelclient.py (shared thin client). Text-to-image (the actual png rendering) goes through sn-image-base/scripts/snagentrunner.py. Falls back to web image search when T2I generation fails. Expects taskpack.json…

OpenSenseNova/SenseNova-Skills · 97 tokens

pdf-analysis

A PDF analysis method for reading both normal PDFs with selectable text and scanned PDFs made from page images.

OpenSenseNova/SenseNova-Skills · 48 tokens

ppt-analysis

A parser for PowerPoint presentations in .pptx or older .ppt format that extracts their contents and flags slides needing image-based inspection.

OpenSenseNova/SenseNova-Skills · 51 tokens