lizhecome/deepseek-harness-prompt-optimizer ↗★ 1
@lizhecome/dsh-prompt-optimizer
LLM-backed prompt optimization bundle for DeepSeek Harness
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lizhecome/deepseek-harness-prompt-optimizer说明文档
阅读完整 README ↗Configuration
Later profile patches replace a row's complete config, so restate every field you want to keep:
- id: prompt-optimizer
config:
provider: deepseek
model: deepseek-chat
maxTokens: 1024
minChars: 20
delivery: append
failureMode: pass-through
instruction: >-
Rewrite the prompt for precise execution. Preserve every constraint and
return only the rewritten prompt; do not solve the task.
| Field | Default | Meaning |
|---|---|---|
provider | '' | Auxiliary provider. Set together with model; empty follows the agent route. |
model | '' | Auxiliary model. Set together with provider; empty follows the agent route. |
maxTokens | 1024 | Positive integer output cap for the optimizer call. A capped response is rejected as incomplete. |
minChars | 20 | Non-negative trimmed character threshold for optimization. |
delivery | append | append preserves the original and adds a sourced notice; replace substitutes its text. |
failureMode | pass-through | Preserve the original after a runtime error, or fail the proposed step. |
instruction | built in | System instruction for the auxiliary call; a blank value is rejected at load. |
provider and model are an atomic pair. A half-configured route, non-integer bound, or blank instruction fails at plugin load.