Preface¶
When developing agents or plugins within DeepSeek Harness (DSH), the same SOPs, checklists, or prompt templates are often reused frequently. A common practice is to copy and paste from historical sessions or store snippets in notes outside the project—the former is difficult to search, while the latter is disconnected from the current workspace and not convenient for version control alongside the repository.
@nangeagi/dsh-sop-capsules (Community Catalog Name: nangeplus/dsh-sop-capsules) turns reusable SOPs and prompt snippets into “Prompt Capsules.” The data resides in the current workspace directory. You can open a panel above the Web session input box to select and inject them into the draft via replacement or appending, without auto-sending. The following section introduces its positioning, capabilities, and installation usage.
What is this¶
A Web-side plugin for DeepSeek Harness, with the npm package name @nangeagi/dsh-sop-capsules, maintained by NanGePlus. The current README specifies the latest version as 0.2.0, compatible with DSH version 0.2.0-x. It is categorized under “Memory” in SkillHub. The GitHub repository has 0 stars (subject to the directory page).
In short: Maintain a capsule library in the current workspace, browse by group, search, and inject into the input box during a session.
Workspace Library and Session Entry¶
Capsule data is stored in .dsh/sop-capsules/ at the workspace root directory (library manifests and group yamls), which can be version-controlled or backed up along with the project.
The Web client provides a capsule panel entry above the input box. If no workspace is currently bound, this entry is disabled with a prompt to select a workspace first—capsules are bound to the workspace to prevent the misuse of snippets from other projects.
Selection and Management¶
Selection
- Open the panel, browse by group or search by title.
- Choose “Replace” or “Append” to write the capsule body into the current input box draft; messages are not sent automatically.
- After injection, the panel closes and focus returns to the input box; the injection mode (Replace/Append) is remembered per workspace.
Management
- Groups and capsules: Create, rename, delete, with support for drag-and-drop sorting.
- Export and import of single-group yamls, facilitating the migration of a set of capsules between environments or projects.
Input Box Slash Styling
In the input box, /word that exactly matches current session command names, built-in command declaration words, or skill names will be displayed in a quoted style; other slash text remains plain text. This complements capsule injection: capsules handle the injection of whole SOP blocks, while slash styling handles readability when aligning with DSH built-in naming.
Host Interface (For Extension Development)¶
The Web client does not directly read or write library files but accesses host capabilities via the Typert namespace sopCapsules, such as listLibrary, getGroup, saveGroup, deleteGroup, reorderGroups, etc.; the Web side calls these via ./remote mounted through $mount. If you are extending or integrating the plugin, you can refer to the package structure instructions in the repository README (src/index.ts for host services, src/library-io.ts for library paths and validation, src/client/ for Web mounting and panels, etc.).
Installation and Activation¶
Prerequisites: DeepSeek Harness is installed locally, and the dsh command line is available.
Install via npm and start the Web:
dsh plugin --profile web add @nangeagi/dsh-sop-capsules
dsh web
Install from GitHub:
dsh plugin --profile web add github:NanGePlus/dsh-sop-capsules
Uninstall:
dsh plugin --profile web remove @nangeagi/dsh-sop-capsules
After installation, open the Web interface with dsh web and bind a workspace to use the capsule entry above the input box.
Typical Usage¶
- Select the target project directory as the workspace via DSH, and install and enable the plugin.
- Create groups (e.g., “Code Review SOP”, “Release Checklist”) in the capsule panel, create capsules, and write the body content.
- Start a new session or continue the current one, open the panel, search for or click a capsule, select replace or append, verify the draft content in the input box, and then send it manually.
When you need to back up or share a specific set of capsules, export the yaml for that group; you can restore the group by importing the same yaml on a new workspace or machine.
Use Cases and Notes¶
Suitable for
- Teams sharing fixed SOPs and prompt templates within the same repository who want consistency with the workspace.
- Individuals switching between multiple projects, maintaining their own
.dsh/sop-capsules/for each project. - Users already using the DSH 0.2.0-x Web profile who need to reduce repetitive pasting of long prompts.
Notes
- The plugin runs with the permissions of the current
dshprocess. Before installation, please read the source code and MIT license of the GitHub Repository to ensure compliance with your security and compliance requirements. - The community plugin directory SkillHub is an independent site and has no official affiliation with DeepSeek or High-Flyer; the DSH ecosystem philosophy is “Everything is a plugin,” and this plugin is one of the community-maintained Web plugins.
- The version needs to align with DSH 0.2.0-x; peer dependencies involve the
@deepseek-ai/dsh-workspace,@deepseek-ai/dsh-session0.2.0-rc series, etc. Pay attention to the version instructions in the plugin README when upgrading DSH.
Conclusion¶
dsh-sop-capsules organizes SOPs and prompt snippets into the workspace .dsh/sop-capsules/, allowing one-click draft injection via the Web session input box, while supporting group management and yaml import/export. See the SkillHub Plugin Page for directory and instructions, and GitHub: NanGePlus/dsh-sop-capsules for source code and interface previews.