DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-snippets

t

dsh-snippets

Manifest valid★ 1

Minimal snippet and command toolbox for DSH: five tools over a single human-editable JSONL file, zero UI, zero database, zero network, explicit save-only memory.

hasBundlePatch

dsh-snippets

DeepSeek Harness 极简「常用片段/命令」工具箱:把高频命令、代码、网址、提示词存下来,任何会话里一条工具调用就能找回。

  • 一个 JSONL 文件(~/.dsh/snippets/snippets.jsonl),人类可读、可手工编辑、本身就是备份
  • 五个工具,语义一眼可懂,没有多余概念
  • 零 UI、零数据库、零网络:不加新运行时依赖,只有 harness SDK
  • 显式记忆:AI 不会自动记录你的对话,只有你明确说「存」才存

功能

工具作用
snippet_save保存或覆盖一条片段(同名覆盖并更新时间)
snippet_search按子串搜索(匹配名称/正文/标签,不区分大小写)
snippet_get按确切名字取回一条
snippet_delete删除一条
snippet_count统计总数

用法(模型视角)

  • 存:snippet_save(name: "docker-logs", text: "docker logs -f --tail 100 myapp", tags: ["ops"])
  • 找:snippet_search(query: "logs") → 返回 docker-logs
  • 取回:snippet_get(name: "docker-logs") → 拿到全文直接执行

为什么极简

  • 不占上下文:不自动注入记忆,只在调用工具时才取回
  • 可预期:存了什么、在哪、长什么样,一清二楚(就是那个 JSONL 文件)
  • 内容是你挑的:存的是你特意收藏的,不是 AI 替你判断的
  • 轻:无数据库、无向量库、无 UI 面板、无额外服务

数据

  • 路径:~/.dsh/snippets/snippets.jsonl
  • 每行一条 JSON:{"name","text","tags","updatedAt"}
  • 损坏行自动跳过,不影响其余数据
  • 片段名限制 [A-Za-z0-9._-]{1,80},单条上限 2 万字符

安装

# 从 GitHub 安装(与 taxueseek 其他插件一致)
dsh plugin --profile web add "github:taxueseek/dsh-snippets#main&path:."
# 重启 dsh web

(本地开发:dsh plugin --profile web add /path/to/dsh-snippets)

配置

- id: snippets-toolkit
  name: 'dsh-snippets'
  config:
    snippetsDir: '~/.dsh/snippets'   # 数据目录
    maxEntryChars: 20000             # 单条片段字符上限
    defaultLimit: 20                 # search 默认返回条数

开发

npm install --include=dev
npm test          # node --test 单元测试(11 项)
npm run build     # tsc 编译 host TS

许可

MIT

安装

```sh dsh plugin --profile web add taxueseek/dsh-snippets ```

贡献

欢迎提交 PR。

Compatibility

DSH 0.1.6-alpha.2: failedDSH 0.2.1-rc.4: failedDSH 0.2.1-alpha.4: failed

Versions

Latest versionPublishedSize
0.0.1——

Comments

Loading…

Similar plugins

dsh-noteboard

by boogoo619

Workspace-wide sticky notes on an infinite canvas: notes are plain Markdown files, created manually, captured from conversations, or distilled by the AI, and can be handed back as context; ships 12 mo

Development & InfrastructureMemory & ContextManifest valid

★ 3

↓ 124/wk

MIT

JavaScript

Oct 2, 2026

dsh plugin --profile web add dsh-noteboard

✦

No screenshots

by worksAssistant

Developer quick-reference toolbox for DSH: 12 themed categories (195 entries) plus zero-dependency tools — regex tester, JSON formatter, timestamp converter, Base64/URL codec, cron generator and line

Themes & SkinsDevelopment & InfrastructureManifest valid

★ 0

MIT

TypeScript

Aug 18, 2026

dsh plugin --profile web add dsh-quickref

by Edge-Echo

Windows-native tools for DSH agents: clipboard read and write, system notifications, hosts file inspection and network diagnostics, each returning structured data with UI cards from injection-safe Pow

Tools & CapabilitiesManifest valid

★ 4

↓ 165/wk

MIT

JavaScript

Oct 20, 2026

dsh plugin --profile web add dsh-win-toolkit

把 DSH 能读到的 skills 统一扫描、 归并、可视化,解决「skills 太多、不知道哪个命令属于哪个来源」的痛点。

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

dsh plugin --profile web add dsh-skill-catalog

Five web UI tools in one plugin: a provider + model two-button selector with reasoning-level control, collapse/expand-all for sidebar workspace groups, a session tab listing the files the session chan

UI & ExperienceManifest valid

★ 0

NOASSERTION

JavaScript

dsh plugin --profile web add dsh-ui-tools

by gezi-wen

Windows desktop-control tools for DeepSeek Harness (DSH): screen layout, annotated screenshots, click / type / key / scroll, window management, and UI Automation structured queries. Zero dependencies,

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 0

MIT

JavaScript

Sep 24, 2026

dsh plugin --profile web add sage-guikit