Back to directory

custom-first-control-prompt

Curated pickMaintenance: Active

wm-coder/custom-first-control-prompt

DeepSeek Harness plugin for insert custom prompt

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

56

stars

1

forks

JavaScript

Language

MIT

License

2026-08-15

Created

2026-08-21

Last push

A native DeepSeek Harness plugin that prepends a deployment-configured system-prompt prefix and fixed reference exchanges to every web conversation, without writing to session logs.

DSH integration

Native runtime

Author-claimed

Safety audit

Unaudited

Last verified

2026-09-01

License

MIT

01What can it help you accomplish?

  • 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

02How to install into DeepSeek Harness

Installation steps

  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

Verify the integration

Not specified by the author

Rollback

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

03DSH integration and capability boundaries

DSH integrationNative runtime

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

04Who is it for? When not to use it?

Good for

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

05Compatibility, maintenance and safety notes

  • 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

06Frequently asked questions

How do I install custom-first-control-prompt in DeepSeek Harness?

Run `dsh plugin --profile web add github:WM-CODER/custom-first-control-prompt` (GitHub, recommended), `dsh plugin --profile web add @wm-coders/dsh-custom-first-control-prompt` (npm), or add a local directory. Then restart the web app with `dsh --profile web` or `restart-web.ps1` / `restart-web.sh`.

What does this plugin actually inject into my conversations?

It prepends ordered system-prompt sections ahead of the deployment persona and injects configured reference user/assistant exchanges as real alternating messages on every ordinary request, via `llm/stream` interception with zero session-log writes.

Will it preserve prompt caching?

Yes — static content renders byte-identically on every request, so the prefix-cache is reused across requests.

Does it affect subagents?

By default, no. The `includeSubagents` config flag defaults to false, so subagents do not receive the prefix or reference exchanges unless you enable it.

How do I remove it?

Uninstall with `dsh plugin --profile web remove @wm-coders/dsh-custom-first-control-prompt`.

08Data and sources

  • Author-claimedgithub.comd2c9a0535c45…

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

  • Author-claimedgithub.comd2c9a0535c45…

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

This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-09-01. Found an error? Submit a correction.

🏆

Best DeepSeek Harness Plugins

Twelve plugins worth installing first — picked from the whole catalog, across every category.

DSH Plugins is an independent community directory of DeepSeek Harness plugins. Not affiliated with or endorsed by DeepSeek. Third-party plugins are not security-audited — review the source before installing.

New DeepSeek Harness plugins, weekly. No spam.