peterliucius/dsh-prompt-optimize0

dsh-prompt-optimize

DeepSeek Harness web plugin: rewrite a composer draft through an auxiliary LLM call without sending a message

AI Analysis

核心用途是在发送前润色和优化提示词。适合对提示词质量有要求,希望在不污染当前会话历史的前提下,一键让辅助模型帮自己重写、扩写草稿的用户。

Package
dsh-prompt-optimize
Version
0.1.0
License
MIT
Last updated
Aug 17, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:peterliucius/dsh-prompt-optimize

Configuration

Every field is required except the paired route override; there are no library defaults. The bundle row supplies the values below.

KeyContract
maxInputBytesPositive UTF-8 byte ceiling for the final JSON-framed user prompt.
maxOutputTokensPositive auxiliary generation token cap.
timeoutMsPositive end-to-end deadline within the runtime timer limit.
provider, modelOptional explicit route; both or neither.

Override them in the profile's cordis.patch.yml by restating the whole row config.