Introduction¶
In agent development, documentation often lives scattered across the file system: skill descriptions, reference links, and configuration examples all mixed together. Switching between apps, copy-pasting, and manually hunting for files can easily break your flow. DeepSeek Harness (DSH) adopts a plugin-based architecture, placing extended capabilities in the sidebar so that frequently used features are always within reach. The femnn/dsh-markdown-docs plugin introduced below is a workbench in the right sidebar for browsing, previewing, and editing Markdown documents.
Plugin Overview¶
dsh-markdown-docs is a client-side plugin that provides a Markdown document workbench in the DeepSeek Harness right sidebar. It is maintained by femnn and has 0 stars. Its core value: directly browse, preview, and edit Markdown documents in the DSH right sidebar, with support for dragging files or folders in, and the ability to follow documents referenced within other documents.
Core Features¶
Listing and Preview¶
- Lists all
.md,.markdown, and.mdxfiles in the current folder, sorted by path - Automatically skips dependency and build directories (
node_modules,dist,build,.git, etc.) - Limits scan scope: up to 400 files, 800 directories, 6 levels of depth; entries starting with a dot are ignored
- Renders Markdown: headings, emphasis, inline code, fenced code blocks, lists, blockquotes, tables, horizontal rules, and links; images are displayed as labeled placeholders
Editing and Saving¶
- Edit Markdown in a plain text editor
- Save with
⌘/Ctrl + S - Non-document files (e.g.,
.py,.yaml,.sh) are displayed as source code in reference mode and are not rendered as Markdown - Version conflict check on save: if the file has been modified externally since it was opened, the save is rejected with a
conflictreport instead of overwriting - New documents are created with
+; overwriting existing files is rejected
Reference Navigation¶
- Parses Markdown links, inline code, and plain paths in documents to identify real document references
- Clickable links open the referenced document in the rendered text
- Non-existent paths display a strikethrough and a Missing label, making broken links visible
- The Referenced Documents (N) row is collapsed by default; expanding it lists all referenced documents (including missing ones) as a quick-jump list
Installation and Activation¶
Before installing, ensure your DeepSeek Harness version meets the requirement (dsh >= 0.2.2-rc.1 < 0.3.0).
- Open the DeepSeek Harness right sidebar
- Navigate to the guides page and find the capsule labeled Markdown documents (icon: a page with a pencil)
- Install using the command provided on the plugin directory page:
dsh plugin add https://www.skillhub.cn/plugins/femnn/dsh-markdown-docs
After installation, the capsule will automatically open the corresponding page.
Typical Usage¶
Dragging In Files or Folders¶
- Single file: Opens directly after drag-and-drop; the right sidebar list jumps to the folder containing the file, and you can use
←to navigate sibling files - Folder: Lists all Markdown files within; when dragging in a skill directory, the list prioritizes
SKILL.mdand documents underreferences/ - Browser tab: In the Desktop app, files dragged in are mapped to disk paths via
__DSH_HOST_PATHS__.pathForfor read-write access; otherwise, they can only be opened in read-only mode from the byte stream received by the browser
Editing and References¶
- Open a skill directory; the list shows
SKILL.mdand its referenced documents - Add a Markdown link or plain path in
SKILL.mdpointing to a document in the same skill directory - Click the link in the rendered view to open the referenced document in the same panel
- If the referenced path does not exist, the link displays a strikethrough and a Missing label
Saving and Conflict Handling¶
- During editing, if the file is modified on disk by another process, saving will report a
conflict - Use
←to go back, reopen the file, and then save
Use Cases and Caveats¶
- Ideal for scenarios where you need to directly maintain skill documentation, descriptions, and reference relationships in the DSH right sidebar
- The plugin’s write permissions are governed by the current DSH session’s sandbox policy (
read-only,workspace-write, ordanger-full-access); skill directories are read-only by default inworkspace-writesessions - Files larger than 2 MiB cannot be opened
- Opened documents are not monitored for external modifications; if an agent rewrites the file while you are editing, saving will report a
conflictand you will need to manually reopen the file - Closing a tab discards unsaved drafts
- The reference list is a sequential scan of file text; it does not parse the full document dependency graph, and scans are capped at 40 entries
- This plugin provides only a UI layer and does not add new agent tools; file read/write is still handled by DSH’s own tools
Closing Remarks¶
dsh-markdown-docs brings a Markdown document workbench into the right sidebar, allowing you to browse, preview, and navigate references for skill documentation in one place. Combined with DSH’s plugin ecosystem, it enables a rapid, documentation-driven skill development workflow.
- Plugin directory page: https://www.skillhub.cn/plugins/femnn/dsh-markdown-docs
- GitHub repository: https://github.com/femnn/dsh-markdown-docs