Community plugin

FxRayHughes / @local/dsh-prompt-book

A round prompt button in the composer toolbar: save prompts you use often and pick one to insert it into the message box.

  • JavaScript
  • License not detected
  • 0 stars
  • Nov 6, 2026

About this plugin

Written by the registry from verified metadata, not from the README.

@local/dsh-prompt-book is a DSH plugin published from the FxRayHughes/dsh-prompt-book repository.

  • Listing statusManifest verified
  • Manifest checkedNov 11, 2026
  • Package@local/dsh-prompt-book
  • Package version0.2.0
  • Source commit911b2db
  • Repository createdNov 6, 2026

Capabilities and topics

cordisdeepseek-harnessprompts
From the repository README

README

Everything below this line is the repository's own document, cached here. This site did not write or review it.

提示词本 (@local/dsh-prompt-book)

在 DeepSeek Harness 输入框工具栏的「+」右侧、权限选择左侧加一个圆形提示词按钮:

  • 点按钮弹出提示词菜单,点一条即把内容插入到输入框光标处(输入框为空时直接填入),菜单随即关闭。鼠标停在条目上可看全文。
  • 菜单右上角 + 新建提示词,可一键「填入当前输入框内容」,把正在写的话存成提示词;⌘/Ctrl+Enter 保存,Esc 返回。
  • 列表按钮进入管理模式:编辑、删除(再点一次确认)、上移/下移排序。
  • 智能体可通过 prompt_book 工具(list / add / update / remove / move)管理同一份列表;每次打开菜单都会重新读取。

提示词保存在 ~/.dsh/prompt-book/prompts.json,所有会话、所有浏览器窗口共享,也可以直接手改。

安装

  1. 下载 Release 里的 zip 并解压,或 git clone https://github.com/FxRayHughes/dsh-prompt-book.git。
  2. 在 DSH 里让 agent 用 plugin_manager install_bundle 安装,target 填解压目录的绝对路径。
  3. 刷新 DSH 页面,输入框工具栏「+」右侧出现圆形提示词按钮。

升级时先 remove_bundle @local/dsh-prompt-book 再重新 install_bundle;已存的提示词不受影响。

按钮注册在 conversation.input.left 插槽,该插槽本身排在权限/计划控件之后;client.js 用一条 CSS order 规则把按钮挪到「+」右侧。若宿主改了工具栏结构,规则不再匹配,按钮会退回插槽原位(权限控件右侧),功能不受影响。

文件

文件作用
store.js提示词读写(原子写文件)
index.jsHost:POST /prompt-book/rpc 接口 + prompt_book 工具
client.jsWeb:输入框工具栏里的提示词按钮与弹出菜单

Badge

Listed here? Link back with this badge — paste the snippet into your repository README.

Listed on DSH Plugin badge
[![Listed on DSH Plugin](https://dsh-plugin.com/badges/listed.svg)](https://dsh-plugin.com/plugins/FxRayHughes/dsh-prompt-book)