Passer au contenu principal
O

officesdk-plugin (dsh-adapter)

officesdk/officesdk-plugin/packages/dsh-adapter

This plugin adds native Office editors to DeepSeek Harness so you and your AI agent can edit Word documents, Excel workbooks, and PowerPoint slide decks together and review changes in place.

Installer

dsh plugin --profile web add github:officesdk/officesdk-plugin

Ce plugin se trouve dans le sous-répertoire packages/dsh-adapter du dépôt.

README

The OfficeSDK editors for Word, Excel, and PowerPoint

Edit Word, Excel, and PowerPoint files in your AI assistant

Ask your assistant for a first draft or a specific change, then finish editing in the same file.

🚀 Quick start · ✨ Features · 🌐 Website · 🎮 Demo · 📝 Blog

English · 简体中文

Plugin release Install with npm Plugin source license Core license

OfficeSDK on YouTube OfficeSDK on X

OfficeSDK is a plugin for editing Office files in the AI client you already use. Open a file from your workspace, adjust the formatting yourself, or ask your assistant to revise a paragraph, a range of cells, or a single slide. Review the changes in context and save them to the original file.

Contents

Quick start · Client setup · Open your first file · Editing examples · Demo · Development · Feedback · License

🚀 Quick start

To install OfficeSDK 1.0.5 on a Mac with Apple silicon, you’ll need Node.js 22.19.0 or later. Have an Office file ready, or use the sample presentation below.

Copy a request for your assistant to install OfficeSDK and open your first file
Follow the instructions at https://github.com/officesdk/officesdk-plugin to install and enable OfficeSDK 1.0.5 in this client.
Open the file I specify in OfficeSDK. If I haven’t specified a file, download the sample below to the current workspace and open it.
https://raw.githubusercontent.com/officesdk/officesdk-plugin/v1.0.5/test/fixtures/sample.pptx
If I need to import the plugin or click a file card, tell me where to click. Once the file opens, tell me its name and what you see in the editor. If you can’t see the editor, ask me to confirm what’s on screen.

1. Install the plugin in your client

Paste this command into your assistant’s chat and ask it to run the installer for the current client.

npx --yes @officesdk/officesdk-plugin@1.0.5

2. Finish setup in your client

The installer usually detects the current client. If it asks you to choose one, use the identifier in parentheses below. This example installs OfficeSDK for WorkBuddy from a terminal.

npx --yes @officesdk/officesdk-plugin@1.0.5 --host workbuddy
Client (installer identifier)What to do next
DeepSeek Harness (dsh), Codex (codex), Antigravity (antigravity), MiniMax Code (minimax), ZCode (zcode)Follow the installer prompts, then open your file in that client.
WorkBuddy (workbuddy)If chat blocks installation, run the terminal command above, then reopen WorkBuddy.
Hermes Agent (hermes)Enable OfficeSDK under Settings → Plugins, then start a new session.
Cursor (cursor), Grok Build (grok)Run the installer from the project where you plan to edit files, then open your file in that project.
Kimi Work (kimi)If Kimi asks you to activate OfficeSDK, update and enable it on your personal plugins page.
Doubao Work (豆包工作, doubao)Go to 插件 · 技能 → 上传个人插件 (upload a personal plugin) and select the ZIP file created by the installer.
Qwen Work (千问办公, qwen)Go to 技能 · 扩展 → 专家套件 → 本地安装 (install an expert kit from a local file) and select the ZIP file created by the installer.

3. Open your first file in OfficeSDK

Choose a Word, Excel, or PowerPoint file in your workspace and ask your assistant to open it in OfficeSDK. If a file card appears in chat, select it to open the editor. If you don’t have a file handy, download sample.pptx to the workspace and ask your assistant to open it.

Setup is complete when you can see the file’s contents in the editor. For your own file, check its name and a familiar passage, cell, or slide. The sample has two slides. The title on slide 1 is OfficeSDK sample deck.

✏️ Edit a file with your assistant

When starting a new file, describe what you need. From the same meeting notes, you might ask for minutes in Word, a budget workbook in Excel, or slides for the next review in PowerPoint. For a workbook, specify which columns need formulas. For a presentation, describe the audience, slide count, and style.

When revising a file, say where the change belongs and what to keep. Open the file and point your assistant to a paragraph, a range of cells, or a slide. Review the edit in context, make any final adjustments yourself, and save.

FileWhat you might askWhat to check in the editor
Word (.docx)Shorten the last paragraph of the monthly report to two sentences. Keep the delivery date and the name of the person responsible.Review the wording in context, check tracked changes, and adjust paragraph spacing.
Excel (.xlsx)In the variance column, subtract the budget from actual spending.Open a result cell to check the formula references, then format the amounts to two decimal places.
PowerPoint (.pptx)Rewrite the title on slide 3 to name the decision we need to make today.Check where the title wraps, reposition the text box if needed, and preview the slide.

In 1.0.5, the three editors have 233 top-level ribbon controls across Word (81), Excel (64), and PowerPoint (88). For example, you can insert a footnote in Word, freeze a header row in Excel, or set a slide transition in PowerPoint. The count includes each top-level control once per editor and excludes individual spreadsheet functions and submenu options.

Tool settings, selections, and undo

If your client lists model editing tools separately, enable them as well. When editing an existing file, follow the client’s confirmation prompt if one appears, then review the changes in the file.

  • In Word, you can select text to rewrite. In Excel, you can request changes to a selection of up to 200 contiguous cells.
  • In PowerPoint, you can undo a batch of AI edits in one step. If you stop a Word or Excel task midway through, completed edits stay in the file. Review them before saving.
  • The built-in Word skill can draft meeting minutes, weekly reports, or formal letters. For a new PowerPoint presentation, choose the slide count and style, then review the slides as they appear in the editor.

🎬 Plugin demo

Select the cover to see how to edit a file with OfficeSDK in the English demo, or watch it on YouTube.

Play the English demo of OfficeSDK editing Office files beside the chat

📚 Plugin development

TopicResources
How the installer detects a client and selects its adapterUniversal installer · Client installation routes in 1.0.5
How clients integrate file tabs and AI editing toolsFile workspace · Agent tools · Client adapters
How to package and test the plugin, and where to find releasesPackaging tools · Test scripts · Releases

Related products. OfficeSDK Desktop supports offline document editing. OfficeAPI provides online file conversion and preview.

💬 Community and feedback

If a file won’t open, looks wrong, or fails to save, open a GitHub issue or email sdk-contact@officesdk.com. Include the client name, plugin version, file type, and steps to reproduce the problem.

OfficeSDK on YouTube · Product updates on X

📄 License

The plugin source code is available under the MIT License. Separate terms apply to the document engine and editor resources. See the component notices and the OfficeSDK Core End User License Agreement.

↑ Back to top

Plugins associés