DeepSeek Harness plugin

dsh-wsl-env

Inject WSL/Windows path and shell facts into the DeepSeek Harness system prompt.

Jump to install

Source facts

Repository
173787247/dsh-wsl-env
Latest update
Aug 18, 2026
Category
Tools & Capabilities
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/173787247/dsh-wsl-env
Plugin: dsh-wsl-env
Author: 173787247

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-wsl-env

DeepSeek Harness plugin: inject WSL / Windows path and shell facts into the system prompt.

给「浏览器在 Windows、agent 在 WSL」的环境用。模型默认不知道自己跑在 Linux 里,容易去用 C:\、PowerShell,或把 Windows 盘当工作区扫一遍。

注入内容(保持很短):发行版与用户、Linux 路径映射、/mnt/c 的 CRLF、不要把 Windows 盘当日常 git 树、Node 24 要用代理时设 NODE_USE_ENV_PROXY=1

Install

Already running dsh web:

dsh plugin --profile web add github:173787247/dsh-wsl-env
# or a local checkout:
dsh plugin --profile web add /absolute/path/to/dsh-wsl-env

Restart dsh web. Existing sessions keep the old prompt; open a new session.

Verify

1. Send any message (Trajectory is empty until there is a turn). 2. Open Trajectory → click SYSTEM / Initial System Prompt. 3. Switch from the Tools tab to System Prompt. 4. Search for Windows Subsystem for Linux.

You should see the distro name (for example Ubuntu-24.04), Linux path rules, and a C:\Users\.../mnt/c/Users/... mapping. The UI concatenates sections, so the internal name runtime:wsl-windows may not appear as a heading.

Non-WSL hosts skip injection by default. To force it, override the whole row in the profile cordis.patch.yml (later layers replace the entire config, so restate every key you still want):

- id: dsh-wsl-env
  name: dsh-wsl-env
  config:
    when: always
    order: 15
    extraNotes: "Prefer /home over /mnt/c for new files."

Config

KeyDefaultMeaning
whenwslInject only in WSL, or always.
order15Prompt section order (after persona 0, before tool guidance 100–199).
extraNotes""Optional extra operator notes appended to the section.

Changelog

  • 0.2.0 — also warn about CRLF on /mnt/c, git on the Windows mount, and NODE_USE_ENV_PROXY for Node 24.
  • 0.1.0 — first release: distro, Linux paths, C:\/mnt/c.

Topics

On GitHub, add dsh-plugin.