Introduction¶
When working in DSH, prompts are often typed manually: rewriting the same prompt repeatedly, or copying and pasting from notes. The more colloquial the requirement, the more one has to temporarily fill in the role, boundaries, and output format. Saved items are scattered everywhere; switching chats or machines makes them hard to find. QuickPrompt is a DSH workflow plugin maintained by wyylalala. It condenses this process into three steps: “Refine → Save as Command → Re-run”. It uses the current session model to write a structured prompt from a rough requirement. Once stored, it becomes a /qp-<slug> slash command. If variables are missing, it will ask before executing.
What is this¶
QuickPrompt targets DeepSeek Harness 0.2.1 and above. The repository is pure ESM, with version 0.2.0 in package.json, and is licensed under MIT. The plugin ID is quickprompt with a default command prefix qp. Humans operate via slash commands, while the Agent side provides a quick_prompt tool (list / get / save / delete / run / forge) that reads and writes to the same local JSON library.
Core Features¶
Below are the features documented in the README that are usable in the host application.
Refining and Execution. /qp <rough requirement> is rewritten into a structured Prompt with role, goal, steps, constraints, and output format, and executed in the current session (if autoRun: false, it only echoes back). /qp forge refines without executing.
Save as Command. /qp save <slug> [--title=title] automatically registers /qp-<slug> after saving; you can also use --save=<slug> during refinement to save it on the fly.
Review Process. --review refines only; /qp revise modifies the draft; /qp apply sends it; /qp edit modifies an existing entry directly.
Variable Templates. Supports {{topic}} and {{topic:default_value}}. Missing required values trigger a question card (multiple variables combined into one), or you can use topic=value or pass parameters in order. When --no-ask or askMissing: false is set, it switches to reporting an error listing missing items.
Local First. The default library path is %DSH_HOME%/quickprompt/prompts.json (falls back to ~/.dsh/quickprompt/prompts.json if DSH_HOME is not set). It uses atomic writes, automatic backup on corruption, no uploads, and no telemetry. The npm package name is dsh-quickprompt, and it has not been released as of the writing of this document.
The “Prompt Library Panel” mentioned in the roadmap is still under development and has not yet been verified on running hosts. Commands and tools do not rely on the interface; behavior is consistent across DSH Desktop / dsh web and other hosts (TUI, ACP, sub-agents, etc.).
Installation and Enablement¶
Requires DSH 0.2.1+ (slash commands are provided by @deepseek-ai/dsh-commands). Choose either method, replacing <profile> with your actual profile name.
Local Directory (Currently recommended):
dsh plugin --profile <profile> add <local-repo-path>
The equivalent in plugin_manager is action: install_bundle and target: <local-repo-path>; installation may require approval (approval=ask), which is normal. Return application: applied to take effect.
From GitHub Source Code:
dsh plugin --profile <profile> add github:wyylalala/QuickPrompt
The source code runs directly without needing npm install or build artifacts.
After installation, typing /qp should show help; if not, restart the host. /qp path can confirm the library file location. Configuration is overridden via override.id: quickprompt in the profile’s cordis.patch.yml. Common items include commandPrefix, autoRun, askMissing, maxPromptChars (default 8000), maxPromptCommands (default 50), libraryPath, forgeSystemPrompt, forgeModel, etc. Changes require reloading the host.
Typical Usage¶
One-line requirement, refines and runs directly:
/qp Help me organize this week's commit history into a weekly report for the team
To review before deciding:
/qp Help me organize this week's commit history into a weekly report --review
/qp Help me write a weekly report --dry
/qp Help me write a weekly report --save=weekly
Command reuse, missing variables trigger cards:
/qp save weekly --title=Weekly Report
/qp-weekly
/qp-weekly Topic="Q4 Review"
Review first, then run, refine a few times before finalizing:
/qp Write a post-event review for the operations team --review
/qp revise Put conclusions first, add an analysis of failure reasons
/qp apply --save=retro
One-line modification of an existing entry: /qp edit retro Tone it down a bit (--dry only previews without writing to the library).
See /qp help for more subcommands, e.g., /qp list, /qp show <slug>, /qp run <slug>, /qp rm <slug> --yes.
Applicable Scenarios and Notes¶
Suitable for DSH users who need to repeatedly run similar tasks and want to quickly transition from colloquial requirements to structured Prompts. Compared to copying long prompts or scattered notes by hand, the library file is human-readable and writable. Uninstalling the plugin won’t delete the library, and reinstalling can read it back.
It is recommended to check the GitHub repository source code and the MIT license before installing. The plugin runs under the permissions of the current DSH process. Refinement passes the requirement to the current session’s model channel, just like a normal conversation. Prompts in the library are injected into the model context; do not write sensitive information such as keys into the prompts.
Conclusion¶
QuickPrompt consolidates “writing Prompts” and “running Prompts” into the same set of slash commands and local library, allowing refinement, saving, and re-running with parameters to be completed in one workflow. Directory page: SkillHub — QuickPrompt; Source code and full description: github.com/wyylalala/QuickPrompt.