dsh-plugin-template
Run the following command in DeepSeek Harness:
dsh plugin install ZhijiangTang/dsh-plugin-template
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install ZhijiangTang/dsh-plugin-template in the DeepSeek Harness terminal to install this template plugin; the full source is available at https://github.com/ZhijiangTang/dsh-plugin-template
About this plugin
Building a tool plugin from scratch for the DeepSeek Harness ecosystem is far more involved than writing a single function. The schema DSL demands property-level required instead of a top-level array, pnpm enforces a 24-hour maturity gate on newly published versions, and local file: install is the only reliable way around Node resolving symlinked @deepseek-ai/* modules. Miss any of these and your plugin silently parks in PENDING or crashes with ERR_MODULE_NOT_FOUND. dsh-plugin-template bakes all these battle-tested pitfalls into a minimal working skeleton so you can go straight to business logic.
The template is pure ESM, zero-dependency, and requires no build step. It ships a complete hello_world placeholder tool exercising every critical surface: parameter schema, output schema (demonstrating property-level required and oneOf-null patterns), render, and execute. A mount self-check runs through the real ctx.tools.execute pipeline, and the README packs a first-batch gotcha cheat-sheet covering local install, schema expression, allowBuilds, and PENDING silence alongside the hard rules every tool must follow.
If you are drafting your first contribution to the Harness ecosystem or simply want to validate a quick pipeline-integration idea, fork this template, swap the placeholder comments in package.json and index.js, and you land on a structurally valid, pipeline-verified starting point that beats assembling the skeleton line by line from the official docs.
Use Cases
- Bootstrap: clone the template, swap the placeholder comments, and the mount self-check pipeline passes out of the box
- Rapid validation: lean on the hello_world scaffold to verify schema, render, and execute end-to-end before layering in business logic
- Learn by example: the note field and gotcha cheat-sheet encode property-level required, oneOf-null, and other schema DSL facts without wading through docs
Best For
- First-time contributors adding tool plugins to the DeepSeek Harness ecosystem
- Plugin authors who want to skip boilerplate assembly and jump straight to business logic
- Engineering leads who need a shared, standard skeleton before running the npm publish pipeline
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.