DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-calm

s

dsh-calm

Discovered

An agent preset that simply cut your agent cost down by utilizing the power of PTC.

dsh-calm · 冷静模式(Calm Mode)Agent 预设

为 DeepSeek Harness(dsh)打造的 冷静模式 agent preset,基于内置的 PTC 模式(code preset,Code Mode 呈现)派生而成。

冷静模式完整保留 PTC 模式的全部能力——工具经 Code Mode SDK 呈现,模型用 TypeScript 程序组合多步操作——并在此基础上对模型施加两条冷静纪律。

特性

  • PTC 模式全部能力:工具经 Code Mode SDK 呈现,模型编写 TypeScript 程序并由 run_code 执行,一个程序即可完成原本需要多轮往返的操作序列。
  • 冷静思考纪律:模型在推理与内心独白中禁止使用以下符号或词语(全角与半角均禁止):
    • 问号(U+003F / U+FF1F)
    • 感叹号(U+0021 / U+FF01)
    • 省略号(U+2026 或连续三个半角句点)
    • 英文单词 "Wait"(任意大小写)
    • 一切观察、计划与不确定之处均以平实陈述句表达;不确定就写成待核实的事实,不使用疑问句或强调性标点。
  • PTC 批处理:要求模型主动利用 Code Mode 能力,只要多个步骤彼此独立、可以同时进行(读取、搜索、目录列举、状态检查、查询等),就合并进同一次 run_code TypeScript 程序执行,而不是逐次单独调用。

目录结构

dsh-calm/
├── README.md               # 本说明
├── LICENSE
├── .gitignore
└── calm/                   # 冷静模式预设(目录名即预设 id)
    ├── agent.cordis.yml    # 预设组成:PTC 模式的全部插件行 + 追加的 persona 冷静规则
    └── preset.yml          # 预设元数据(名称、描述)

安装与使用

dsh 的用户预设根目录为 $DSH_HOME/.agent-presets(默认 ~/.dsh/.agent-presets),每个预设一个目录,目录名即预设 id。

  1. 将 calm/ 目录复制到用户预设根目录:

    cp -r calm ~/.dsh/.agent-presets/
    
  2. 在 dsh Web GUI 中新建会话,在预设选择器中选择「冷静模式」。

预设发现会在每次调用时重读预设根目录,因此复制后无需重启服务,新会话即可直接选用。

与 PTC 模式的关系

冷静模式派生自 dsh 内置 PTC 模式(apps/cli/config/agent-presets/code/,即预设文件夹中的 code 目录)。与源预设相比仅有两处改动:

文件改动
calm/preset.yml名称改为「冷静模式」,描述说明两条冷静纪律
calm/agent.cordis.yml工具组成与 code 预设完全一致;仅在 persona 文本中追加「冷静思考纪律」与「PTC 批处理」两条规则(以 Unicode 码点描述禁用标点,避免规则文本自身出现歧义)

许可

MIT License,详见 LICENSE。

Comments

Loading…

Similar plugins

agentic-env-presets

by Jing494

Standard and PTC agent presets whose system prompt describes a plain agentic coding environment instead of a branded harness. Install: dsh plugin --profile web add dsh-agentic-env-presets

Manifest valid

★ 0

MIT

JavaScript

Nov 14, 2026

dsh plugin --profile web add dsh-agentic-env-presets

by jipika

Switch the agent preset (standard / PTC / cordis) of an already-started conversation from the session header. DSH host+client plugin.

Manifest valid

★ 0

MIT

JavaScript

Oct 20, 2026

dsh plugin --profile web add dsh-preset-hotswap

DSH agent preset: PTC mode plus a hard goal + todo gate — no tool call succeeds until an active goal and an in-progress todo exist.

Sessions & MessagesManifest valid

★ 0

MIT

JavaScript

dsh plugin --profile web add dsh-ptc-discipline

by lishize20040802-rgb

Deep PTC agent preset for DeepSeek Harness: built-in PTC tooling plus visible progress, confident tool use, and early clarification.

Workflow & AutomationManifest valid

★ 61

↓ 3.3k/wk

MIT

JavaScript

Nov 20, 2026

dsh plugin --profile web add dsh-deep-ptc-mode

Build presets for DSH Agents: package personas, prompts, skills, tools and runtime contexts into reusable capability bundles. Each task loads only the components it requires.

Tools & CapabilitiesManifest valid

★ 1

MIT

JavaScript

dsh plugin --profile web add dsh-my-agent-preset

by Wakis-kaf

Defines DSH agent modes as real presets, each with its own persona, tool set and mounted plugins, including a pure mode that starts with no capability at all.

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Nov 17, 2026

dsh plugin --profile web add dsh-agents-models