Back to home@XiaoWind

dsh-weneedfirst

DeepSeek Harness plugin: make the chain of thought open with We need instead of Let me

Stars
0
Language
JavaScript
Created
Aug 21, 2026
Updated
Aug 21, 2026
GitHub repo

Introduction

dsh-weneedfirst

English | 中文

A DeepSeek Harness (DSH) plugin that shapes the model's chain of thought. It registers a global system-prompt section instructing the model to adopt a role that fits the conversation, think in English, and open every reasoning block with "We need".

There is no build step and no extra runtime state — the plugin contributes one prompt section to the systemPrompt registry and does nothing else.

Install

# from GitHub (works immediately — no npm publish required)
dsh plugin --profile web add git+https://github.com/XiaoWind/dsh-weneedfirst.git

# or from npm, once published
dsh plugin --profile web add dsh-weneedfirst

The dsh plugin command forwards to pnpm inside the web profile directory, then reconciles the profile's dsh.profile.bundles layer list. Because this package declares dsh.bundle.patch, it joins the layer stack automatically. Restart the Web app after installing.

The plugin injects the systemPrompt service, so it activates in every profile that composes a system prompt — the shipped web profile does.

Update

dsh plugin --profile web update dsh-weneedfirst

Restart the Web app after updating — the bundle layer is composed at boot, so a running Web process does not hot-reload an installed plugin.

Configuration

The opening phrase is configurable in your profile's cordis.patch.yml:

ConfigDefaultMeaning
openingPhraseWe needThe phrase every chain-of-thought block must open with.
# your profile's cordis.patch.yml
- id: we-need-first
  config:
    openingPhrase: "We need"

Development

# syntax check
node --check lib/index.js

# unit tests
node --test test/

The plugin is a single-file ESM Cordis function plugin (lib/index.js). It exports apply, inject, and name, and the bundle layer cordis.patch.yml inserts it into the profile composition.

License

MIT