DeepSeek Harness plugin

dsh-reasoning-effort-byxumi

DSH reasoning effort plugin — enables reasoning effort selection in the official model selector. Installable via `dsh plugin --profile web add`

Jump to install

Source facts

Repository
byxumi/dsh-reasoning-effort
Latest update
Aug 16, 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-21

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/byxumi/dsh-reasoning-effort
Plugin: dsh-reasoning-effort-byxumi
Author: byxumi

Check the source files

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

File explorer4 files
README.en.mdSource · read only
README language

dsh-reasoning-effort

English | 中文

> ![License: MIT](LICENSE) > ![GitHub Repo](https://github.com/byxumi/dsh-reasoning-effort)

A DSH plugin that enables reasoning effort selection in the official model selector. Works with any provider and any model. Install with one dsh plugin command.

---

English Documentation

Method 1: Let the Agent install (recommended)

If your current Agent can execute terminal commands, send the following text verbatim to it:

Could you help me install the reasoning-effort plugin for the DeepSeek Harness "web" Profile?

First, check whether it's already there:
dsh --profile web --dump-config

If dsh-reasoning-effort already appears in the output, just tell me "already installed" and stop.
If not, install it (only modify the web Profile, leave others alone):
dsh plugin --profile web add github:byxumi/dsh-reasoning-effort#main

NOTE: If pnpm prints "Ignored build scripts" (or "Ignored build scripts:
dsh-reasoning-effort ... Run pnpm approve-builds"), it means pnpm blocked the
auto-patch hook. Open:
C:\Users\<username>\.dsh\profiles\web\pnpm-workspace.yaml
and change the allowBuilds line for dsh-reasoning-effort that says
"set this to true or false" to true (keep indentation unchanged), then
re-run the install command above. This only allows the plugin's auto-patch
hook — no other code is executed.

After installation, verify again:
dsh --profile web --dump-config

Tell me the result — whether dsh-reasoning-effort now appears in the config.
Do NOT shut down or restart the running DSH process; remind me to manually restart the DSH Web Host afterwards.

The Agent should check first, then install if needed, and report the final status.

After installation, manually restart the DSH Web Host for the plugin to take effect.

> About auto-patching: the repo's package.json has prepare/postinstall hooks > that automatically run node install.js --off during installation, which patches > all pi-ai adapter copies (profiles, npx cache, npm global, desktop runtime) with > the compat fields — preventing 400 developer is not one of [...] errors. > pnpm blocks the hook on first install and requires you to approve it in > pnpm-workspace.yaml allowBuilds (the prompt above covers this step). > Even if you skip the approval, the plugin self-heals at load time > (but requires an extra restart).

#### Prompt for Agent (uninstall)

To uninstall, send the following:

Could you help me fully uninstall the reasoning-effort plugin from DeepSeek Harness?

Follow these steps:
1. Find or download the uninstall script (uninstall.js):
   - If uninstall.js already exists in the current directory or ~/.dsh/, skip the download.
   - Otherwise download it with curl:
     curl -fsSL -o uninstall.js https://raw.githubusercontent.com/byxumi/dsh-reasoning-effort/main/uninstall.js
   - If curl is unavailable (legacy Windows), use PowerShell:
     Invoke-WebRequest -Uri https://raw.githubusercontent.com/byxumi/dsh-reasoning-effort/main/uninstall.js -OutFile uninstall.js
2. Run (cleans pi-ai patches, settings.yaml declarations, and Profile config — all in one step):
   node uninstall.js --all
3. If node is also unavailable, just tell me "Node.js missing" — don't force-install anything.

Tell me the result and remind me to restart the DSH Web Host.

#### What the Agent receives

After the plugin is installed and DSH restarts, the Agent automatically gains:

1. reasoning-effort skill registration — the model can invoke it to view usage instructions 2. System prompt injection — a Reasoning Effort section is added to every conversation's system prompt

After installation, ask the Agent in a new session: "Can you control reasoning effort?" — it will confirm it knows the feature and guide you.

Features

LevelValueDescription
OffoffDisable thinking
LowlowMinimal reasoning
MediummediumModerate reasoning
HighhighStandard reasoning
XHighxhighHigh-intensity reasoning
MaxmaxMaximum reasoning

The selected level is sent as reasoning_effort in API requests.

What the plugin does

1. Registers the reasoning-effort skill — callable by the model/user to view instructions 2. Key point: when mounted as a profile bundle, combined with reasoningEfforts declarations in settings.yaml, the official model selector automatically shows the Effort entry

Configuration template

llm-pi-ai:
  providers:
    your-gateway:
      api: openai-completions
      baseURL: https://your-gateway/v1
      models:
        - id: your-model
          name: your-model
          compat:
            supportsReasoningEffort: true
            supportsDeveloperRole: false
            supportsStore: false
            maxTokensField: max_tokens
          reasoningEfforts:
            off: null
            low: low
            medium: medium
            high: high
            xhigh: xhigh
            max: max

> supportsDeveloperRole: false prevents pi-ai from sending system as developer role. > supportsStore: false / maxTokensField: max_tokens keep the request body compatible with OpenAI-style gateways.

Uninstall

dsh plugin --profile web remove dsh-reasoning-effort
# or via script:
node uninstall.js --all

Troubleshooting

SymptomCauseFix
Install prints Ignored build scripts / set this to true or falsepnpm blocked the auto-patch hookSet the entry to true in ~/.dsh/profiles/web/pnpm-workspace.yaml allowBuilds, re-run the install command
400 developer is not one of [...]compat not forwarding supportsDeveloperRole: falseEnsure pi-ai patch is applied, restart
400 unknown storesupportsStore not falseAdd supportsStore: false
No Effort entrymodel missing reasoningEffortsAdd declaration and restart
Not mounted as layerpackage missing dsh.bundleCheck package.json has dsh.bundle.patch

---

License

[MIT](LICENSE)

Community

  • [Contributing](CONTRIBUTING.md)
  • [Code of Conduct](CODE_OF_CONDUCT.md)
  • [Security](SECURITY.md)