ディレクトリに戻る

custom-first-control-prompt

キュレーション掲載メンテナンス: 活発

wm-coder/custom-first-control-prompt

カスタムプロンプトを先頭に挿入できる DeepSeek Harness プラグイン。

GitHub で見る
$ dsh plugin --profile web add github:WM-CODER/custom-first-control-prompt

57

スター

2

フォーク

JavaScript

言語

MIT

ライセンス

2026-08-15

作成日

2026-09-01

最終プッシュ

DeepSeek Harness のネイティブプラグイン。すべての Web 会話の冒頭に部署レベルのシステムプロンプト接頭辞と固定の参考やり取りを追加し、セッションログには書き込みません。

DSH 統合

ネイティブ実行

作者による申告

安全性監査

未監査

最終検証日

2026-09-01

ライセンス

MIT

01どんなタスクに使えるのか?

  • Insert a deployment-configured system-prompt prefix and fixed reference exchanges into every DeepSeek Harness conversation

    Ordered system-prompt sections rendered ahead of the deployment persona, plus reference user/assistant messages injected as real alternating messages on every ordinary request

    Teams running DeepSeek Harness (dsh) web deployments who need a stable, cache-friendly system-prompt prefix and fixed few-shot examples

02DeepSeek Harness への導入方法

インストール手順

  1. 01

    Add from GitHub (recommended — built artifacts are committed, so no build approval is needed): `dsh plugin --profile web add github:WM-CODER/custom-first-control-prompt`

    $ dsh plugin --profile web add github:WM-CODER/custom-first-control-prompt

  2. 02

    Add from npm: `dsh plugin --profile web add @wm-coders/dsh-custom-first-control-prompt`

    $ dsh plugin --profile web add @wm-coders/dsh-custom-first-control-prompt

  3. 03

    Add from a local directory during development: `dsh plugin --profile web add ./path/to/custom-first-control-prompt`

    $ dsh plugin --profile web add ./path/to/custom-first-control-prompt

  4. 04

    After installation, restart the web app (`dsh --profile web` or run `restart-web.ps1` / `restart-web.sh`)

    $ dsh --profile web

導入成功の確認

作者は未記載

ロールバック

  • Uninstall the plugin: `dsh plugin --profile web remove @wm-coders/dsh-custom-first-control-prompt`

03DSH 統合と能力の範囲

DSH 統合ネイティブ実行

Native DSH plugin installed via `dsh plugin add` — injects a deployment-configured system-prompt prefix

  • Ordered system-prompt sections

    deployment-configured text fragments (sections[].text)sections rendered ahead of the deployment persona on every request

  • Reference user/assistant exchanges injected per request

    config.history entries (user / assistant pairs)real alternating messages prepended on the request path for every ordinary conversation request

    intercepts `llm/stream` and injects messages on the request path; writes nothing to session logs
  • Prefix-cache reuse via byte-identical static content

    static prompt contentbyte-identical rendering on every request, preserving prefix-cache reuse

04誰に向いているのか?使うべきでない場面は?

向いている用途

  • Teams running DeepSeek Harness (dsh) web deployments who need a stable, cache-friendly system-prompt prefix and fixed few-shot examples

05互換性・メンテナンス・セキュリティ上の注意

  • By default the prefix and reference exchanges are not applied to subagents (`includeSubagents: false`); enable it explicitly in config if subagents should receive them.
  • If `sections` is absent or empty, the plugin registers nothing — no system-prompt prefix is injected.
  • Reference exchanges are injected by intercepting the `llm/stream` request path and are not written to session logs; they appear only on the request, not in stored history.
2026-08-152026-08-21v0.2.3

MIT · latest release v0.2.3 (2026-08-21), last push 2026-08-21

06よくある質問

DeepSeek Harness に custom-first-control-prompt をインストールするには?

`dsh plugin --profile web add github:WM-CODER/custom-first-control-prompt`(GitHub、推奨)、`dsh plugin --profile web add @wm-coders/dsh-custom-first-control-prompt`(npm)、またはローカルディレクトリを指定します。その後、`dsh --profile web` または `restart-web.ps1` / `restart-web.sh` で Web アプリを再起動してください。

このプラグインは実際に何を会話に注入しますか?

順序付きのシステムプロンプト節をデプロイメントの persona より前に配置し、設定された参考 user/assistant のやり取りを本物の交互メッセージとしてすべての通常リクエストに注入します。これは `llm/stream` のインターセプトにより実現され、セッションログには書き込まれません。

プロンプトキャッシュは維持されますか?

はい。静的コンテンツはリクエストごとにバイト単位で同一に描画されるため、プレフィックスキャッシュがリクエスト間で再利用されます。

サブエージェントにも影響しますか?

デフォルトでは影響しません。`includeSubagents` 設定はデフォルトで false のため、明示的に有効にしない限りサブエージェントには接頭辞も参考やり取りも渡されません。

削除するには?

`dsh plugin --profile web remove @wm-coders/dsh-custom-first-control-prompt` でアンインストールします。

08データと出典

  • 作者による申告github.comd2c9a0535c45…

    dsh plugin --profile web add github:WM-CODER/custom-first-control-prompt

  • 作者による申告github.comd2c9a0535c45…

    Deployment-configured prompt prefix. Ordered system-prompt sections render ahead of the deployment persona

このページは、プロジェクトの公開ドキュメント、リポジトリのメタデータ、および DSH Plugins の構造化解析に基づいて生成されています。最終検証日:2026-09-01。誤りを見つけた場合は、修正を送信してください。

🏆

dsh プラグイン おすすめ

最初に入れたい 12 のプラグイン。全カタログ・全カテゴリから厳選しました。

DSH Plugins は DeepSeek Harness プラグインの独立したコミュニティ ディレクトリです。DeepSeek との提携・公認はありません。サードパーティ製プラグインはセキュリティ監査を受けていません。インストール前にソースコードをご確認ください。

DeepSeek Harnessの新着プラグインを毎週お届け。スパムはありません。