DeepSeek Harness 插件

dsh-prompt-customizer

System-prompt & tool customizer for DeepSeek Harness with a settings-panel UI: block / replace / inject prompt sections by name, and hide tools from the model catalog by exclude/include. Config lives(英文原文)

跳到安装方式

来源信息

GitHub 仓库
DreamsTOF/dsh-prompt-customizer
最近更新
2026年8月21日
分类
插件市场与管理
GitHub stars
0
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-21

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/DreamsTOF/dsh-prompt-customizer
插件名:dsh-prompt-customizer
作者:DreamsTOF

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器2 个文件
README.md来源说明 · 只读预览

dsh-prompt-customizer

A DeepSeek Harness (dsh) plugin that lets you control the system prompt and the tool catalog from a settings-panel UI.

Plugin-injected prompt sections (from other plugins) can pollute your system prompt. This plugin lets you block, replace, inject, and reorder prompt sections by name, and hide tools from the model catalog — all live, without touching the other plugins.

Features

  • Prompt sections

- Block a section by name (removed from the assembled system prompt). - Replace a section's text (the original text is echoed for editing). - Inject brand-new sections. - Reorder sections with ↑/↓ arrows or drag & drop (HTML5). Order is stored as a virtual 0-based index, so there are never duplicate or fractional orders.

  • Tools

- Blacklist (exclude): hide the listed tools. - Whitelist (include): keep only the listed tools (wins over exclude). - Only the model-facing catalog is affected — tools and routes keep working.

  • Presets

- Save the current customization as a preset (full snapshot). - Apply a preset: same-name sections are overridden, preset-only sections are added, and current sections outside the preset list are disabled by default. - Export / Import presets as JSON (full snapshot). - Presets store relative order (each section records the section it follows), so they stay portable across prompts with different section sets. - Multiple presets can be stored locally; only one is active at a time.

Installation

Install from npm:

dsh plugin add dsh-prompt-customizer

Or install from a local checkout:

dsh plugin add /path/to/dsh-prompt-customizer

After installation, open the dsh web UI → Settings提示词定制 (Prompt Customizer) in the sidebar.

Usage

Prompt sections tab

Each row shows a prompt section with:

  • A checkbox to block/unblock it.
  • A replace button to edit its text (the original text is pre-filled).
  • ↑/↓ arrows and a drag handle to reorder it.
  • The #N badge shows the section's virtual order (0-based position).

The 注入新段 (Inject section) box at the bottom adds a brand-new section by name, order, and text.

Tools tab

Toggle tools to hide them (blacklist), or switch to whitelist mode to keep only the checked tools.

Presets tab

  • Save current as preset — capture the current sections/tools customization.
  • Apply — activate a preset (overrides same-name sections, adds preset-only sections, disables current sections outside the preset).
  • Export — download the preset as JSON.
  • Import — load a preset JSON file (same-name presets are skipped).

Configuration

The plugin stores its config in the dsh settings document under the prompt-customizer namespace (~/.dsh/settings.yaml). You can edit it directly:

prompt-customizer:
  # Block these prompt sections by name.
  sections:
    - plugin:some-plugin
  # Replace a section's text by name (original order kept).
  replace:
    system: 'You are a helpful coding assistant.'
  # Inject / override sections (name + order + text).
  inject:
    - name: tool:read
      order: 0
      text: ''
  # Tool catalog filtering.
  tools:
    exclude: []
    include: []
FieldTypeDescription
sectionsstring[]Prompt section names to block.
replaceRecord<string, string>Replacement text per section name.
inject{name, order, text}[]Sections to inject or override (order controls splice position).
tools.excludestring[]Tool names to hide.
tools.includestring[]When non-empty, keep only these tools (wins over exclude).

Development

npm install
npm run check   # typecheck + build

The browser half is built with tsdown into client/client.js (a __ModuleLoader__ factory bundle). The host half lives in lib/.

License

MIT