AI Agent Hub
Back to plugins
⚙️

dsh-office-toolkit

Workflow Updated 2026.09.15

Run the following command in DeepSeek Harness:

dsh plugin install cnkids/dsh-office-toolkit

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install cnkids/dsh-office-toolkit in DeepSeek Harness to install the plugin, whose source code is hosted at https://github.com/cnkids/dsh-office-toolkit

About this plugin

DSH agents are built for plain text, and the moment they hit a .docx or .xlsx file the built-in read tool simply throws a binary file error. dsh-office-toolkit fills that gap: once installed, agents can read reports, edit ledgers, fill contract templates, and convert legacy formats without any manual file shuttling.

Everything runs in pure JavaScript with no Office or LibreOffice dependency, covering .docx, .xlsx, .xls, .csv, and .pdf. Beyond creating new documents and workbooks, it edits existing files in place—find-and-replace across runs, paragraph-level rewrites, multi-level auto-numbering, table styling with merge and border controls, and header/footer/TOD field insertion. A dryRun flag lets you preview changes before they hit disk. For spreadsheets, office_query performs filtering, grouping, aggregation, multi-table joins, and pivot tables directly inside the file, returning only the conclusion even on tens of thousands of rows.

It suits developers and teams who want to automate office-document workflows inside a conversation: batch contract generation, periodic report formatting, Excel ledger maintenance, and bulk legacy-format conversion all fit naturally.

Use Cases

  • Agents read Word reports and edit Excel ledgers directly inside a conversation without falling back to text-only tools
  • Batch-fill contract and notice templates with Chinese variable names and loop-based detail rows
  • Filter, aggregate, join, and pivot tens of thousands of spreadsheet rows in-place, returning only the conclusion

Best For

  • Developers and teams who automate office-document workflows inside a DSH conversation
  • Engineers who need document read/write support without installing Office or LibreOffice
  • Business teams that batch-generate contracts, format periodic reports, or convert legacy file formats