dsh-csv-parse
在终端中运行以下命令:
dsh plugin install uckkk/dsh-csv-parse
将以下提示词粘贴到 DeepSeek Harness 对话框中:
在终端执行 dsh plugin install uckkk/dsh-csv-parse 即可安装该健壮 CSV 解析插件,完整源码地址为 https://github.com/uckkk/dsh-csv-parse 。
插件介绍
In a model-inference pipeline, CSV files are one of the most common structured inputs. Yet real-world CSVs are rarely perfectly tidy—fields contain embedded quotes, commas, or newlines, and encodings can be inconsistent. A single misparsed row can cascade into garbled prompts. dsh-csv-parse exists to handle exactly that: a robust layer of CSV parsing that turns messy tabular data into a structure the model can consume directly.
The entire plugin is a pure Node.js implementation. It makes no network calls, depends on no external services or databases, and runs entirely on the local machine. That makes it safe for offline environments, sandboxed containers, or edge nodes where data must never leave the box. Once registered, the parsing logic is exposed as a session tool—call it, get the result, no extra routing or middleware required.
If you are building inference flows with DeepSeek Harness and your upstream data lands as CSV files while your downstream prompt templates expect structured rows or columns, this plugin fills exactly that gap. It is a good fit for data engineers, automation-script authors, and any developer who wants CSV reading to be reliable and free of runtime dependencies.
使用场景
- 在模型推理前将本地 CSV 表格解析为结构化行供 prompt 模板使用
- 在离线或沙箱环境中安全解析含嵌套引号与换行的复杂 CSV
- 在自动化管道中将上游 CSV 文件转换为下游 LLM 调用所需的结构化数据
适合人员
- 构建 DeepSeek Harness 推理流程的数据工程师
- 需要在无网络环境中做本地数据预处理的自动化脚本作者
- 希望 CSV 读取可靠且无运行时依赖的应用开发者