AI Agent Hub
Back to plugins
⚙️

snippet-expander

Workflow Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install JohnXu22786/snippet-expander

Paste the following prompt into your AI chat to install this plugin:

In DeepSeek Harness, open the plugin manager and run the install command dsh plugin install JohnXu22786/snippet-expander sourced from the open-source repository https://github.com/JohnXu22786/snippet-expander to activate the Steno shorthand expansion plugin.

About this plugin

Steno removes the repetitive typing burden in dsh workflows by letting you define high-frequency messages once and trigger them with a short #tag. The plugin expands matching tags in the outgoing message before it is sent, so you can keep prompts concise in the chat box while preserving the full instruction in the message that reaches the agent.

It handles real-world usage patterns beyond simple find-and-replace. You can maintain multiple YAML snippet libraries with explicit precedence, use aliases to attach several trigger names to one snippet, include {{name}} and {{name:default}} placeholders for host-supplied values, and reference other #tags inside snippet bodies for recursive expansion. Built-in loop detection, depth limits, and expansion caps keep recursive composition safe, while code-block protection prevents unintended changes inside fenced or inline code.

This plugin is especially useful for individual dsh power users who want trigger-word style prompt shortcuts, as well as teams that want a shared local snippet library to standardize common instructions. It runs as a self-contained local plugin with a single runtime dependency and no external service requirement.

Use Cases

  • Trigger preconfigured instructions with a single #tag in dsh
  • Keep a shared YAML snippet library across a team for consistent prompts
  • Build dynamic outgoing messages using host-supplied variable placeholders

Best For

  • dsh power users who retype long instructions frequently
  • Engineering teams that want a shared, versioned prompt library
  • Solo developers who prefer lightweight, zero-service local plugins