A Collection of DeepSeek Harness Development Patterns

Introduction

When using DeepSeek Harness (DSH), developers often need to switch between different Agent behaviors depending on the scenario: writing code, building games, or having read-only discussions. Frequently tweaking prompts is error-prone and easy to miss edge cases, leading to session contamination or resource leaks. This bundle packages three common modes with their companion workflows—install it once, and three presets will appear under Settings → Agent Presets.

What Is This

dsh-dev-modes is a plugin bundle for DeepSeek Harness, maintained by Qing8-Max. It provides three Agent presets, six skills, and two host-level switches. The presets correspond to three workflows: software development, game development, and read-only discussion. The skills cover delivery processes and common engine workflows (Godot, Unity, Unreal, Cocos). After installation, the three presets will automatically appear in the Agent Presets list.

Core Features

Three Agent Presets

Preset id Purpose
Software Development swe Read repo & specs → plan → implement in small steps → verify with the project’s own build/test → report honestly
Game Development game Prototype-first, verify feel & performance via real runtime; includes Godot / Unity / Unreal / Cocos workflows
Read-only Discussion discuss Can read code & docs, view images, search, and ask questions; cannot write files, run commands, or launch programs

Built-in Skills

The six skills under skills/ are registered into the skill directory by this plugin’s index.js at startup (source: bundled)—no need to manually copy them into ~/.dsh/skills:

  • software-delivery: Software delivery process checklist
  • game-dev-delivery: Game delivery process (engine-agnostic)
  • game-godot, game-unity, game-unreal, game-cocos: Per-engine workflows

If a same-named copy still remains in ~/.dsh/skills/, the version registered by this bundle takes priority at runtime. You may delete the duplicate to avoid confusion.

Host-level Switches

This bundle mounts two host-level plugins that apply to all Agent presets (including the built-in Standard / PTC / Minimal / Creator). Two buttons appear side by side next to the input box:

Button Function Default
🔒 Forbid Reading Other Sessions Per-session isolation: when locked, reading session files such as ~/.dsh/sessions/ is prohibited Locked
🔇 Silent Run Per-session isolation: when launching game windows/editors, they must be moved off-screen or run in headless mode—no foreground blocking, no focus stealing Silent

A single click toggles the setting, takes effect for the current session, and the next model request immediately picks it up.

State storage (existing settings are preserved after upgrades):

$DSH_HOME/storages/dsh-session-lock/policies.json
$DSH_HOME/storages/dsh-quiet-run/state.json

These are prompt-level constraints, not hard blocks: the model is told the rules and is expected to follow them, but the host does not physically prevent the action.

Silent Run Implementation

Rules alone aren’t enough—someone has to actually move the window. This bundle ships with helpers/window-quiet.ps1:

# List currently visible windows (handle|PID|coordinates|title)
powershell.exe -NoProfile -ExecutionPolicy Bypass -File helpers\window-quiet.ps1 -Action list

# Move a window to (20000,20000) by process ID or title
powershell.exe -NoProfile -ExecutionPolicy Bypass -File helpers\window-quiet.ps1 -Action hide -ProcessId 12345
powershell.exe -NoProfile -ExecutionPolicy Bypass -File helpers\window-quiet.ps1 -Action hide -Title "Notepad"

# Restore all windows to their original coordinates
powershell.exe -NoProfile -ExecutionPolicy Bypass -File helpers\window-quiet.ps1 -Action show

The silent-run rules reference the absolute path of this script, so the model receives a directly executable command rather than a vague “please move the window” instruction. Godot projects have an even faster approach: godot_command eval "DisplayServer.window_set_position(Vector2i(20000, 20000))".

Limitation: full-screen exclusive windows cannot be moved (Windows limitation), and the script will return a failure—in that case, the model should honestly inform you rather than pretending it was hidden.

Installation & Activation

Install via the plugin manager:

plugin_manager → install_bundle → target = absolute path to this directory

Or: Plugins page → Add plugin → select this directory.

Verify after installation: Config.listConfigs (@deepseek-ai/dsh-agent-preset) should show include:preset-swe, include:preset-game, include:preset-discuss; list_plugins should show three rows all marked active.

Existing sessions retain their original mode; you need to start a new session to use the new presets.

Typical Usage

Using the Software Development Preset

Start a new session, select Software Development under Settings → Agent Presets, and enable the Forbid Reading Other Sessions and Silent Run switches next to the input box (if desired). The Agent will work through the following steps:

  1. Read the repo and specs
  2. Plan the task
  3. Implement in small steps
  4. Verify with the project’s own build/test
  5. Report honestly

Using the Game Development Preset

Select Game Development, and the Agent will prioritize prototype-first approaches and real-runtime verification. The built-in Godot / Unity / Unreal / Cocos skills will automatically participate in the workflow.

Using the Read-only Discussion Preset

Select Read-only Discussion, and the Agent can read code and docs, view images, search, and ask questions, but will not perform file writes, command execution, or program launches—ideal for technical reviews or requirements discussions.

Using Silent Run

When you need to run a game or editor, click the Silent Run button. The Agent will follow the rules and use helpers/window-quiet.ps1 to move windows out of the visible area, preventing occlusion or focus stealing.

Use Cases & Caveats

Suitable for developers who need to switch behavioral modes across different tasks, especially in software and game development scenarios. The plugin runs with the current DSH process permissions—review the source code and license before installing.

Conclusion

dsh-dev-modes bundles the three common workflows—software development, game development, and read-only discussion—along with session isolation and silent-run capabilities, reducing the manual effort of configuring prompts. Plugin directory page and source repository:

  • Plugin directory: https://www.skillhub.cn/plugins/Qing8-Max/dsh-dev-modes
  • GitHub: https://github.com/Qing8-Max/dsh-dev-modes
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye