hccccc01333/dsh-excel-chat 预览 preview

hccccc01333/dsh-excel-chat

dsh-excel-chat — 在DeepSeek Harness中与Excel对话:通过对话创建、编辑、修复和验证电子表格(单元格、公式、样式、筛选器、表格、图表);每次编辑都会自动验证。

Project Overview项目介绍

dsh-excel-chat is a native plugin built exclusively for DeepSeek Harness (DSH) that enables natural language interaction with Excel workbooks inside DSH. To install the plugin, users need to have DSH (CLI or desktop) already installed on their machine, then run the command dsh plugin --profile demo add dsh-excel-chat to pull it from npm. After installation, it is recommended to run the included doctor command dsh-excel-chat-doctor to confirm that the plugin is properly installed and all dependencies are working correctly before first use.

The plugin supports a full workflow from reading Excel workbooks, profiling data, executing edits, validating formulas to fixing errors automatically. It is designed for business users like operations analysts, product managers and data analysts who work with Excel on a daily basis, eliminating the need to remember complex Excel operations. Even if users don't know how to describe their needs, the plugin can generate a menu of available actions with example prompts, so users just need to select what they want to do.

Most basic editing, validation and analysis features work across all desktop platforms, but advanced features like creating native PivotTables, exporting charts as PNG and exporting workbooks as PDF require Windows with a local Excel installation. The plugin uses lightweight formula parsing, so it does not support full Excel grammar parsing, and ranges larger than 10,000 cells only output start and end edges. The project is open source, includes a full test suite, and users can build and install a local bundle if needed.

这是一款专为 DeepSeek Harness 开发的原生插件,支持用户在 DSH 中用自然语言操作 Excel 文件。用户只需用自然语言描述需求,比如添加指定公式、调整表格格式、检查公式错误等,插件就会自动调用工具完成全部操作。它支持读取 Excel 结构、生成操作计划、执行编辑、验证公式并自动修复错误,可通过 dsh plugin 命令从 npm 安装。

这款插件面向运营、产品、数据分析师等需要频繁处理 Excel 的用户,覆盖从表格制作、数据清洗、公式校验到报表生成的全流程。不会描述需求也没关系,上传文件后会生成能力菜单,提供常用操作的示例话术,用户直接选择即可。完成编辑后会生成差异对比,支持回滚操作,所有工作都可在对话内完成,不需要打开 Excel 客户端操作。

大部分基础功能跨平台可用,创建图表、导出 PDF 等高级功能需要 Windows 系统且本地安装 Excel。公式解析目前为轻量扫描,不支持全语法解析,超大范围的单元格依赖仅会输出起止端点。项目内置完整测试套件,可自行构建安装本地包,开源可免费使用。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 3 warnings3 项注意
  • No license declared - all rights reserved by default; ask the author before commercial use or redistribution未声明开源许可证 —— 默认「保留所有权利」,商用或再分发前先问作者
  • Only 8 stars - very few users, little community feedback星标只有 8,几乎没人在用,遇到问题缺少社区反馈
  • No DSH plugin manifest detected - it may only carry the dsh-plugin topic, so the install method must be confirmed on the spot未检测到 DSH 插件清单:可能只是打了 dsh-plugin 话题,安装方式要现场确认
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 demo add dsh-excel-chat

把 hccccc01333/dsh-excel-chat 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-excel-chat — 和 Excel 对话,把活干完

npm version GitHub release license

dsh-excel-chat banner

在 DeepSeek Harness 里用自然语言 操作 Excel:说一句“给 D 列加毛利公式、表头加粗、冻结首行、加筛选”,agent 会自动 调用 excel_operate 完成;每次编辑后自动体检公式有没有被弄坏,也可以让它 “检查这个表哪里算错了”并自动修复。所有工作都在对话里完成,不需要记 Excel 操作。

dsh-excel-chat 真实演示(DeepSeek Harness Web + 真实模型录制)

功能实录(对话内真实截图)

能力菜单:给文件就给你选项 数据洞察:自动发现数据问题
excel_menu 能力菜单 excel_insight 数据洞察
表格预览:对话内真网格 公式体检 + 自动修复:差异一目了然
excel_preview 表格预览 excel_autofix 自动修复

四张截图都是 DeepSeek Harness Web 里真实模型调用工具后,在消息流工具行内 渲染出的结果:能力菜单、问题清单、可编辑表格、修复前后差异。

架构

flowchart LR
  U[用户自然语言] --> H[DeepSeek Harness]
  H --> P["excel_profile / excel_read · 结构速览 / 分页读取"]
  P --> M["excel_menu / excel_insight · 能力菜单 / 数据洞察"]
  M --> O["excel_operate / excel_task · 操作 DSL / 多步编排 / Goal 闭环"]
  O --> V["excel_validate_formulas · 公式体检"]
  V -->|异常| R["excel_autofix / excel_repair_formulas · 确定性修复 + LLM 修复"]
  V -->|干净| OUT[输出 workbook]
  R --> V2[复验]
  V2 --> OUT
  OUT --> X["excel_explain_formula / excel_diff_workbook / excel_undo · 解释 / 对比 / 可回滚"]

核心闭环:理解 → 操作 → 验证 → 修复 → 复验 → 输出;excel_task 的 goal 模式 把这条闭环升级为 Plan → Act → Observe → Verify → Replan 的 Agent 循环。

安装

dsh plugin --profile demo add dsh-excel-chat          # 从 npm 安装
dsh plugin --profile demo add ./bundle                # 或本地 bundle 目录

装完先自检一次,确认宿主包隔离和引擎都正常:

dsh-excel-chat-doctor                                  # npm 全局/npx 可用时
# 或 profile 内直接跑:
# ~/.dsh/profiles/demo/node_modules/.bin/dsh-excel-chat-doctor

装完直接聊,例如:

帮我把 report.xlsx 做成报表:D 列是毛利(收入减成本),E 列加合计, 表头加粗填浅灰,冻结第一行,加筛选。

检查 sales.xlsx 里 D 列公式是不是每行都是“收入-成本”,不对的帮我修掉。

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev poe2-exile-architect 下一个 Next dsh-mcp-lens →