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 agentmods add skills/seed-forge/harness-ai-kit/work-convertnpx skills add seed-forge/harness-ai-kit --skill work-convertgit clone --depth 1 https://github.com/seed-forge/harness-ai-kitWrote 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/seed-forge/harness-ai-kit/work-convert)<a href="https://agentmods.dev/skills/seed-forge/harness-ai-kit/work-convert"><img src="https://agentmods.dev/badge/skills/seed-forge/harness-ai-kit/work-convert.svg" alt="Measured on agentmods" 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 | $0.00081 | $0.00960 |
| Opus 5 | $0.00041 | $0.00480 |
| Sonnet 5 | $0.00016 | $0.00192 |
| Haiku 4.5 | $0.00008 | $0.00096 |
Grade A, and why
work-convert 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.
What it actually says
work-convert
用途
作为 work 命名空间的格式互转编排层,提供文件到文件的格式转换能力。
与 work-export(内容→格式)的区别:
work-export:从内容出发,生成目标格式work-convert:从已有文件出发,转换为另一种格式
依赖
- depends:
docx、pdf、xlsx、pptx(社区上游)、work-markitdown(中转) - 被依赖:
work-dispatcher、work-sc-*场景技能
适用场景
- Word 文档转 PDF(docx → pdf)
- PPT 转 PDF(pptx → pdf)
- Excel 转 PDF(xlsx → pdf)
- 任意 Office 文档转 Markdown(经 work-markitdown)
- Markdown 转 HTML(配合模板)
不适用场景
- 从原始内容生成文档 → 用
work-export - 解析/读取文档内容 → 用
work-markitdown
转换管线选择
源文件格式 → 目标格式
├─ docx → pdf
│ ├─ 首选:soffice --headless --convert-to pdf
│ └─ 备选:调用 docx + pdf 技能链
├─ pptx → pdf
│ └─ soffice --headless --convert-to pdf
├─ xlsx → pdf
│ └─ soffice --headless --convert-to pdf
├─ * → md
│ └─ 调用 work-markitdown
├─ md → html
│ └─ 配合 CSS 模板生成 standalone HTML
├─ md → docx
│ └─ 调用 docx 技能(pandoc / docx-js)
└─ md → pdf
├─ 经 docx 中转:md → docx → pdf
└─ 直接:reportlab / weasyprint
LibreOffice soffice 管线
最常用的格式互转方式:
# Word → PDF
soffice --headless --convert-to pdf input.docx --outdir output/
# PPT → PDF
soffice --headless --convert-to pdf input.pptx --outdir output/
# Excel → PDF
soffice --headless --convert-to pdf input.xlsx --outdir output/
# 批量转换
Get-ChildItem -Path "源目录" -Include *.docx,*.pptx,*.xlsx | ForEach-Object {
soffice --headless --convert-to pdf $_.FullName --outdir "输出目录/"
}
注意事项:
- Windows 上 soffice 路径:
"C:\Program Files\LibreOffice\program\soffice.exe" - 中文文件名需确保终端编码支持
- 转换后检查输出文件非空
质量校验
| 转换方向 | 校验项 |
|---|---|
| 页数合理、无空白页、中文无乱码 | |
| → md | 内容完整、表格保留、无截断 |
| → html | 浏览器渲染正常、样式一致 |
| → docx | Office/WPS 打开无报错 |
推荐输出格式
执行完毕后按以下结构输出:
状态:✅ 成功 / ⚠️ 部分成功 / ❌ 失败
| <输入→输出文件/格式/路径> | <值/状态> | 说明 |
|---|
下一步:<可执行动作>
约束
- 不实现格式转换逻辑,依赖 soffice 和社区上游技能
- soffice 不可用时回退到社区上游技能链式转换
- 每次转换后 MUST 校验输出文件
- 批量转换时输出进度信息
What ships with it
3 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.
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 First seen · 107 lines · 81 tokens per session scan A ea4e04f7a7e1
work-convert is a skill published in the GitHub repository seed-forge/harness-ai-kit (21 stars, last pushed 4d ago), licensed Apache-2.0. It adds 81 tokens to every session and 960 once invoked, about $0.0004 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
liteparse
Parse documents into LLM-ready content entirely on the local machine — PDF / DOCX / XLSX / PPTX / images → Markdown, structured JSON (with bounding boxes), or page screenshots, via the lit CLI. No cloud, no LLM, works offline. Use whenever the user attaches or points to a document that must be read before reasoning…
office-artifacts
Generate real DOCX, PPTX, XLSX, PDF, CSV files using python-docx / python-pptx / openpyxl / reportlab by writing them into the dispatch artifacts dir, then explicitly deliver each one with cloud deliver . Use whenever the user asks for documents, slides, spreadsheets, reports, or PDFs.
ingest
Turn external URLs and documents into LLM-ready content — load + cache web pages (HQCC compression) and OCR PDFs/images to Markdown. Use whenever the user gives a URL, asks you to read a webpage, or attaches a PDF/scan that needs to be parsed before reasoning. Executes via the cloud load, cloud search, and cloud parse…
lov-any2deck
Generate professional slide deck images from content (Markdown, text, URLs). Creates outlines with style instructions, then generates individual slide images. Supports 16 visual styles, CJK/Latin mixed text, branding overlays, and PPTX/PDF export. Use when the user asks to "create slides", "make a presentation"…
lov-any2docx
Convert Markdown documents to professionally styled DOCX (Word) files with python-docx. Handles CJK/Latin mixed text, fenced code blocks, tables, blockquotes, cover pages, TOC field, watermarks, and page numbers. Supports multiple color themes matching any2pdf (Configurable Academic, Nord, GitHub Light, etc.) and is…
lov-rich-export
将一份面向用户的内容稳定导出为单文件 HTML、带 assets 的 HTML 文件夹、Markdown、DOCX 与 PDF,并按格式正确处理图片、音频、视频和嵌入式交互内容。用于“富媒体导出”“一键导出”“导出 html/pdf/docx/md”“离线网页”“交付包”“给产品接导出能力”等需求,以及需要为产品建立可复用内容导出管线时。.