omdsh-dev/dsh-office
办公三件套!DeepSeek Harness(dsh)的Office文档工具:生成、读取和编辑电子表格(.xlsx)、PDF和演示文稿(.pptx)。
Project Overview项目介绍
omdsh-dev/dsh-office is a native plugin built exclusively for DeepSeek Harness (DSH), adding support for processing four common types of office documents directly within the DSH agent workflow. It includes 14 individual tools split across four tool families, covering spreadsheets (xlsx), PDFs, PowerPoint presentations (pptx), and Word documents (docx). The plugin was originally ported from the office toolset of the Tianshu terminal coding agent, and adapted to fit DSH’s Cordis tool calling model. Installation can be done directly via the DSH CLI by adding the package to your existing DSH profile, or manually via npm install.
Users can choose to load all 14 tools at once, or selectively enable only the tool families they need via a configuration entry in cordis.patch.yml. Disabling unused tool families keeps the agent’s tool surface small, reducing unnecessary context bloat and avoiding accidental calls to unused tools. For example, you can enable just PDF and Word tools and disable spreadsheet and presentation tools if you never work with those formats. This plugin is ideal for developers and office workers who want to use their DSH agent to generate, batch process, or edit standard format office documents like reports, spreadsheets, and presentation decks.
The plugin has a hard dependency on DSH version 0.1.0-rc.5 or newer; installing it on an older DSH core will cause a duplicate dependency install error that breaks all tool calls. It ships with a pre-written skill file in Anthropic-compatible format that teaches the LLM proper usage patterns, which users can manually copy into their DSH skills directory. The entire project is released under the permissive Apache 2.0 license, with original copyright retained by the Tianshu project contributors.
这是一款专为 DeepSeek Harness (DSH) 开发的原生插件,提供对常见办公文档的生成、读取和编辑能力,支持xlsx表格、PDF文档、pptx演示文稿和docx Word文档四类格式,共包含14个细分工具。插件原始代码移植自Tianshu终端编程代理的官方办公插件,基于Apache-2.0协议开源,适配了DSH的Cordis工具调用模型。
该插件允许DSH代理直接读取、生成和编辑本地存储的办公文件,用户可以通过DSH命令行一键安装全量14个工具,也可以在cordis.patch.yml配置文件中单独开启需要的工具家族,关闭不需要的功能来控制代理的工具调用范围。它适合需要让大模型代理批量处理办公文档、生成标准格式报告或演示文稿的开发者和办公用户使用。
该插件明确要求DSH核心版本不低于0.1.0-rc.5,如果在低于该版本的DSH核心上安装,会导致重复安装依赖包,进而让所有工具调用崩溃。插件自带一份anthropic兼容格式的使用说明技能文件,用户可以手动复制到DSH的技能目录让模型更好地掌握使用规范。所有代码均基于Apache-2.0协议开放,允许自由修改和再分发。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-office(omdsh-dev/dsh-office)
仓库:https://github.com/omdsh-dev/dsh-office
本站详情页:https://www.yhbd.top/plugins/omdsh-dev-dsh-office/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 Apache-2.0 · ⭐ 26 · 最近提交 2026-09-24 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 26 stars - an early-stage project星标 26,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add @huiliyi37/dsh-office
把 omdsh-dev/dsh-office 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
@huiliyi37/dsh-office
English | 中文
Office document tools for DeepSeek Harness (dsh): generate, read, and edit spreadsheets (.xlsx), PDFs, presentations (.pptx), and Word documents (.docx).
Ported from the office plugins of the Tianshu terminal coding agent (Apache-2.0 licensed upstream), adapted to the dsh cordis tool model.
Tools
| Tool | What it does |
|---|---|
xlsx_read |
List sheets of a .xlsx, or read one sheet as a markdown table (range-limited for large files; formula text preserved) |
xlsx_write |
Write a 2D array to a new .xlsx (formula cells, header bold, column widths, number formats) |
xlsx_edit |
Edit an existing .xlsx: add sheets, update cells (value or formula), append rows |
xlsx_recalc |
Recalculate every formula with a lightweight pure-TS engine and report error values (#REF!, #DIV/0!, #VALUE!, #N/A, #NAME?, #NUM!) with locations |
xlsx_audit |
Statically audit formula structure: array-formula traps, aggregation ranges missing rows, formulas overwritten by hardcoded values, inconsistent formulas in a column, self-references, division by zero |
pdf_create |
Generate a real PDF with headings, paragraphs, tables, lists, code blocks and footer page numbers; CJK text renders via an auto-detected system font |
pdf_read |
Extract text from a PDF for reading into context |
pdf_merge |
Merge multiple PDFs into one, in order |
pdf_split |
Split a PDF into single-page files, or extract pages by spec ("1,3,5-7") |
pptx_create |
Generate a .pptx deck from slide definitions (title / section / content / two-column / image / table / chart), with optional theme and speaker notes |
pptx_read |
Extract slide text as markdown, optionally including speaker notes; include adds structure (summary/layouts/images/tables: shape names & cm positions, image targets, table dims) |
pptx_edit |
Find/replace text inside an existing .pptx (<a:t> surgery), preserving all layout and styling |
docx_create |
Generate a real .docx Word document from content blocks (heading / paragraph / table / code / list), with optional striped tables, page background color, and diagonal text watermark |
docx_read |
Extract text from a .docx for reading into context |
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
yogsoth-ai/de-anthropocentric-research-engine
ZSeven-W/dsh-openpencil
HanaAyane/dsh-reasoning-effort
HuanLinOTO/dsh-plugin-better-sidebar-plugin-office
joeseesun/qiaomu-rss-dsh