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.
git clone --depth 1 https://github.com/NUGURI-7/CoCoWorknpx agentmods add skills/nuguri-7/cocowork/docxWrote 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/nuguri-7/cocowork/docx)<a href="https://agentmods.dev/skills/nuguri-7/cocowork/docx"><img src="https://agentmods.dev/badge/skills/nuguri-7/cocowork/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.
<a href="https://agentmods.dev/skills/nuguri-7/cocowork/docx"><img src="https://agentmods.dev/badge/skills/nuguri-7/cocowork/docx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00088 | $0.02118 |
| Opus 5.5 | $0.00035 | $0.00847 |
| Sonnet 5.5 | $0.00018 | $0.00424 |
| Haiku 4.5 | $0.00009 | $0.00212 |
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 13d 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.
How it starts
The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DOCX 制作、修改与读取
.docx 是一个装着 XML 文件的 ZIP 包。脚本路径都相对于本 skill 目录,执行时写成绝对路径。
| 任务 | 做法 |
|---|---|
| 新建文档 | 写一个 Node 脚本,用 brand/brand.js 生成 —— 见下方「品牌模板(必须)」 |
| 修改已有文档 | 解包 → 改 word/document.xml → 重新打包(docx-js 打不开已有文件),见「修改已有文档」 |
| 读取内容 | pandoc -t markdown file.docx |
路径里的尖括号是占位符,写成绝对路径:<本 skill 目录> 是本说明书所在目录,<交付区> 的实际位置见系统提示「文件放哪」那节。写进交付区的文件会自动交给用户。
品牌模板(必须)
新建文档一律用 brand/brand.js 的 createDocument():A4 版面、页眉(Logo + CoCoWork + 文档标题)、页脚(资料密级 + 「第 x 页 / 共 y 页」)、中文字体(标题微软雅黑、正文宋体)和标题样式都已定好,风格与 PPT 一致。不要自己写页眉页脚、改字体或配色。
const brand = require("<本 skill 目录>/brand/brand.js");
const doc = brand.createDocument({
title: "CoCoWork 产品方案",
cover: { // 不要封面就不传
kicker: "PRODUCT PROPOSAL", // 标题上方的英文小标签,可省
subtitle: "企业内部 AI 业务能力门户",
image: "<工作区>/docx_cover.png", // generate_image 生成的封面图,可省
date: "2026 年 11 月",
},
classification: "对外资料", // 页脚左侧,如「内部资料」
children: [
brand.heading("一、方案概述", 1),
brand.paragraph("正文段落,首行自动缩进两字。"),
brand.callout("核心价值", "一段结论或要点摘要,浅绿底提示框。"),
brand.heading("二、上线效果", 1),
brand.statRow([{ value: "3 分钟", label: "产出方案初稿" }, { value: "100%", label: "调用可追溯" }]),
brand.figure("<工作区>/team.png", "图 1 协作方式", { widthRatio: 0.85 }),
brand.bullets(["要点一", "要点二"]), // { numbered: true } 改成 1. 2. 3.
brand.table([["版本", "说明"], ["标准版", "……"]], [2400, brand.CONTENT_WIDTH - 2400]),
],
});
await brand.save(doc, "<交付区>/产品方案.docx");
| 函数 | 用途 |
|---|---|
heading(text, level) |
一到三级标题,品牌色,进目录 |
paragraph(text, options) |
正文;text 可以是 [{ text: "加粗前缀:", bold: true }, { text: "说明" }];{ indent: false } 取消首行缩进 |
bullets(items, { numbered }) |
项目符号 / 编号列表 |
table(rows, columnWidths) |
第一行表头(品牌色底白字),隔行浅绿底;列宽单位 DXA,合计等于 brand.CONTENT_WIDTH,不传则均分 |
callout(title, text) |
浅绿底提示框,放结论、摘要 |
statRow(items) |
2–4 个大数字卡片,第一个品牌色底(与 PPT 数据页一致) |
figure(path, caption, { widthRatio }) |
配图(PNG / JPG),按原比例缩放到版心宽度 |
What ships with it
57 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.
- apt.txt 7 B
- brand/brand.js 14 KB runs code
- brand/logo.png 18 KB
- LICENSE.txt 11 KB
- package.json 68 B
- requirements.txt 30 B
- scripts/__init__.py 1 B runs code
- scripts/merge_runs.py 9.2 KB runs code
- scripts/office/helpers/__init__.py 3.9 KB runs code
- scripts/office/helpers/pptx_chart.py 9.7 KB runs code
- scripts/office/helpers/pptx_slide.py 3.3 KB runs code
- scripts/office/helpers/pptx_theme.py 3.4 KB runs code
- scripts/office/schemas/ecma/fouth-edition/opc-contentTypes.xsd 1.9 KB
- scripts/office/schemas/ecma/fouth-edition/opc-coreProperties.xsd 2.5 KB
- scripts/office/schemas/ecma/fouth-edition/opc-digSig.xsd 2.8 KB
- scripts/office/schemas/ecma/fouth-edition/opc-relationships.xsd 1.3 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/dml-chart.xsd 73 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd 6.8 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd 50 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd 624 B
- scripts/office/schemas/ISO-IEC29500-4_2016/dml-main.xsd 148 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/dml-picture.xsd 1.2 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd 8.7 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd 14 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/pml.xsd 82 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd 1.2 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd 7.2 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd 6.2 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd 1.2 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd 880 B
- scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd 2.5 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd 3.4 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd 7.3 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/shared-math.xsd 23 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd 1.3 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/sml.xsd 237 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/vml-main.xsd 26 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd 25 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd 535 B
- scripts/office/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd 5.6 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd 3.9 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/wml.xsd 167 KB
- scripts/office/schemas/ISO-IEC29500-4_2016/xml.xsd 4.5 KB
- scripts/office/schemas/mce/mc.xsd 3.1 KB
- scripts/office/schemas/microsoft/wml-2010.xsd 26 KB
- scripts/office/schemas/microsoft/wml-2012.xsd 3.7 KB
- scripts/office/schemas/microsoft/wml-2018.xsd 901 B
- scripts/office/schemas/microsoft/wml-cex-2018.xsd 1.7 KB
- scripts/office/schemas/microsoft/wml-cid-2016.xsd 1002 B
- scripts/office/schemas/microsoft/wml-sdtdatahash-2020.xsd 600 B
- scripts/office/schemas/microsoft/wml-symex-2015.xsd 745 B
- scripts/office/validate.py 7.5 KB runs code
- scripts/office/validators/__init__.py 336 B runs code
- scripts/office/validators/base.py 34 KB runs code
- scripts/office/validators/docx.py 19 KB runs code
- scripts/office/validators/pptx.py 21 KB runs code
- scripts/office/validators/redlining.py 19 KB runs code
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.
- 13d ago First seen · 115 lines · 88 tokens per session scan A a97304364909
docx is a skill published in the GitHub repository NUGURI-7/CoCoWork (16 stars, last pushed 11d ago), licensed MIT. It adds 88 tokens to every session and 2,118 once invoked, about $0.0004 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-17.
docx compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| docxNUGURI-7/CoCoWork | Skill | 16 | 11d ago | MIT | A | 88 | Claude Code, Codex |
| pptxnexus-research-lab/nexus | Skill | 165 | today | Apache-2.0 | A | 95 | Claude Code |
| xlsxnexus-research-lab/nexus | Skill | 165 | today | Apache-2.0 | A | 100 | Claude Code |
| docxnexus-research-lab/nexus | Skill | 165 | today | Apache-2.0 | A | 103 | Claude Code |
| pdfnexus-research-lab/nexus | Skill | 165 | today | Apache-2.0 | A | 85 | Claude Code |
| google-workspacegraniet/kheish | Skill | 209 | 23d ago | Apache-2.0 | A | 40 | Claude Code, Codex |
| notiongraniet/kheish | Skill | 209 | 23d ago | Apache-2.0 | A | 33 | Claude Code, Codex |