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.
npx skills add liyecom/liye-ai --skill docxgit clone --depth 1 https://github.com/liyecom/liye-aiWrote 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.
[](https://agentmods.dev/skills/liyecom/liye-ai/docx)<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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.
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
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.
- 8d ago First seen · 133 lines · 12 tokens per session scan A 5e58e4f60e66
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.
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…
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.
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.
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…
pdf-analysis
A PDF analysis method for reading both normal PDFs with selectable text and scanned PDFs made from page images.
ppt-analysis
A parser for PowerPoint presentations in .pptx or older .ppt format that extracts their contents and flags slides needing image-based inspection.