
omdsh-dev/dsh-office
72Last commit Aug 16, 2026
dsh-office DSH plugin
This plugin provides 14 tools for handling office documents in DeepSeek Harness. It supports creating, reading, and editing spreadsheets, PDFs, presentations, and Word documents. The tools are ported from the Tianshu terminal coding agent and adapted to the DSH cordis tool model.
How to install the dsh-office DSH plugin
dsh plugin --profile <name> add @huiliyi37/dsh-officeThis source command needs manual review. Copying does not run it.
dsh-office DSH plugin data source
dsh-office DSH plugin snapshot date: Aug 16, 2026
discovered
What the dsh-office DSH plugin can do
- Read, write, edit, recalculate, and audit Excel (.xlsx) spreadsheets
- Create, read, merge, and split PDF files with CJK text support
- Create, read, and edit PowerPoint (.pptx) presentations with slide definitions and speaker notes
- Create and read Word (.docx) documents with tables, code blocks, and watermarks
- Selectively enable/disable tool families via configuration to reduce tool surface
Where the dsh-office DSH plugin fits
- Generate a quarterly report PDF with tables, headings, and page numbers
- Read an Excel spreadsheet and convert it to markdown table for context
- Merge multiple invoices into a single PDF file
- Edit an existing PowerPoint presentation by finding and replacing text
- Create a Word document with a table and a diagonal watermark
Who the dsh-office DSH plugin is for
- Developers who need to automate office document generation in DSH workflows
- Data analysts who want to process spreadsheet data within DSH conversations
- Anyone using DSH who needs to produce or manipulate office documents
dsh-office DSH plugin limitations
- Requires dsh v0.1.0-rc.5 or higher; installing on older versions will cause tool call crashes
- xlsx_read has a range limit for large files; formula text is preserved but large data may be truncated
- PDF CJK rendering depends on system font detection; may not work on all systems
dsh-office DSH plugin: from the repository README
Quoted from the omdsh-dev/dsh-office README, the upstream source of the dsh-office DSH plugin. Copyright remains with the original authors.
English | [中文](README.zh.md) Office document tools for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (`dsh`): generate, read, and edit spreadsheets (`.xlsx`), PDFs, presentations (`.pptx`), and Word documents (`.docx`). Ported from the office plugins of the [Tianshu](https://github.com/Tianshu-Tui) 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, divi
Read the full READMERepository license: Apache-2.0
dsh-office DSH plugin questions
How do I install @huiliyi37/dsh-office?
Use `dsh plugin --profile <name> add @huiliyi37/dsh-office` and then launch the profile. Make sure your dsh version is at least 0.1.0-rc.5. If you install on an older version, tool calls will crash.
How can I load only the spreadsheet tools without PDF or PPT tools?
In your profile's cordis.patch.yml, add a config section for the plugin with `enable: { xlsx: true, pdf: false, ppt: false, docx: true }`. Omitted families default to enabled.
Does this plugin support Chinese characters in PDF generation?
Yes, PDF creation uses an auto-detected system font to render CJK text. If the font detection fails, you may need to ensure a CJK font is available on your system.
How do I uninstall the plugin?
Run `dsh plugin --profile <name> remove @huiliyi37/dsh-office`. This removes the plugin from the profile's bundles list.
What is the skill file and how do I use it?
The package includes a skill file (skills/SKILL.md) that teaches the model best practices for handling large files and document generation. To use it, copy the skill directory to your skill discovery root: `mkdir -p ~/.dsh/skills && cp -r node_modules/@huiliyi37/dsh-office/skills/dsh-office ~/.dsh/skills/`.