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-markitdownnpx skills add seed-forge/harness-ai-kit --skill work-markitdowngit 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-markitdown)<a href="https://agentmods.dev/skills/seed-forge/harness-ai-kit/work-markitdown"><img src="https://agentmods.dev/badge/skills/seed-forge/harness-ai-kit/work-markitdown.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.00093 | $0.01247 |
| Opus 5 | $0.00046 | $0.00624 |
| Sonnet 5 | $0.00019 | $0.00249 |
| Haiku 4.5 | $0.00009 | $0.00125 |
Grade A, and why
work-markitdown 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 5d 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 — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.
work-markitdown
用途
作为 work 命名空间的通用 Inflow 基座,提供 15+ 种文件格式到 Markdown 的统一转换入口。
本技能 extends 上游 markitdown 社区技能,不重新实现转换逻辑,而是:
- 补充本地环境已验证的稳定调用方式
- 定义与 work-* 编排层其他技能的协作约定
- 提供批量转换和质量校验工作流
依赖
- extends:
markitdown(社区上游,负责实际格式转换) - 被依赖:
work-export、work-convert、work-dispatcher、work-sc-*场景技能
适用场景
- 把
docx、pdf、pptx、xlsx转成 markdown - 批量把资料文件夹转换成更适合 LLM 处理的文本格式
- 在 Obsidian 知识库项目里落地文档转写结果
- 为下游
work-export(导出)或work-sc-*(场景)提供 Inflow 输入
不适用场景
- 需要保留格式精确排版的导出 → 用
work-export - 文件格式互转(docx→pdf)→ 用
work-convert - 对 Word/PDF 做精细编辑 → 直接调用社区上游
docx/pdf技能
本地环境适配
稳定调用方式
优先使用本地包装命令:
.\.agents\tools\markitdown.cmd input.docx -o output.md
回退方式:
python -m markitdown input.docx -o output.md
已验证依赖
不建议 pip install "markitdown[all]"(实测可能回退主包版本)。推荐:
python -m pip install --upgrade markitdown>=0.1.5
python -m pip install openpyxl pandas pydub python-pptx pdfminer-six pdfplumber mammoth xlrd
如需 Azure / OpenAI 增强能力,各自配置凭证。
支持格式
| 格式 | 说明 | 质量 |
|---|---|---|
| 文本提取 | 良好(扫描件需 OCR) | |
| DOCX | Word 文档 | 良好(表格/格式保留) |
| PPTX | PowerPoint | 良好(含备注) |
| XLSX | Excel | 良好(表格数据) |
| Images | JPEG/PNG/GIF/WebP | EXIF + OCR |
| Audio | WAV/MP3 | 元数据 + 转写 |
| HTML | 网页 | 清洁转换 |
| CSV/JSON/XML | 结构化数据 | 表格/结构化 |
| ZIP | 归档 | 迭代内容 |
| EPUB | 电子书 | 全文提取 |
工作流
单文件转换
- 确认源文件存在
- 执行转换,输出到新文件名(如
*.markitdown.md),避免覆盖已有.md - 抽查文件头部,确认非空
- 如需 Obsidian 使用,做 markdown 清洗
批量转换
Get-ChildItem -Path "资料目录" -Include *.docx,*.pdf,*.pptx,*.xlsx -Recurse | ForEach-Object {
$outName = $_.FullName -replace '\.[^.]+$', '.markitdown.md'
python -m markitdown $_.FullName -o $outName
Write-Host "Converted: $($_.Name) -> $outName"
}
质量校验
转换后检查:
- 文件非空且行数 > 5
- 无明显乱码或截断
- 表格数据完整(如有)
与 work 生态的协作
源文件 (docx/pdf/pptx/xlsx/...)
│
▼
work-markitdown (本技能:文件→MD)
│
├─→ work-export (MD→目标格式导出)
├─→ work-sc-patent-docx-exporter (MD→专利文档)
└─→ 直接交付 (知识库/Obsidian)
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.
- 5d ago First seen · 133 lines · 93 tokens per session scan A f233615cd5a7
work-markitdown 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 93 tokens to every session and 1,247 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-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.
markitdown
Convert files, URLs, and documents to Markdown using the markitdown MCP server. Activate when the user asks to convert, extract, or read content from PDFs, Word docs, PowerPoints, spreadsheets, images, audio files, or any URL.
document-exports
Generate and TEST downloadable document exports (PDF/CSV) from a Node/Express backend — pdfkit streaming, CSV BOM, cents formatting, and the supertest/pdfkit pitfalls that silently break tests.
extract-nda-and-generate-checklist
Extract key terms from a non-disclosure agreement, then generate a compliance checklist spreadsheet tracking obligations and deadlines.
extract-receipts-to-expense-report
Extract merchant, date, amount, and category from receipt photos and PDFs in one call, then generate an XLSX expense report with a totals row.