Introduction

In the DeepSeek Harness (DSH) development workflow, the / menu is the core entry point for quickly invoking commands and skills. However, the default filtering mechanism is relatively basic: the command source relies on ordered subsequence matching, while the skill source relies on literal name prefixes. As a result, it can be difficult to find hyphen-separated skills or commands by using abbreviations (for example, dshp).

The dsh-better-command plugin solves this problem by providing a more intelligent matching service. It aims to improve the quality of candidate ranking in the / menu, enabling developers to locate targets quickly with more natural abbreviations.

Plugin Positioning

This is a DSH plugin maintained by Lovstudio and is not an official DeepSeek-AI package. It provides the slashMatcher service, a delimiter-transparent, abbreviation-aware candidate ranker. Once the plugin is mounted, the / menu (ui-commands and ui-skill) calls this service during the candidate stage.

Core Features

The plugin enhances matching through a runtime replacement mechanism:

  1. Delimiter transparency: In names and queries, hyphens -, underscores _, dots ., and spaces are treated as transparent characters. For example, entering dshp can match dsh-plugin-creator.
  2. Abbreviation awareness and boundary weighting: Supports abbreviations from word initials, with higher scores for abbreviations at word boundaries. For example, entering dbc can match dsh-better-command, and entering dsh-p can match dsh-plugin-creator.
  3. Multi-level filtering and ranking: Literal name prefixes are matched first, then prefixes after delimiters are removed, and finally ordered subsequence matching is used. When ranking scores tie, the original source order is preserved.
  4. Full re-ranking: The plugin replaces the original candidate source, obtains the complete command/skill list, and re-ranks it with its own matcher.

Installation and Activation

The plugin requires Node.js 22.19+ or 24+ and pnpm 11. Use the following command to install it:

pnpm dsh plugin --profile web add -w github:lovstudio/dsh-better-command#v0.1.2

After installation, start the web interface to activate it:

pnpm dsh web

Typical Usage

After enabling the plugin, enter / in the input field and start typing an abbreviation:

  1. Enter / in the composer and start typing an abbreviation, such as /dshp, /dbc, or /dsh-p.
  2. The menu automatically surfaces hyphen-separated commands and skills that cannot be retrieved by the default filter.

Notes

  1. Fully self-contained: The plugin does not import any @deepseek-ai runtime symbols (it only mirrors the structure), so it does not depend on DSH runtime type definitions.
  2. Feature detection and compatibility: The plugin detects capabilities by reading InputTriggerService.live.sources. If the internal shape of the Harness build changes, the plugin logs a warning to the console and remains inactive instead of causing a crash.
  3. Privacy and performance: Matching calculations are performed entirely in the browser, per keystroke, and are never sent to model requests or recorded in session logs.
  4. Restoration on uninstallation: After this plugin is uninstalled or disposed, DSH reverts exactly to the default built-in filtering behavior.
  5. Version verification: This plugin has been verified against dsh-v0.1.2-rc.1 on 2026-09-04.

Conclusion

dsh-better-command is a lightweight, privacy-friendly DSH plugin that significantly improves the usability of the / menu through intelligent browser-side matching logic. It is a practical enhancement tool for developers who frequently invoke complexly named commands using abbreviations.