WM-CODER/custom-first-control-prompt10

@wm-coders/dsh-custom-first-control-prompt

Deployment-configured prompt prefix for DeepSeek Harness: ordered system-prompt sections ahead of the persona and reference user/assistant exchanges injected into every ordinary conversation request as real alternating messages (request-path interception, zero session-log writes).

包名
@wm-coders/dsh-custom-first-control-prompt
版本
0.2.1
许可证
MIT
最近更新
2026年8月20日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:WM-CODER/custom-first-control-prompt

Configuration

- id: custom-first-control-prompt
  name: '@wm-coders/dsh-custom-first-control-prompt'
  config:
    sections:
      - name: house-rules
        order: -50
        text: |
          …stable system text…
    history:
      - user: …
        assistant: …
    includeSubagents: false
KeyDefaultMeaning
sectionsOrdered system-prompt fragments; absent or empty registers nothing.
sections[].namerequiredEntry name; the registry sees custom-first-control-prompt:.
sections[].orderrequiredRender position among all sections. Factory convention: harness identity −100, persona 0, tool guidance 100–199; values below 0 prepend ahead of the persona.
sections[].enabledtruefalse keeps the entry in configuration without registering it.
sections[].textrequiredStatic section text; keep it free of volatile values — any change breaks prefix reuse from the first changed token.
historyOrdered user/assistant reference exchanges injected ahead of every ordinary conversation request; both texts must be non-empty and free of reserved tags (case-insensitive: , , ``, <custom-history and all closing tags). Absent or empty injects nothing.
includeSubagentsfalsefalse skips sessions whose header meta marks subagent origin.

Invalid configuration fails plugin load naming the offending entry: empty text, duplicate section names, or a non-finite order. Per-entry section problems (blank/duplicate name, bad order, empty text) and per-pair history problems (empty text, embedded reserved tags) degrade to skipping that entry with a warning instead of failing the plugin tree.