QwenPaw is a personal AI assistant that runs on a local machine or in the cloud and connects to multiple chat applications. It provides memory, file workspaces, multiple agents, skills, plugins, and integrations with language-model providers and external tools. The catalogue entries are skills that extend its capabilities.
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/agentscope-ai/QwenPawnpx agentmods add skills/agentscope-ai/qwenpaw/pptx-zhWrote 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/agentscope-ai/qwenpaw/pptx-zh)<a href="https://agentmods.dev/skills/agentscope-ai/qwenpaw/pptx-zh"><img src="https://agentmods.dev/badge/skills/agentscope-ai/qwenpaw/pptx-zh/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/agentscope-ai/qwenpaw/pptx-zh"><img src="https://agentmods.dev/badge/skills/agentscope-ai/qwenpaw/pptx-zh.svg" alt="Reviewed on agentmods" width="80" 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.00185 | $0.06467 |
| Opus 5.5 | $0.00074 | $0.02587 |
| Sonnet 5.5 | $0.00037 | $0.01293 |
| Haiku 4.5 | $0.00018 | $0.00647 |
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 4d 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 — 247 lines — stays where its author put it; the contents beside it link to each section on GitHub.
重要说明: 所有
scripts/路径均相对于本技能目录。 运行方式:cd {this_skill_dir} && python scripts/...或使用execute_shell_command的cwd参数。
PPTX 创建、编辑与分析
前置依赖
- pptxgenjs (npm, 已预装 — 仅当
require('pptxgenjs')失败时才安装): 从零创建演示文稿 - markitdown[pptx]: 从演示文稿提取文本
- Pillow: 生成缩略图网格
- defusedxml、lxml: clean/validate/thumbnail 脚本使用的 XML 解析库
- LibreOffice (
soffice): 演示文稿转 PDF(通过scripts/office/soffice.py为沙箱环境自动配置) - pdftoppm (poppler-utils): PDF 转图片,用于缩略图/视觉工作流
- 如果
pdftoppm不可用,Python 备用路径可能使用pdf2image。 - 在 Windows 上,依赖项必须已安装并在
PATH中可用;如缺失,请报告依赖问题并停止(不要反复重试)。
.pptx 文件是 XML 文件的 ZIP 压缩包。按任务选择方法:
| 任务 | 方法 |
|---|---|
| 创建新演示文稿 | 编写 pptxgenjs 脚本 — 见下方注意事项 |
| 编辑现有演示文稿,或基于模板构建 | unzip → 编辑 ppt/slides/slideN.xml → zip |
| 读取内容 | markitdown deck.pptx(在 <!-- Slide number: N --> 标记下每张幻灯片一个文本块);视觉网格:python scripts/thumbnail.py deck.pptx |
脚本
路径均相对于本技能目录。其余都是普通 Python、node 或 shell。
| 脚本 | 功能 |
|---|---|
scripts/thumbnail.py deck.pptx [prefix] |
带标签的每张幻灯片网格图,用于挑选模板版式。仅限 .pptx。务必传 prefix — 默认值是 thumbnails,会覆盖同一目录里其他演示文稿的网格图 |
scripts/add_slide.py unpacked/ slide2.xml [--after slideN.xml] |
复制一张幻灯片(或 slideLayoutN.xml)并完成所有包内登记。也支持直接传 .pptx 配合 -o out.pptx |
scripts/clean.py unpacked/ |
删除不再被引用的幻灯片、媒体和关系。在 <p:sldIdLst> 定稿之后运行 |
scripts/office/validate.py deck.pptx [--original src.pptx] |
Schema、关系、内容类型、图表和幻灯片检查;每条失败信息都给出修复方法。模板衍生的文件务必传 --original — 它会把 schema 检查与模板基线对比,避免模板自身的 XSD 错误被算到你头上 |
scripts/office/soffice.py --headless --convert-to pdf deck.pptx |
LibreOffice 封装 — 直接调 soffice 在本沙箱中会挂起 |
使用 pptxgenjs 创建 — 注意事项
pptxgenjs 已预装 — 不要先运行 npm install;直接编写脚本并 require('pptxgenjs')。仅当 require 失败时才运行 npm install pptxgenjs。模型已了解该 API;以下是常见的坑:
- 添加幻灯片之前先设置
pres.layout。 默认画布是LAYOUT_16x9= 10" × 5.625",不是 13.3" 宽。超出边界的坐标会被直接写入而不是截断 — 形状只是不在幻灯片上。(LAYOUT_WIDE是 13.3" × 7.5"。) - 十六进制颜色:绝不带
#,绝不用 8 位。color: "FF0000"。"#FF0000"和把 alpha 写进十六进制("00000020")都会损坏文件。半透明效果:填充和图片用transparency: 0-100,阴影用opacity: 0.0-1.0— 用错位置会被静默忽略。 - pptxgenjs 会原地修改选项对象(首次使用时把值转换为 EMU)。绝不在两个
add*调用之间共享同一个shadow/选项对象 — 每次都新建对象。 - 阴影
offset必须 ≥ 0 — 负偏移会损坏文件。要向上投影,用angle: 270配正偏移。 letterSpacing会被静默忽略 — 真正的选项是charSpacing。- 列表: 每个列表项设
bullet: true,绝不用字面•(会渲染出双项目符号)。除最后一项外,每个数组元素都要设breakLine: true。项目符号段落之间用paraSpaceAfter控制间距,不要用lineSpacing(会出现巨大空隙)。 - 每个输出文件一个
new pptxgen()— 绝不复用实例。 rectRadius只对ROUNDED_RECTANGLE有效,对RECTANGLE无效。- 不支持渐变填充 — 改用渐变图片作为背景。
- 文本框自带内边距 — 文本与形状、线条或图标需要同 x 对齐时,设置
margin: 0。 - 演讲者备注放在
slide.addNotes("...")中(纯文本,每张幻灯片一次),绝不要放在幻灯片上的文本框里。 - 图表尽量用原生图表。 PowerPoint 能绘制的图表都用
addChart()(组合图传{type, data, options}数组)。库未暴露的 PowerPoint 原生功能(趋势线、误差线)就自己计算额外的数据序列或对生成的 OOXML 做后处理 — 不要退回渲染图片。只有 PowerPoint 没有原生形式的图表类型(Sankey、网络图、弦图)才用图片。 - 默认图表渲染得很素 — 无标题、无数据标签、配色过时。设置
showTitle+title、showValue: true+dataLabelPosition、从你的调色板取chartColors: [...],并把图表框架调安静(catAxisLabelColor/valAxisLabelColor、valGridLine: { color, size }、catGridLine: { style: "none" }、单系列时showLegend: false)。 - 堆叠柱状图/条形图上
dataLabelPosition必须是ctr、inEnd或inBase。outEnd会损坏文件。 - 使用
secondaryValAxis/secondaryCatAxis的组合系列,需要在图表选项上同时提供valAxes和catAxes,各两项。 缺了它们 pptxgenjs 会写入它从未声明的轴 id,PowerPoint 会丢弃该图表并报告文件损坏。只给valAxes不够。 writeFile()之后,运行python scripts/office/validate.py deck.pptx。 它会报告上面两类图表问题和 PowerPoint 拒绝打开的幻灯片 XML 缺陷,并给出每条的修复方法。在生成器里修,不要手改打包后的 XML。- 绝不要重排
<p:presentation>的子元素。 pptxgenjs 会把<p:notesMasterIdLst>写在<p:sldIdLst>之后,并让两个母版指向同一个主题部件。PowerPoint 能正常读取 — 移动该元素后同一份文件就打不开了。 - 图标: 用
react-icons渲染成 SVG(ReactDOMServer.renderToStaticMarkup),用sharp以 ≥256px 栅格化,然后通过addImage({ data: "image/png;base64," + buf.toString("base64") })插入 —image/png;base64,前缀是必需的(react-icons、react、react-dom、sharp已预装 — 仅当 require 失败时才npm install react-icons react react-dom sharp)。
What ships with it
55 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.
- LICENSE.txt 11 KB
- scripts/__init__.py 0 B runs code
- scripts/add_slide.py 14 KB runs code
- scripts/clean.py 10 KB runs code
- scripts/office/helpers/__init__.py 3.3 KB runs code
- scripts/office/helpers/pptx_chart.py 5.7 KB runs code
- scripts/office/helpers/pptx_slide.py 1.6 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/soffice.py 7.3 KB runs code
- scripts/office/validate.py 6.0 KB runs code
- scripts/office/validators/__init__.py 336 B runs code
- scripts/office/validators/base.py 33 KB runs code
- scripts/office/validators/docx.py 17 KB runs code
- scripts/office/validators/pptx.py 16 KB runs code
- scripts/office/validators/redlining.py 11 KB runs code
- scripts/thumbnail.py 10 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.
- 4d ago Changed · +8 lines · +20 tokens per session 75b259c154e4
- 3mo ago First seen · 239 lines · 165 tokens per session scan A 2176f8c4fde0
pptx is a skill published in the GitHub repository agentscope-ai/QwenPaw (38,316 stars, last pushed 3d ago), licensed Apache-2.0. It adds 185 tokens to every session and 6,467 once invoked, about $0.0007 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-08-30.
pptx compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pptxagentscope-ai/QwenPaw | Skill | 38k | 3d ago | Apache-2.0 | A | 185 | Claude Code, Codex |
| knowledge-builderlimecloud/lime | Skill | 1.5k | 11d ago | GPL-3.0 | A | 33 | Claude Code, Codex |
| pdf_readlimecloud/lime | Skill | 1.5k | 11d ago | GPL-3.0 | A | 19 | Claude Code |
| transcription_generatelimecloud/lime | Skill | 1.5k | 11d ago | GPL-3.0 | A | 21 | Claude Code |
| typesettinglimecloud/lime | Skill | 1.5k | 11d ago | GPL-3.0 | A | 21 | Claude Code |
| morph-pptiOfficeAI/OfficeCLI | Skill | 34k | 10d ago | Apache-2.0 | A | 169 | Claude Code, Codex |
| officecli-academic-paperiOfficeAI/OfficeCLI | Skill | 34k | 10d ago | Apache-2.0 | A | 141 | Claude Code, Codex |