In DeepSeek Harness (dsh) usage, repeatedly entering the same prompts or instruction templates reduces efficiency. dsh-quick-commands is a client-side plugin for DSH that lets users consolidate commonly used instructions into custom slash commands, which can be invoked quickly by typing /name.

What Is This

dsh-quick-commands is an open-source client-side plugin developed by user flg1217. It leverages DSH’s official extension mechanisms (settings namespace and input-trigger source) to provide a command-line–style quick-command input experience without modifying DSH source code.

Core Features

This plugin primarily provides the following capabilities:

  1. Custom slash commands
    Define a list of commands in the settings panel. Each command contains a name and the corresponding prompt. Type /name in the input field to trigger it.

  2. Placeholder (chip) input
    After typing /name and selecting it, the input field displays a chip placeholder instead of inserting the full text directly. When the message is sent, the chip automatically expands into the complete prompt, keeping the draft area clean and readable.

  3. Real-time updates and persistence
    Configuration supports automatic saving with a 400 ms debounce. Changes take effect immediately without requiring a restart. Configuration data is persistently stored in DSH’s settings.yaml document, so it is not lost after the service restarts.

Installation and Enablement

Install it using the official plugin mounting command. Make sure the local DSH environment is installed and switch to the target profile (the example below uses the web profile):

dsh plugin --profile web add <本仓库目录>

After installation, the plugin automatically registers itself in the settings namespace and input trigger source.

Typical Usage

  1. Open the DSH client (for example, the Web interface).
  2. Go to Settings → Plugins → Quick Commands.
  3. Add a new command to the list:
    • Command name: for example, subagent
    • Prompt: for example, Use subagent_agy_ui,model=gemini-3.7-flash-high to delegate tasks:
  4. In the conversation input field, type /, select your command from the menu, and press Enter to send. The input field then shows a chip, and after sending it automatically expands into the complete prompt.

Applicable Scenarios and Notes

  • Applicable scenarios: Suitable for developers and users who need to frequently call fixed instruction templates, prompts, or system prompts.
  • Permissions and security: The plugin configuration only reads and writes the dsh settings document and does not save other files to disk. It makes no network requests at runtime and does not store or read any keys or credentials. The plugin does not spawn any external processes and does not modify DSH source code, so it can be upgraded smoothly with DSH.

Conclusion

dsh-quick-commands provides a lightweight way to standardize instruction input and reduce repetitive typing. For users who are accustomed to using the command line or who need to reuse prompts quickly, it is a practical tool for improving efficiency.