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 Bwkyd/wps-skills --skill wps-ppt-to-docgit clone --depth 1 https://github.com/Bwkyd/wps-skillsWrote 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/bwkyd/wps-skills/wps-ppt-to-doc)<a href="https://agentmods.dev/skills/bwkyd/wps-skills/wps-ppt-to-doc"><img src="https://agentmods.dev/badge/skills/bwkyd/wps-skills/wps-ppt-to-doc/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/bwkyd/wps-skills/wps-ppt-to-doc"><img src="https://agentmods.dev/badge/skills/bwkyd/wps-skills/wps-ppt-to-doc.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.00097 | $0.01409 |
| Opus 5 | $0.00048 | $0.00705 |
| Sonnet 5 | $0.00019 | $0.00282 |
| Haiku 4.5 | $0.00010 | $0.00141 |
Grade A, and why
wps-ppt-to-doc 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 12d 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 — 180 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PPT转Word工具
PPT → 结构化Word文档。会后分发、归档必备。
When to Use
- PPT内容需要转为Word文档
- 会议演示材料需要文字版分发
- PPT归档需要可搜索的文档格式
- 用户说"把PPT转成Word""导出PPT文字内容"
When NOT to Use
- Word转PPT → 使用
wps-ppt-outline+wps-ppt-gen - 只需提取文字 → 直接读取PPT文本
转换模式
[1] 完整模式 → 标题+内容+图表描述+备注
[2] 精简模式 → 仅标题+要点
[3] 讲义模式 → 含幻灯片缩略描述+详细文字
工作流程
Step 1: 读取PPT
from pptx import Presentation
from docx import Document
from docx.shared import Pt, Cm
from docx.enum.text import WD_ALIGN_PARAGRAPH
from docx.oxml.ns import qn
import os
def ppt_to_word(ppt_path, mode='完整', output_path=None):
"""PPT转Word"""
prs = Presentation(ppt_path)
doc = Document()
# 页面设置
section = doc.sections[0]
section.top_margin = Cm(2.54)
section.bottom_margin = Cm(2.54)
section.left_margin = Cm(3.18)
section.right_margin = Cm(3.18)
def set_font(run, name='宋体', size=12, bold=False):
run.font.size = Pt(size)
run.font.name = name
run._element.rPr.rFonts.set(qn('w:eastAsia'), name)
run.bold = bold
# 文档标题(使用PPT第一页标题)
first_title = ''
if prs.slides:
for shape in prs.slides[0].shapes:
if shape.has_text_frame and shape == prs.slides[0].shapes.title:
first_title = shape.text_frame.text
break
p = doc.add_paragraph()
p.alignment = WD_ALIGN_PARAGRAPH.CENTER
run = p.add_run(first_title or 'PPT文档内容')
set_font(run, '黑体', 18, True)
doc.add_paragraph()
# 逐页转换
for i, slide in enumerate(prs.slides):
slide_title = ''
slide_texts = []
has_notes = False
notes_text = ''
for shape in slide.shapes:
if shape.has_text_frame:
if shape == slide.shapes.title:
slide_title = shape.text_frame.text.strip()
else:
for para in shape.text_frame.paragraphs:
text = para.text.strip()
if text:
slide_texts.append(text)
# 备注
if slide.has_notes_slide:
notes = slide.notes_slide.notes_text_frame.text.strip()
if notes:
has_notes = True
notes_text = notes
# 写入Word
if i > 0 or slide_title != first_title:
# 章节标题
p = doc.add_paragraph()
run = p.add_run(f'{slide_title or f"第{i+1}页"}')
set_font(run, '黑体', 14, True)
p.paragraph_format.space_before = Pt(18)
p.paragraph_format.space_after = Pt(6)
# 内容要点
for text in slide_texts:
p = doc.add_paragraph()
p.paragraph_format.first_line_indent = Pt(24)
run = p.add_run(text)
set_font(run, '宋体', 12)
# 备注(完整模式)
if mode == '完整' and has_notes:
p = doc.add_paragraph()
run = p.add_run(f'【备注】{notes_text}')
set_font(run, '楷体', 10)
# 图表标注
for shape in slide.shapes:
if shape.has_chart:
p = doc.add_paragraph()
run = p.add_run('【此处包含图表】')
set_font(run, '楷体', 10)
if shape.has_table:
# 提取表格数据
table = shape.table
doc_table = doc.add_table(rows=len(table.rows),
cols=len(table.columns))
for ri, row in enumerate(table.rows):
for ci, cell in enumerate(row.cells):
doc_table.cell(ri, ci).text = cell.text
if not output_path:
base = os.path.splitext(os.path.basename(ppt_path))[0]
output_path = f'{base}_文档版.docx'
doc.save(output_path)
return os.path.abspath(output_path)
What ships with it
1 file 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.
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.
- 12d ago First seen · 180 lines · 97 tokens per session scan A 521a0813a795
wps-ppt-to-doc is a skill published in the GitHub repository Bwkyd/wps-skills (8 stars, last pushed 4mo ago), licensed MIT. It adds 97 tokens to every session and 1,409 once invoked, about $0.0005 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-31.
Other skills, from other repositories
docx-template-translator
Adaptive conversion of LaTeX, PDF, or Markdown sources into a complete Word .docx that follows a user-supplied .docx template. Use when pandoc --reference-doc alone is not enough — for thesis, dissertation, report, or institutional Word formatting that needs cover pages, declarations, TOC, heading numbering, captions…
法律文件脱敏处理
A browser-based and Python tool for removing sensitive details from legal Word documents and restoring them later. It can replace information such as names, dates, prices, bank accounts and case numbers while preserving document formatting.
note-organizer
Use this skill whenever the user wants to organize course materials, lecture notes, PPT/PDF/DOCX files, textbooks, personal notes, senior-student notes, historical exams, review questions, standards, manuals, or scattered study resources into a structured Markdown note library. Use it even when the user only says…
exhibition-outline
A template for turning an exhibition plan into a three-page presentation outline. The pages cover the theme, its explanation and visitor story, and a detailed area-by-area display plan.
tender-analysis
A workflow for reviewing tender documents, which are formal project requests that describe requirements and bidding rules. It extracts project details, technical and business conditions, deadlines, scoring rules, risks, and questions for clarification.
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when…