Introduction

DeepSeek Harness (DSH) comes with default prompts optimized for DeepSeek models. If you use non-DeepSeek models in DSH, or if the model version is older, the default interaction style may not fully leverage the model’s capabilities; furthermore, some developers prefer discussing and writing code simultaneously rather than letting the agent complete the task independently.

dsh-more-agent-presets addresses this issue: it supplements DSH with four optional Agent presets in the form of a plugin, corresponding to different model adaptations and collaboration styles. The following introduces the plugin’s functionality, installation methods, and precautions.

What is this

dsh-more-agent-presets is a DSH plugin maintained by R-LEI2536 and licensed under MIT. It provides four presets:

  • Qwen Code Coding Mode (qwencode-coding-agent)
  • IFlow Coding Mode (iflow-coding-agent)
  • IFlow Creation Mode (iflow-cre-agent)
  • Pair Coding Mode (pair-coding-agent)

DSH’s philosophy is “everything is a plugin”; this plugin works under this mechanism: it does not modify DSH itself, but only supplements presets.

What are the four presets

Qwen Code Coding Mode (qwencode-coding-agent)

A professional coding assistant emphasizing code standards and project conventions, utilizing an iterative workflow and a CLI-oriented interaction style.

IFlow Coding Mode (iflow-coding-agent)

An interactive CLI agent with dynamic environment awareness, automatic Git context injection, and structured task workflows. It can automatically detect platform information and prioritizes security for permission handling.

IFlow Creation Mode (iflow-cre-agent)

An enhanced mode for creating custom Agent presets, including DSH context information (Web UI URL, source code root directory), Git repository awareness, custom prompt segments, and skills related to Cordis plugin development and composite editing.

Note: Cordis Tool (@deepseek-ai/dsh-tool-cordis) is currently unavailable due to upstream issues; dynamic Cordis plugin creation will only be available after upstream fixes.

Pair Coding Mode (pair-coding-agent)

Collaborates with the user in a pair programming style: aligning the direction before every action, discussing non-trivial changes beforehand, and waiting for user confirmation rather than autonomously advancing to task completion.

Differences from default DSH prompts

Differences are reflected in two dimensions:

  • Interaction Style: Default DSH works independently with minimal user interaction; these four presets actively discuss with the user, maintaining communication throughout.
  • Planning Mode: Default DSH uses a static approval process, where the AI produces a complete plan document and waits for user approval; these presets use multi-round dynamic collaboration, where the AI and user iterate round by round, gradually refining the plan.

Installation and Enablement

First, execute the installation command:

dsh plugin --profile web add github:R-LEI2536/dsh-more-agent-presets

Then restart the Web profile, and select the preset when creating a session.

The plugin installs the managed presets directory to $DSH_HOME/.agent-presets (usually ~/.dsh/.agent-presets).

Installation Behavior

The plugin performs four actions during installation:

  1. Dynamic Discovery: Automatically scans the presets/ directory to discover available presets, eliminating the need to manually maintain a preset list.
  2. Version-based Updates: Compares version numbers to decide whether to update. If the plugin version changes, it reinstalls presets; if versions are consistent, it skips installation to avoid unnecessary overwrites.
  3. Ownership Management: Each installed preset contains a .dsh-preset-owner.json marker file recording the name and version of the managing package.
  4. Auto-cleanup: Deletes presets no longer provided by the plugin, but only deletes those owned by this plugin.

The resulting security guarantee is: it does not overwrite presets from other plugins; it does not delete user-created presets without ownership markers; it only manages presets it installed.

Removing the Plugin

To remove the plugin package:

dsh plugin --profile web remove dsh-more-agent-presets

Note: Removing the plugin does not automatically delete the installed preset directory. If you need to delete it completely, manually execute:

rm -rf ~/.dsh/.agent-presets/qwencode-coding-agent

Preset directories with ownership markers can be re-managed after reinstalling the plugin.

Suitable Scenarios and Notes

Suitable for two types of users:

  • Using non-DeepSeek or older models in DSH and wanting presets that match model capabilities.
  • Preferring a discussion-based, collaborative coding process over letting the agent complete the task independently.

Points to note before use:

  • Display Language: The name/description of all presets in this plugin are rendered directly from their respective preset.yml files without following the Web UI language switch; only the four built-in DSH presets (standard, code, minimal, cordis) are localized via the harness’s i18n system. This is a limitation of how the harness consumes preset metadata, not a plugin issue. After switching the UI language, the display text for these presets will remain in their original language.
  • Removing the plugin does not automatically delete the preset directory; manual cleanup is required as described above.
  • The plugin runs with the permissions of the current dsh process. It is recommended to check the source code and license of the repository before installation. The project uses the MIT license, and some preset combinations are adapted from other open-source projects; see NOTICE.md in the repository for details.

Summary

The value of dsh-more-agent-presets lies in: without modifying the DSH core, providing adaptations for non-DeepSeek or older models through the preset mechanism, while offering a discussion-driven interaction mode for users who prefer collaborative development. Installation, updates, and cleanup are backed by ownership markers, ensuring no accidental harm to other plugins or user-created presets.

Repository address: https://github.com/R-LEI2536/dsh-more-agent-presets

Community directory page: https://www.skillhub.cn/plugins/R-LEI2536/dsh-more-agent-presets

The directory is an independent site for the community and has no official affiliation with DeepSeek or Huanfang.