Introduction¶
In DeepSeek Harness (DSH), each session is bound to a workspace, while the actual code writing and file reading are done by worker sessions. As projects accumulate, you have to remember “which session is doing what” and switch between them one by one in the Web UI or on your phone. IM bots often can only bind to one session, making the entry points even more fragmented.
dsh-super-leader provides a Leader agent preset: instead of getting tangled up with individual workers, you simply tell the Leader what you need; the Leader is responsible for clarification, selecting the workspace and session, dispatching tasks, and relaying the workers’ reports back to you. It doesn’t modify code directly; it separates the coordination layer from the execution layer, making it suitable for a single entry point when managing multiple projects in parallel.
The following explains positioning, capabilities, installation, and typical conversations; the facts are all taken from the plugin repository’s README and package.json (version 0.5.0, license MIT, maintainer RickT34, GitHub stars 1, community category Workflow).
What is it¶
dsh-super-leader is a Leader agent preset for DeepSeek Harness. Leader sessions do not write code or edit files; they converse with you until requirements are clear, select or create the appropriate workspace and session for the task, hand over the work to the worker, and relay the worker’s reports back to you. Workers still use their respective tools, contexts, and models to complete the specific work.
- Directory: https://www.skillhub.cn/plugins/RickT34/dsh-super-leader
- Source: https://github.com/RickT34/dsh-super-leader
The community plugin directory SkillHub has no official affiliation with DeepSeek / QuantStudio; installation and operation still rely on the local DSH process and its permissions.
Core Features¶
The capabilities summarized in the README are listed below (only documented items are listed).
Clarify Before Dispatching¶
Before dispatching, the Leader will verify the objective, scope, deliverables, completion criteria, and which workspace it belongs to; missing items will be turned into questions with options, making it easy to reply with a single click in the chat.
Route Based on Actual Session Behavior¶
Session titles can easily become outdated. read_session displays recent requests and responses, to-do items, and modified files. The Leader selects the session based on this rather than guessing based solely on the title.
Briefs for Long and Short Tasks¶
For existing sessions, only incremental briefs are sent; for new sessions, a complete brief containing the objective, background, constraints, deliverables, and acceptance criteria is sent.
Creating New Projects¶
You can create a workspace under the configured root directory: an empty directory, a git clone, or a git init, optionally accompanied by an AGENTS.md.
Proactive Reporting¶
After a worker round, reports return to the Leader; the Leader summarizes them and passes them to you, turning unresolved issues into questions for you.
Permissions and Control¶
Write operations like creating a workspace, dispatching, canceling, and switching models require your approval by default. The approval card displays the target workspace, session, and queue status. If the session is running under Full access, individual approvals may be skipped.
Task Ledger and Others¶
task_statuslists task status and reports; it will be corrected against worker logs after restarts to avoid getting stuck in ‘running’ for long periods, and lost reports will be marked as ‘lost’.- You can view or switch models per session without affecting your default model.
- The Leader uses a plain
MEMORY.mdto record preferences, workspace/session division of labor, and historical decisions, reading it at the start of every conversation. - The Leader does not read code or command output, seeing only bounded summaries and reports within a limit (default
reportMaxChars4000). The toolset is small, making it suitable for using a small, fast model for coordination. - The Leader session only sees its own tools and
ask_user_question; other plugin tools are invisible by default unless you allow them in the configuration.
Installation and Activation¶
Dependencies (from package.json and README):
- DeepSeek Harness:
>=0.2.2-rc.1and<0.3.0 - Node:
>=22.19.0
Official installation command (Web profile):
dsh plugin --profile web add dsh-super-leader
To install the latest code from GitHub:
dsh plugin --profile web add github:RickT34/dsh-super-leader
Activation steps:
- Restart
dsh web. - Click New Session, and in the mode menu next to the workspace selector, select Leader (only empty sessions can select a preset).
- Select the access mode: under Workspace Write, approval is required for every dispatch; under Full access, dispatching is allowed once requirements are clear.
- Simply state what you want to do.
By default, workspaces can only be created under ~/Work; this can be modified in the plugin settings (README points to the Configuration section).
Note: The plugin runs with the permissions of the current DSH process. Before installing, please review the source code in the repository and the MIT license yourself to confirm it fits your environment and security policies.
Typical Conversation (README Example)¶
The following snippets are taken from the README, demonstrating the flow of clarification → session selection → dispatch → reporting.
You: Add a
--sortoption to the file-stat tool. Sort by size by default.Leader: After reading the session where file-stat was set up: that session wrote
file_stat.pyand the README two days ago and is currently idle. Should we continue in the existing session, or open a new session in file-stat?
1. Continue the existing session (recommended)
2. New session in file-statYou: 1
Leader: Sent as T-1f7c67 to “T-80a129 File extension stats”. Will report when finished.
(A few minutes later)
Leader: T-1f7c67 is complete. Added
--sort size|count, sorting by size in descending order by default. README has been updated and both orders have been verified on sample directories. No pending issues.
The brief sent to the worker is short because that session already has the project context.
Mobile and dsh-im (Optional)¶
The README explains that the Leader is suitable as the only bound session for an IM bot; it requires the use of @xmanrui/dsh-im (behavior is based on version 5.10.0). Key points:
- Set Agent Preset to Leader in bot settings; this applies to new sessions (send
/newin chat first). - Enable Deliver model answers in Session sync; otherwise, Leader replies triggered by worker reports may only appear in the Web UI.
- Optionally add
dsh_im_return_file,dsh_im_group_history,dsh_im_group_file, etc., to the Leader’s Extra tools. Example configuration:
- id: super-leader
config:
allowTools:
- dsh_im_return_file
- dsh_im_group_history
- dsh_im_group_file
- Full access dispatching is the smoothest on mobile; otherwise, it relies on dsh-im displaying approval cards in private chats (session sync must be enabled for the corresponding delivery target).
Suitable Scenarios and Cost Characteristics¶
Suitable for: Users with multiple DSH workspaces/sessions running in parallel who want a single entry point to clarify requirements and auto-route; users who don’t want to frequently switch sessions on Web or IM.
Not suitable for: Scenarios where users expect to “personally read all code and edit files in one session”—that is still the worker’s responsibility; the Leader deliberately avoids heavy contexts.
The README uses the author’s personal usage data to explain the pattern (not a benchmark test): the Leader ran for two days with 79 rounds, 165 model calls, and 31 dispatches, with a context of about 149K tokens; in contrast, the standard preset session used for developing this plugin had 31 rounds but 730 calls and about 577K tokens. Heavy reading is done in the worker, keeping the coordinating session lightweight.
Conclusion¶
dsh-super-leader condenses the orchestration of multiple DSH sessions into a single link: “first explain to the Leader → automatically route to the correct worker → aggregate the results back to you,” fitting the positioning of workflow-type extensions in DSH’s “everything is a plugin” philosophy.
- Community directory: https://www.skillhub.cn/plugins/RickT34/dsh-super-leader
- GitHub: https://github.com/RickT34/dsh-super-leader