Preface¶
When running Agents in DeepSeek Harness (DSH), the context length grows along with plugin declarations, workspace instructions, runtime status, and tool returns. Once the window is full, compression or trimming is required, which consumes tokens and risks squeezing out original text that is still needed. If the task focuses primarily on code modification or checking local fragments, there is no need for plan mode, sub-agents, web search, or the entire AGENTS.md in the prompt. The combinations found in standard presets are often too heavy for such cases.
The following introduces the community preset Whale Elite Mode (szytree0312/dsh-whale-elite-preset): it makes trade-offs at the composition layer, aiming to save tokens and increase effective output per unit of context. It is a pure bundle containing no Host / Client code; it only inserts a single @deepseek-ai/dsh-agent-preset declaration.
What is this¶
- Name: Whale Elite Mode (
whale-elite), plugin package namedsh-whale-elite-preset, current version1.0.0. - Maintainer: SZYTree0312.
- Category: Model Reasoning (Community Directory classification).
- License: MIT.
- Positioning: A patch for DeepSeek Harness Agent presets; after installation, “Whale Elite Mode” appears in the Agent preset selector.
The DSH ecosystem is organized around “Everything is a Plugin”; the community directory SkillHub Plugin Page is maintained independently from the GitHub repository and has no official affiliation with DeepSeek or HF Trading.
Core Features: Seven Directions for Token Saving at the Composition Layer¶
All changes are made within the bundle / preset composition, without modifying business code. The comparison with the standard mode is as follows (excerpted from the repository README).
| Dimension | Standard Mode | Whale Elite Mode | Description |
|---|---|---|---|
| Plugin lines | 19 | 11 | Removed goal, plan-mode, 4 sub-agents, workflow, ralph, web, present, plugin-manager |
| Workspace instruction files | Loaded (agent-instructions, 64 KB limit) |
Not loaded | Stops chaining AGENTS.md into the prompt |
| Runtime context | Injected | includeRuntimeContext: false |
System prompt does not fluctuate with runtime status |
Compression pressure threshold thresholdRatio |
0.8 | 0.6 | Triggers compression at roughly 60% window usage (This item truly controls the timing) |
Compression retention tail retainRatio |
0.16 | 0.12 | Compression is more thorough, leaving less original text |
| Tool result trimming threshold | 8192 chars | 4096 chars | Long outputs are trimmed earlier |
| Trimming retention head / tail | 4096 / 1024 | 2048 / 512 | Individual tool results are smaller |
Additionally, prompt discipline is written into persona.prefix: search before writing, read only necessary fragments, issue parallel tool calls in the same turn, do not write process narration, do not generate unrequested files, and provide only conclusions and change locations in the final reply.
Relationship with Liang Mode¶
Both are community-side agent presets, but they differ in direction: Liang Mode focuses on first-turn trajectory anchoring; Whale Elite Mode focuses on unit token output. They can be installed simultaneously and switched between via the preset selector based on the task.
Installation and Activation¶
Web-side installation (commands from the official README):
dsh plugin --profile web add github:SZYTree0312/dsh-whale-elite-preset
After installation, you need to restart dsh (not just refresh the page), then select “Whale Elite Mode” in the Agent preset selector.
For the Windows desktop client, if using a local link installation:
dsh plugin --profile desktop add link:<absolute path>\dsh-whale-elite-preset
Uninstallation:
dsh plugin --profile web remove dsh-whale-elite-preset
Before installation, it is recommended to review the source code and MIT license of the GitHub repository. Plugins run with the permissions of the current dsh process; as with any DSH plugin, only install sources you trust.
Typical Usage¶
There is no separate business API: the usage is simply “Install → Restart → Select Preset → Send tasks as usual”.
- Install using the
dsh plugin --profile web add …command above. - Restart dsh.
- Select “Whale Elite Mode” in the Agent preset selector.
- Describe coding / code reading tasks in the usual way; the Agent will execute under a streamlined tool surface and more aggressive compression and trimming strategies.
It is suitable for comparison with the standard preset: use the same repository and the same type of task to observe differences in context length and turn behavior, then decide whether to default to Whale Elite Mode long-term.
Use Cases and Notes¶
More suitable for
- Tasks focused on reading and modifying local code with relatively linear steps.
- Scenarios hoping to reduce the footprint of plugin lines, workspace instructions, and runtime context.
- Users who can accept strategies involving earlier compression and shorter tool result retention.
When not to use it (Explicitly stated in README)
- Complex multi-step tasks requiring sub-agents, workflows, or plan mode—related tools have been removed from the tool surface.
- Need for web search—
tool-webis not in the tool surface. - Projects heavily dependent on instruction files like
AGENTS.md—this preset does not load these files, so instructions will not enter the prompt. - Frequent retrospective checks on large amounts of history in long conversations—
retainRatiois 0.12, meaning earlier original text will be replaced by summaries sooner.
Compatibility
- Upstream baseline:
deepseek-ai/deepseek-harness0.2.0-rc.2. Upstream may introduce breaking changes; if plugin names within the preset are renamed, the patch needs synchronized adjustments. - Tool surface and persona are adapted by platform: Windows enables
tool-pwsh, while other platforms enabletool-bash; platform prompts are neutral, requiring no manual changes.
Conclusion¶
Whale Elite Mode implements “Token Saving, High Efficiency” at the composition layer: a shorter plugin list, no loading of workspace instruction chains, disabled dynamic runtime context, earlier compression triggers, more aggressive tool result trimming, and persona constraints on Agent behavior. It is not a universal preset, but for suitable coding tasks, it exchanges a smaller prompt for a more focused execution path.
- Community Directory: https://www.skillhub.cn/plugins/SZYTree0312/dsh-whale-elite-preset
- Source Code & Documentation: https://github.com/SZYTree0312/dsh-whale-elite-preset