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).

AI 分析

在会话请求中拦截并注入自定义系统 Prompt 片段和历史对话。适合需要统一定制全局系统规则、注入参考范例且不写入会话日志的部署场景。

パッケージ
@wm-coders/dsh-custom-first-control-prompt
バージョン
0.2.1
ライセンス
MIT
最終更新
2026/08/20

インストール

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

ドキュメント

README 全文を読む ↗

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.