dsh-ultracode: Enabling Ultracode Multi-Agent Workflow Mode for DeepSeek Harness

Preface

When handling tasks of significant size in DeepSeek Harness (DSH), a common practice is to manually break down steps and repeatedly invoke the workflow tool or sub-agents from the main session. As steps accumulate, progress becomes scattered across the transcript, making it difficult to reconstruct “whether the workflow is currently being followed” after a resume, fork, or replay.

Ultracode is a third-party plugin for DSH, maintained by Big-Smarty, and categorized as a “Workflow” in the SkillHub Plugin Directory. It transforms the principle of “substantive tasks default to a multi-stage workflow” into a session mode that can be toggled per session. It provides status and ledgers in the Composer and the right sidebar, rather than modifying the model or preset itself.

What is this

Ultracode is a session mode for DeepSeek Harness: once armed, the agent categorizes substantive work into a multi-agent workflow—scoping, writing workflow scripts, fanning out sub-agents by phase, adversarially validating and summarizing results; trivial requests are still handled directly with an explanation of the reasoning.

The plugin requires no build step and has no extra dependencies. The Host side is ESM, the client side is browser JavaScript, it uses host theme tokens, and text supports both English and Chinese. The license is MIT (see the repository LICENSE); the version in package.json is 1.1.0.

Core Features

Session Mode & Commands

  • Control the current session via /ultracode [on|off|status] or the Ultracode pill switch on the Composer; the posture folds from the command log and can be restored on resume, fork, or replay.
  • Once armed, ultracode:policy injects a prompt section at order 2650 (following the workflow tool guidance at order 2600), requiring phases, pipeline/parallel fan-out, isolated write operations, adversarial validation, and evidence in reports; when unarmed, this section is empty.

Composer Switch & Sidebar Ledger

  • Composer switch: A quiet outlined pill when off; when armed, it features a flat accent color with a dot, and a thin slit appears on the Composer edge; no gradients or icon glyphs.
  • Workflow sidebar: The session header ULTRA badge or the right sidebar Ultracode opens the ledger: in-progress and finished runs, phase cards with progress tracks and dots, per-agent status, models, tokens and wall time, validation tags, high-fan-out markers, and sub-transcript drill-downs.

Log Projection, No New Event Types

  • ultracode projection: folds { active, pending } from command/run / command/done.
  • ultracodeRuns projection: folds runs/phases/members and timing from tool-workflow/run-start|agent-start|agent-end|run-end; turn/end handles abandoned runs caused by interruptions or forks. Phases retain their original identity; cancellations and failures are distinguished.

Shell and other background tasks remain in DSH’s existing jobs control; the sidebar focuses on the workflow.

Preset Compatibility

Ultracode is a posture, not a preset; it depends on whether the preset exposes the workflow tool to the model:

Preset workflow Tool Ultracode Behavior
Standard Yes Full policy, phases, sub-agents, validation, and ledger
Creator (cordis) Yes Same as above, plus plugin authoring tools
PTC No (only run_code & SDK) Policy suppressed; overview shows Workflow unavailable in this preset
Minimal No (persistent shell + read_image) UI only; full persona also suppresses policy, overview same as above
Custom Depends on composition Full if workflow-ptc and tool-workflow are included; otherwise policy suppressed

Installation & Activation

Dependencies: DSH must have the workflow tool and a Web/Desktop right sidebar. The README states testing on 0.2.1-rc.2; similar versions with consistent services are usually compatible.

Install from GitHub (official steps):

  1. Open Plugins in the DSH sidebar.
  2. Select Add plugin → Install third-party plugin.
  3. Fill in the repository URL:
https://github.com/Big-Smarty/dsh-ultracode.git

A local clone path is also acceptable and maintains a link to the checked-out directory for code modifications.
4. After installing and enabling the bundle, refresh the page once to load the client-side half.

You can also let the DSH agent install the bundle from the same URL. The community directory page is SkillHub: dsh-ultracode; source code and instructions are at GitHub: Big-Smarty/dsh-ultracode.

Typical Usage

Action Method
Arm session /ultracode, or click the Ultracode pill in the Composer
Disarm /ultracode off, Composer pill, or arm control in the panel overview
Check status /ultracode status
Open ledger Click the session header ULTRA badge, or Right Sidebar → Ultracode
View a run Expand Finished, open phases, click an agent to read its sub-transcript

Once armed, trivial requests like search, single-line edits, or single commands remain direct; substantive requests will follow the workflow.

Use Cases & Notes

Suitable for: Scenarios where you are working on a preset with workflow (like Standard or Creator) and want to default large tasks into traceable, multi-stage sub-agent processes, requiring visibility into run progress and validation results in the UI.

Not suitable or limited: On presets without workflow like PTC or Minimal, the policy is suppressed, preventing Ultracode-tracked workflow runs (PTC can still call sub-agents via SDK, but these are not Ultracode workflows in the ledger).

Cost & Security: Ultracode intentionally consumes more tokens and time (it may launch multiple sub-agents for every substantive task); /ultracode off immediately returns to the standard paradigm. The plugin’s Host code runs in-process with your DSH privileges; it does not bypass approvals, sandboxes, plan mode, or tool restrictions. Read the source code before installation and ensure you trust the maintainers and the MIT license.

Troubleshooting (excerpted from README):

  • Red ! on the ULTRA badge: Hover to see the failure reason; the opener falls back to expanding the right sidebar guidance.
  • Ultracode tab missing after update: Hard refresh (Ctrl+Shift+R); client plugins load from the module graph at page startup, and hot reloads may leave a stale graph.
  • Badge unresponsive: Check for page-local client sync errors in Settings → Plugins, refresh and try again.

Conclusion

dsh-ultracode solidifies “substantive task → dynamic multi-agent workflow” into a toggleable session posture, projecting run status onto existing logs using the Composer and right-side ledger without adding new session event types. If you use a DSH preset with workflow, you can install it from the directory page or GitHub using the URLs above, and after arming, test a larger task to see if the ledger and phase drill-downs meet your expectations.

  • Directory Page: https://www.skillhub.cn/plugins/Big-Smarty/dsh-ultracode
  • GitHub: https://github.com/Big-Smarty/dsh-ultracode
羽毛球分组比赛记分
小程序二维码

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

Xiaoye