kw78/dsh-office-tools
dsh-office-tools
Model-facing Office tools for DeepSeek Harness: Word (.docx), Excel (.xlsx), and PowerPoint (.pptx) create/read/update with workspace-safe paths and PPT image embedding.
Install
npx @deepseek-ai/dsh plugin --profile web add dsh-office-toolsRestart `dsh web` after install. Bundle APIs can change during the developer preview.
README badge
[](https://dshhub.dev/plugins/dsh-office-tools)Paste this into your README. The star count updates with every catalog sync.
From the README
Excerpt from kw78/dsh-office-tools, cleaned of badges and images.
dsh-office-tools
If you find this project useful, please give it a ⭐ Star — it helps others find it.
Eight model-facing Office file tools for DeepSeek Harness: create, read, and update Word (.docx), Excel (.xlsx), and PowerPoint (.pptx) files inside the session workspace. Zero runtime dependencies — every package is generated and parsed by the plugin's own OOXML engine, and every byte crosses the official ctx.fs service.
Scope: this is a file generator, not an editor. It creates files and appends to them (word_update appends; there is no ppt_update), word_create and each word_update write at most one table, and PPT images are linked, not embedded because the workspace write channel is text-only.
Tools
| Tool | Purpose |
|---|---|
word_create | Create .docx (title, paragraphs, bullets, one table) |
word_read | Extract text; format: "markdown" renders structure |
word_update | Append paragraphs, bullets, and/or a table |
excel_create | Create multi-sheet .xlsx from cell grids |
excel_read | Read sheets as rows; formulas return cached values or '=…' |
excel_update | Replace/create sheets, or write cells by A1 address |
ppt_create | Create 16:9 .pptx (slides, bullets, notes, linked images) |
ppt_read | Extract text, notes, tables, and per-shape geometry |
Strings starting with = become real Excel formulas.
Demo
One prompt, a quarterly-report trio:
Positioning
A headless OOXML toolkit, not a visual office suite: about 160 KB unpacked, no runtime npm dependencies (everything is bundled), no local service, no browser, and no telemetry. Every write goes through the DSH filesystem service, so behavior is identical in a desktop session and in CI.
| dsh-office-tools | Visual office suites (e.g. Univer-based plugins) | |
|---|---|---|
| Output | Standard .docx / .xlsx / .pptx files | Native document model, exported to Office formats |
| Runtime | Node ≥ 20 only | Local gateway service + headless Chromium |
| Install size | ~160 KB unpacked | Hundreds of MB |
| Review | Tool results, markdown, wireframe sketches | Live canvas previews and approval cards |
Use a visual suite when you need to see and approve every edit; use this plugin when the agent should produce standard Office files in bulk without extra moving parts.
Install
dsh plugin --profile web add dsh-office-tools # npm (recommended)
dsh plugin --profile web add github:kw78/dsh-office-tools # from source
Restart DSH after installing. Requires a profile that provides the fs service (every profile with built-in read/write tools does).
Notes
…
