Skip to content

prompt

Verified

@dsh-pi/prompt Β· v0.1.0 Β· MIT

pi-style system prompt for DeepSeek Harness (dsh-pi). A Cordis plugin bundle that replaces the system prompt with pi's minimal-core, tool-listing, guideline style.

Install

dsh plugin add @dsh-pi/prompt

Confirm the layer applied with dsh --profile default --dump-config β€” see the install guide.

Source

Published to npm without a public repository. Inspect the package contents before installing.

Tags

Readme

@dsh-pi/prompt

pi-style system prompt for DeepSeek Harness (dsh), aka dsh-pi.

Transplants pi's prompt philosophy into dsh as a Cordis plugin bundle:

  • complete mode β€” the model sees only this section as its system prompt (dsh's default identity / tool-guidance text is replaced)
  • pi-style persona β€” You are an expert coding assistant operating inside dsh-pi...
  • tool one-liners β€” Available tools: list in pi's format
  • guidelines β€” concise responses, clear file paths, small precise changes, verify with tests
  • cwd line β€” injected as a dynamic PromptContext

Zero dependencies: the plugin only uses ctx.systemPrompt, which ships in the @deepseek-ai/dsh-base bundle.

Install into a profile

# from anywhere, with dsh on PATH:
dsh plugin --profile web add file:/abs/path/to/dsh-pi-prompt     # or an npm/git spec

Then register the bundle in the profile's manifest:

# edit ~/.dsh/profiles/<name>/package.json:
#   "dsh": { "profile": { "bundles": [ "@deepseek-ai/dsh-base", "@deepseek-ai/dsh-web-app", "@dsh-pi/prompt" ] } }

Restart the profile: dsh web (or dsh --profile <name>). Done β€” the system prompt is now pi-style.

dsh plugin --profile <name> add <pkg> forwards pnpm add into the profile directory (~/.dsh/profiles/<name>), so the bare package name resolves from the profile's node_modules. Any other profile or machine repeats the two steps above; sessions/config stay per-profile.

Configure

The bundle's patch inserts row id dsh-pi-prompt. Override it from a higher patch layer (e.g. the profile's own cordis.patch.yml):

- id: dsh-pi-prompt
  config:
    complete: true          # default; false keeps dsh's other prompt sections
    persona: "Your custom persona text"   # override the whole persona
    includeCwd: false       # drop the "Current working directory" line

Patch files are HMR'd β€” changes apply without a restart.

Publish

npm publish --access public   # from this directory
# then on any machine: dsh plugin --profile web add @dsh-pi/prompt

Layout

File Role
index.js Cordis plugin (default export; inject: ['systemPrompt'])
cordis.patch.yml bundle patch β€” inserts the dsh-pi-prompt row
package.json declares dsh.bundle.patch

License

MIT