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/pptxWrote 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/pptx)<a href="https://agentmods.dev/skills/nuguri-7/cocowork/pptx"><img src="https://agentmods.dev/badge/skills/nuguri-7/cocowork/pptx/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/pptx"><img src="https://agentmods.dev/badge/skills/nuguri-7/cocowork/pptx.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.00096 | $0.04409 |
| Opus 5.5 | $0.00038 | $0.01764 |
| Sonnet 5.5 | $0.00019 | $0.00882 |
| Haiku 4.5 | $0.00010 | $0.00441 |
Grade A, and why
pptx 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 — 205 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PPTX 制作、修改与读取
| 任务 | 做法 |
|---|---|
| 新建演示文稿 | 每页手写一张 SVG → 一条命令收尾(盖品牌、检查、渲染)→ 看图自查 → 一条命令导出原生 PPTX,见「新建演示文稿」 |
| 修改已有演示文稿 | 解包 → 改 ppt/slides/slideN.xml → 重新打包,见「修改已有演示文稿」 |
| 读取内容 | python3 <本 skill 目录>/scripts/slide_text.py deck.pptx(每页一段,带 <!-- Slide number: N --> 标记) |
路径里的尖括号是占位符,执行时写成绝对路径:<本 skill 目录> 是本说明书所在目录;<工作区> 是沙箱里的工作目录(生图工具也把图存在这里);<交付区> 的实际位置见系统提示「文件放哪」那节,写进交付区的文件会自动交给用户。
新建演示文稿
转换引擎取自开源项目 PPT Master(MIT):SVG 里的矩形、圆、线、文字、图片、图标都会变成 PowerPoint 原生对象,用户拿到后每个元素都能单独编辑。页面完全由你设计,下面的规范只管「转换器认什么」和「品牌是什么样」。
步数有限,能合并的工具调用一律合并:多张配图在同一次回复里一起生成;图标一条命令全部复制;几页 SVG 放进一条命令一起写;收尾和导出各只用一条命令。整套流程控制在 15 次工具调用左右。
第 1 步:规划(写 SVG 之前定完)
- 页数与每页一句话:每页只讲一件事,先写出每页的核心信息。产品介绍常见结构:封面 → 痛点 → 能力 → 章节页 → 数据 → 流程 → 对比 → 结尾。
- 每页的版式:相邻两页不用同一种版式。可选:照片铺满 + 渐变遮罩、左文右图、等宽卡片网格、大数字卡片、横向时间线 / 流程、左右对比、居中大字。
- 哪些页配图:封面必配;内容页里 1–2 页配图最好看,不要每页都配。
第 2 步:建项目
mkdir -p <工作区>/deck/svg_output <工作区>/deck/images
页面放 deck/svg_output/,文件名按顺序编号:01_cover.svg、02_why.svg …… 导出时按文件名顺序成页,目录里不要留别的 SVG。
第 3 步:配图(调用 generate_image 工具)
generate_image(prompt="…", filename="ppt_cover", aspect="16:9")
→ 已生成 /workspace/ppt_cover.png(1280×720)
所有配图在同一次回复里一起调用,不要一张一张等。拿到路径后一条命令全部移进项目:mv /workspace/ppt_cover.png /workspace/ppt_team.png <工作区>/deck/images/,页面里写 href="../images/ppt_cover.png"。文件名一律以 ppt_ 开头:别的成员可能同时在生图,同名会互相覆盖。工具返回失败就不配这张图,用色块和图标排版,不要反复重试。
提示词按下面写,否则容易出卡通风、屏幕上的乱码英文、自带边框:
- 开头写 「真实摄影照片,商业杂志质感」,再写场景、人物、光线;色调写「偏墨绿与暖白」以贴合品牌色。
- 结尾固定写 「满版构图,无边框,画面中不要出现任何文字、logo 或水印」;有电脑、平板、大屏时加「屏幕背对镜头」。
- 要叠标题的图(封面、章节页)写明留白方向,如「人物位于画面右侧三分之一,左侧大面积虚化背景,适合叠加标题文字」。
- 比例:铺满整页用
16:9;左文右图的竖幅图用3:4;方形卡片用1:1。
第 4 步:图标
图标库是 Tabler 实心图标(1055 个)。规划时就把整套要用的图标定下来,一条命令全部复制进项目;拿不准名字时用 --search 查一次,不要逐个试。页面里用 <use data-icon> 引用:
python3 <本 skill 目录>/scripts/add_icons.py --search chart
python3 <本 skill 目录>/scripts/add_icons.py <工作区>/deck message-chatbot file-text database shield-check
<use data-icon="tabler-filled/database" x="108" y="240" width="32" height="32" fill="#2F6B53"/>
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.
- apt.txt 27 B
- brand/brand_stamp.py 4.8 KB runs code
- brand/examples/01_cover.svg 1.4 KB
- brand/examples/02_why.svg 2.3 KB
- brand/examples/03_capabilities.svg 3.7 KB
- brand/examples/04_section.svg 955 B
- brand/examples/05_results.svg 2.2 KB
- brand/examples/06_workflow.svg 3.0 KB
- brand/examples/07_compare.svg 2.3 KB
- brand/examples/08_ending.svg 810 B
- engine/attribution_guard.py 400 B runs code
- engine/authoring_roundtrip.py 91 KB runs code
- engine/compact_svg_coordinates.py 10 KB runs code
- engine/compact_svg_styles.py 20 KB runs code
- engine/config.py 20 KB runs code
- engine/console_encoding.py 982 B runs code
- engine/error_helper.py 16 KB runs code
- engine/extract_svg_assets.py 44 KB runs code
- engine/hyperlink_contract.py 13 KB runs code
- engine/language_tags.py 8.2 KB runs code
- engine/LICENSE 1.0 KB
- engine/native_payloads.py 24 KB runs code
- engine/NOTICE.md 961 B
- engine/pptx_animation_presets.json 559 KB
- engine/pptx_animations.py 136 KB runs code
- engine/pptx_effects.py 8.3 KB runs code
- engine/pptx_embedded_fonts.py 14 KB runs code
- engine/pptx_gradients.py 4.3 KB runs code
- engine/pptx_ooxml/__init__.py 658 B runs code
- engine/pptx_ooxml/analyzer.py 13 KB runs code
- engine/pptx_ooxml/chart_read.py 3.7 KB runs code
- engine/pptx_ooxml/clone.py 36 KB runs code
- engine/pptx_ooxml/diagram_read.py 19 KB runs code
- engine/pptx_ooxml/edit_safety.py 10 KB runs code
- engine/pptx_ooxml/ooxml.py 12 KB runs code
- engine/pptx_ooxml/package.py 12 KB runs code
- engine/pptx_ooxml/slideshow.py 3.1 KB runs code
- engine/pptx_opc_validation.py 12 KB runs code
- engine/pptx_shapes/__init__.py 3.2 KB runs code
- engine/pptx_shapes/data/LICENSE-APACHE-2.0.txt 11 KB
- engine/pptx_shapes/data/LICENSE-OPEN-XML-SDK-MIT.txt 1.1 KB
- engine/pptx_shapes/data/NOTICE.md 2.3 KB
- engine/pptx_shapes/data/presetShapeDefinitions.xml 526 KB
- engine/pptx_shapes/data/presetShapeSemantics.json 55 KB
- engine/pptx_shapes/data/shape_type_values.txt 2.5 KB
- engine/pptx_shapes/errors.py 1017 B runs code
- engine/pptx_shapes/formula.py 11 KB runs code
- engine/pptx_shapes/loader.py 12 KB runs code
- engine/pptx_shapes/models.py 4.8 KB runs code
- engine/pptx_shapes/registry.py 8.7 KB runs code
- engine/pptx_shapes/semantic_hash.py 14 KB runs code
- engine/pptx_shapes/semantics.py 18 KB runs code
- engine/pptx_shapes/xml_safety.py 634 B runs code
- engine/pptx_to_svg.py 9.1 KB runs code
- engine/pptx_to_svg/__init__.py 684 B runs code
- engine/pptx_to_svg/animation_import.py 9.1 KB runs code
- engine/pptx_to_svg/chart_to_svg.py 119 KB runs code
- engine/pptx_to_svg/chartex_to_svg.py 15 KB runs code
- engine/pptx_to_svg/color_resolver.py 31 KB runs code
- engine/pptx_to_svg/converter.py 70 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 · 205 lines · 96 tokens per session scan A e597cb181e2f
pptx is a skill published in the GitHub repository NUGURI-7/CoCoWork (16 stars, last pushed 11d ago), licensed MIT. It adds 96 tokens to every session and 4,409 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.
pptx compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pptxNUGURI-7/CoCoWork | Skill | 16 | 11d ago | MIT | A | 96 | 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 |