DeepSeek Harness plugin

dsh-minimal-rules

DSH 插件:在极简模式(minimal / minimal-fast)下按 global / global+project / all+creative 模式自动注入规则内容,并提供可持久化的输入框下拉菜单。

Jump to install

Source facts

Repository
sd1g1/dsh-minimal-rules
Latest update
Aug 21, 2026
Category
Tools & Capabilities
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/sd1g1/dsh-minimal-rules
Plugin: dsh-minimal-rules
Author: sd1g1

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-minimal-rules

DSH 插件:在极简模式(minimaldsh-minimal-bash-fix 提供的 minimal-fast)下,把规则内容组装成独立的 <system-reminder> user 消息注入到当前用户消息之后,并在输入框权限下拉菜单右侧提供模式下拉菜单。

安装

dsh plugin --profile web add github:sd1g1/dsh-minimal-rules

重启 DSH 后生效。

使用

输入框下拉菜单有三种模式:

模式注入内容
global仅注入 ~/.dsh/AGENTS.md(或 $DSH_HOME/AGENTS.md
global+project注入 ~/.dsh/AGENTS.md + cwd/AGENTS.md
all+creative注入 ~/.dsh/AGENTS.md + cwd/AGENTS.md + 创造模式关键文档索引

默认模式为 global+project

  • 只对 minimal / minimal-fast 极简模式生效。
  • 每个会话只注入一次,不修改既有历史消息;重启 DSH 后恢复会话时,如果近期历史中已没有当前规则,会重新注入一次。
  • 规则以独立 user 消息注入,使用 <system-reminder> 包裹并带有来源路径。
  • 修改 AGENTS.md 或切换模式后,重启 DSH 对新会话/恢复会话生效;当前运行中的会话不会改写已有历史。
  • 模式保存在 ~/.dsh/dsh-minimal-rules.json

创造模式关键文档索引

all+creative 会读取插件自带的索引文件:

dsh-minimal-rules/creative.md

该文件包含创造模式(cordis preset)运行所需核心文档的简要介绍,并记录了生成时的 DSH 版本。

如果插件内索引文件缺失,会回退生成指向以下关键文档的链接:

config/agent-presets/cordis/agent.cordis.yml
config/agent-presets/cordis/skills/cordis-plugin-development/SKILL.md
config/agent-presets/cordis/skills/editing-cordis-compositions/SKILL.md

如果仍不可用,all+creative 会继续注入 global 和 project 部分。

卸载

dsh plugin --profile web remove @local/dsh-minimal-rules

示例文件

example/ 目录包含:

  • AGENTS.md:当前全局 ~/.dsh/AGENTS.md 的示例
  • web-search:Exa 网络搜索脚本示例,可直接参考或复制到 ~/.dsh/web-search