DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-toolbox

q

dsh-toolbox

Manifest valid★ 1

Ten zero-dependency deterministic tools, one package for dsh: json / calculator / encoding / diff / time / csv / regex / stat / markdown / schema

hasBundlePatch

dsh-toolbox

dsh 的工具箱插件。装上就有十个工具:json calculator encoding diff time csv regex stat markdown schema。

全是本地算的纯函数:不联网、不碰工作区、不跑你的代码。同样的输入永远同样的输出,写断言不用碰运气。零运行时依赖、零构建,纯 ESM。

起因很土:模型干活时老要"掏个 JSON 字段、比两段文本、换算个时区、给一列数字算分位",要么心算(会错),要么临时糊个脚本(慢,下次还得重来)。

装

dsh plugin --profile <你的 profile> add github:qlheric/dsh-toolbox

装完重启 dsh。npm 上还没有,别用 npm install。

Electron 桌面端的 desktop profile 不认这条命令(CLI 会拒绝接管),那边只能自己改 package.json 的 dsh.profile.bundles,再用 pnpm 装 —— 本机就是这么装的。

十个工具

工具能干啥
json按路径取值:$、.a.b、['键']、[下标](负数也行)、[*] 通配;还有 keys / type / validate / format
calculator算式求值
encodingbase64 / base64url / url / hex 互转,md5~sha512,uuid
diffunified diff、JSON 路径级差异、CSV 逐行差异
timenow / convert / add / diff
csvRFC 4180 解析、按列查、数值列统计、转 GFM 表格
regextest / find / replace / explain
stat描述统计、分位、频数、Pearson/Spearman
markdown标题、目录、表格规范、去标记、字数
schemaJSON Schema 子集校验(支持本地 $ref)

上限、单位、时区语义这些细节都写在工具描述里,模型调用前就能看明白,不用试出来。

几处刻意的地方

calculator 不用 eval。 自己写的解析器,标识符必须命中白名单里的函数和常量。

regex 先体检再跑。 (a+)+ 这类嵌套量词会给一个风险等级,判到 high 且输入超过 4KB 就直接不跑。宁可报错,也不让宿主去赌灾难性回溯。

schema 遇到不认识的关键字会报出来(schemaIssues),不装作没看见 —— 静默忽略最坑人。

失败说人话。 json 取不到键就告诉你"没有这个键",不是甩个栈出来。

时区只影响呈现。 time 内部一律按 UTC 算;add 加减月份按月末钳制(1-31 加一个月 = 2-28)。

开发

node --test      # 61 个用例

每个工具一个文件(lib/<名字>.js),导出 spec 和纯函数,方便单测。index.js 是唯一入口,注册失败会逆序回滚,不会留个装了一半的插件。

加工具 = 写一个文件 + 在 index.js 的 MODULES 加一行 + 补测试。

参数 schema 只用 dsh 0.2.0-rc.2 认的字段(required 只能是 true),有测试盯着这条,别改坏。

不做的

不联网、不读写文件、不执行代码。schema 是子集实现。抓网页那类事请找别的插件。

许可

MIT

Comments

Loading…

From the same category

reactive-resume

DeepSeek Harness plugin for Reactive Resume: bridges your resumes and job applications into a Harness session over MCP.

Tools & CapabilitiesManifest valid

★ 41.7k

↓ 156/wk

MIT

Aug 24, 2026

dsh plugin --profile web add dsh-plugin-reactive-resume

by Tencent

Let AI agents use your real, logged-in browser without interrupting your work. CLI + extension for browser automation across any shell-capable AI agent.

Tools & CapabilitiesManifest valid

★ 8.6k

↓ 6.1k/wk

MIT

TypeScript

Oct 10, 2026

dsh plugin --profile terminal add @wxg-prc-cpg/browser-skill-dsh-plugin

by yjh051108

dsh-routing-suite — injector + router-standard kit: install the runtime injector first, then the task-aware reasoning-mode router preset (measured P1-P23).

Tools & CapabilitiesManifest valid

★ 7k

MIT

JavaScript

Sep 18, 2026

dsh plugin --profile web add @dsh-external/dsh-super-injector

by Q00

Agent OS: the agent gets smarter on its own. We just hold the line: Interview-gated, staged evaluation, budgeted evolution loop. MCP server, 14 runtimes: Claude Code, Codex CLI, Gemini CLI, OpenCode,

Tools & CapabilitiesManifest valid

★ 6.2k

MIT

Python

Oct 7, 2026

Index only — not installable

by dsh-market

The plugin market inside DeepSeek Harness — browse, search, one-click install · DSH 可视化插件市场

Tools & CapabilitiesManifest valid

★ 6.1k

↓ 112.4k/wk

MIT

TypeScript

Oct 10, 2026

dsh plugin --profile web add dshmarket

by superdesigndev

OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn

Tools & CapabilitiesManifest valid

★ 5k

NOASSERTION

Python

Oct 11, 2026

dsh plugin --profile web add treg-dsh