dsh-tool-csv
Parse/query/aggregate/convert CSV (RFC 4180) with a zero-dependency state-machine parser.
CSV 解析/查询/统计/转换(RFC 4180),零依赖状态机解析器。
How to install
dsh plugin add github:omdsh-dev/dsh-tool-csv About
dsh-tool-csv English DSH CSV 数据工具插件 —— 解析、查询、过滤、统计和转换 CSV 文本。零依赖、纯函数、RFC 4180 状态机解析器。 动机 Agent 会话里表格形态的数据(导出文件、API 响应、报告片段)出现频率很高。现有路径是起 bash 进程让模型现写解析脚本: 1. **每次调用都起进程**——Windows 上尤其昂贵 2. **模型手写 CSV 解析器错误率高**——引号内逗号、"" 转义、BOM、跨行字段、CRLF 这些边界手写代码极易踩坑,且结果不可验证 本插件提供确定性、零依赖、纯函数的 CSV 处理:一次函数调用,毫秒级返回结构化 JSON。 与 dsh-tool-json 形成"结构化数据处理"对:JSON 管对象,CSV 管表格。 安全模型 **零依赖**:不引入 csv 解析库,手写状态机(单遍扫描,O(n)) **纯函数**:不读文件、不写文件、不联网、不 eval **无注入面**:查询过滤只做字面精确匹配(===),不支持表达式求值 **预算**:输入上限 256,000 字节(超限直接报错,不截断);timeoutMs: 2000;limit 默认 100 行防输出膨胀 工具参数会记入会话日志,不要传入敏感数据 工具声明 注册 csv 工具(@deepseek-ai/dsh-tool-csv,row id t…
Recommendation signals
Meta
- License
- MIT
- Language
- TypeScript
- GitHub stars
- 4
- mo. downloads
- –
- Last push
- 2026-09-10
- Created
- 2026-08-07
Links
Basic safety check
- Findings
- curated 收录但无 npm 包/安装命令
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- csv, data-parsing, dsh, dsh-plugin, rfc4180
Related plugins
mobile-mcp
mobile-next/mobile-mcp
Model Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)
davinci-resolve-mcp
samuelgursky/davinci-resolve-mcp
MCP server integration for DaVinci Resolve Studio
ssh-mcp
tufantunc/ssh-mcp
MCP server exposing SSH control for Linux servers via Model Context Protocol.