Preface¶
When running Agents in DeepSeek Harness (DSH), the session often contains numerous installed skills and MCP tools, yet there is no unified entry point next to the input box. Users have to rely on memory to browse directories, manually write methodologies into the conversation, or hope the Agent guesses the correct workflow. When switching tasks, this leads to repetitive manual labor.
The following introduces the community plugin dsh-task-assist (Maintainer: TheFold060629, Category: Workflow). It places a persistent “Assist” button to the left of the send key on the input box. It uses the current draft as the task description, scans available skills and MCPs in the session, and pops up a checkable list of candidates. Upon confirmation, the selected items are injected into the current session as steering, allowing the running Agent to load and execute them according to their methodologies in the next step. “Auto-analyze” can also be enabled to silently match and inject after every message is sent, eliminating the need to click the button.
What is this¶
dsh-task-assist is a task-assist launcher plugin for DSH: The UI is mounted to the official slot conversation.input.right (right side of the toolbar, left side of the send/stop keys); the host side provides routes such as api/task-assist/scan, inject, auto, and diag. It performs keyword scoring on skill metadata and MCP tool names, while the client handles the panel and post-send observation.
- Repository: TheFold060629/dsh-task-assist
- Community Directory: SkillHub Plugin Page
- Current Package Version: 0.1.0 (see
package.json) - License: MIT
Core Features¶
Persistent Button Next to the Send Key¶
The plugin registers a client component in conversation.input.right, occupying the same column as the official conversation UI, without replacing the send key itself.
Automatic Scanning and Candidate Panel¶
- The user inputs a task description (or uses the current draft in the input box).
- After clicking “Assist,” the client reads the
draftfromuseInput()and initiates a scan viaapi/task-assist/scan(sending the task text and session ID along). - The host enumerates installed skills in skill root directories (e.g.,
~/.agents/skills,~/.dsh/skills,.dsh/.agents/skillsunder the project) and lists tools from connected MCPs; it sorts them by scoring against task keywords. - The panel displays skills (checkable) and MCP tools (display only); a search bar at the top allows filtering by name or description, and provides “Select All / Select None” for the current filtered results.
- Skills matching keywords can be checked by default in the panel (linked with the “Auto-analyze” toggle, see below).
The panel uses position: fixed to position relative to the viewport, avoiding being blocked by the composer’s stacking context, which could obscure the close and confirm buttons. Clicking outside the panel, pressing Esc, or clicking “Assist” again will close it.
One-Click Injection and Execution¶
After the user confirms in the panel, the client POSTs the checked results to api/task-assist/inject; the host assembles a prompt-level instruction and feeds it into the current session via ctx.agents.get(sessionId).steer(message) (the message source is plugin:dsh-task-assist). What is injected is a steering input, not a direct execution of the skill; the Agent decides whether to load or execute based on the context.
Auto-Analyze for Skill Adaptation¶
The panel includes a checkable option: “Automatically analyze and adapt skills based on text content”:
- When opening the panel, all matching items are checked by default.
- Once enabled, every time a message is sent, the client observes the
InputState(draft clears anddraftRevadvances) and callsapi/task-assist/auto; the host runs a scan again and injects viasteerfor any matching items withscore >= 1. The process does not interrupt sending; if there are no matches, it succeeds silently. - The toggle is persisted in
localStorage(keydsh-task-assist:auto-analyze); when enabled, a small dot appears in the top right corner of the button as an indicator.
The automatic path does not hijack the send key; it only observes states published by the kernel to avoid violating composer contracts, which could cause client boot failures.
Scanning Boundaries¶
- Scanning is read-only: It only reads skill names/descriptions and MCP tool names; it does not execute skills or call business tools.
- The panel’s scan results display all skills (facilitating search and manual selection); the automatic path uses
score >= 1for filtering.
Installation and Activation¶
Environment Requirements: dsh >= 0.2.0-rc.2 (see dsh.engines.dsh in the package); the client depends on the conversation.input.right slot declared by @deepseek-ai/dsh-client-ui-conversation.
Add the plugin to the target profile’s dsh.profile.bundles, then fully exit and restart the desktop application (refreshing the page is not enough, as the host half is loaded only at process startup):
dsh plugin --profile <profile-name> add dsh-task-assist
For local development, a source code symlink can be used (using the package name is recommended for production):
dsh plugin --profile <name> add link:<current-directory>
Note: Do not manually write - insert: [dsh-task-assist] in the profile’s cordis.patch.yml. The package’s dsh.bundle.patch already inserts this entry; duplication will result in a duplicate entry ID, preventing the desktop client from starting.
After modifying host-side logic, ensure all DeepSeek Harness processes are terminated before restarting, otherwise, you may encounter a mixed state where the new client (with buttons) runs against an old host (resulting in 404 errors on interfaces).
Typical Usage¶
Manually Select Skills Before Starting¶
- Write the current task in the input box (e.g., “Write a PR description for this repository”).
- Click “Assist” to the left of the send key, and view the scanned list of skills and MCPs; use the search bar to narrow the scope and check the required skills.
- Click “Launch Assist” and wait for the Agent to pick up the steering in the next step and proceed according to the selected skills.
Enable Auto-Analyze for Frequent Task Types¶
- Check “Automatically analyze and adapt skills based on text content” in the assist panel.
- Subsequently, input and send messages normally; if the task text overlaps with a skill’s name or description by keywords (score ≥ 1), the plugin will automatically inject after the message is sent, eliminating the need to click “Assist”.
For troubleshooting, the client can write to the host-side ~/.dsh/rescue/task-assist-client.log via POST api/task-assist/diag (the README contains an explanation for diagOnce deduplication).
Use Cases and Notes¶
Who it is for: Workflow users who have installed multiple skills or MCPs in DSH and want to quickly attach methodologies based on “one sentence for the current task”; Agent developers who do not want to manually copy SKILL content into the conversation every time.
Permissions and Security: The plugin runs with the permissions of the current DSH process; although scanning is read-only metadata, injecting changes session steering. Before installation, please read the repository source code and the MIT license to ensure compliance with your environment policies.
Ecosystem Note: DSH advocates “everything is a plugin”; community directories like SkillHub are independent sites and have no official affiliation with DeepSeek / High-Flyer. This plugin has 1 star on GitHub (subject to the directory page/repository), representing an early community workflow extension. When upgrading DSH, pay attention to engines and peer dependencies.
Conclusion¶
dsh-task-assist consolidates “finding skills by task → checking → injecting into Agent” into a single link next to the send key, with optional automatic post-send matching, reducing the cost of manual prompt assembly. To install or view implementation details, please open the SkillHub Directory Page and the GitHub Repository README.