Introduction¶
When working on Dragonfly-related support or secondary development within DeepSeek Harness (DSH), common issues often stem from extension manuals, Help documentation, or local Python source code. If the model relies solely on conversational memory, it tends to conflate the capabilities of different versions and extensions. Manually browsing directories is slow, and it is difficult to cite sources within the response.
The following is an introduction to the community plugin dragonfly_chatbot (maintainer: caozixiong, npm package name dsh-dragonfly-chatbot). It attaches searchable corpora to the Harness toolchain, allowing the agent to explicitly query and read evidence via tools, and then cite evidence IDs and source code line numbers in its answers. Retrieval is performed locally, and the plugin itself does not initiate external network requests. However, the Harness will still send questions and retrieval results to the model service based on your selected model. This aspect should be understood separately from whether “internet access” is enabled.
What is this¶
dragonfly_chatbot is a Dragonfly technical knowledge retrieval plugin for DeepSeek Harness. The SkillHub directory categorizes it as a web tool (web-tools), and the repository is located at caozixiong/dragonfly_chatbot.
The official introduction is: Dragonfly technical knowledge search and cited answers for DeepSeek Harness. The more complete manifest description is: Version-aware local Dragonfly documentation and Python source search for DeepSeek Harness.
The current directory sync version is v0.1.0, with 0 GitHub stars and an MIT license. SkillHub verifies the installability as verified.
Core Features¶
The plugin registers three types of tools with the Harness (names based on the repository README):
| Tool | Function |
|---|---|
search_dragonfly_knowledge |
BM25 retrieval, supporting Chinese aliases, exact API/title terms, and strict filtering by version and document type |
read_dragonfly_evidence |
Reads hit fragments by evidence ID, outputting bounded text and citation coordinates |
get_dragonfly_corpus_status |
Views the source types, versions, and counts of the loaded corpus |
Key behavioral points (all from the project README):
- Built-in 162 first-party manuals from 112 Prototype Apps extensions, plus three original engineering notes; it does not include Dragonfly-specific Help or your installed Python source code, which must be imported manually.
- Adds Dragonfly-related guidance to the regular Harness prompt; it does not replace the full system prompt, nor does it disable other host tools.
- Retrieval is lexical (BM25), with no embedding or reranker; cross-lingual paraphrasing may fail to match. The project does not promise end-to-end LLM answer accuracy. Given the same corpus and query, explicit tool call evidence results are independent of the chat model.
- The plugin process does not make network requests; questions and retrieved text are still sent to your configured model service via Harness. If evidence must remain local, use a local model, and do not import credentials, customer data, or sensitive configurations into the corpus (see the repository
NOTICE.mdfor details).
Environment requirements (stated in README): DeepSeek Harness 0.2.1-rc.2, Node ≥ 22.19.0 (documented as tested on Node 22.23.3). No build steps, Python environment, Ollama, or disabling of Dragonfly are required.
Installation and Activation¶
Under the web profile, the installation command provided in the README is:
dsh plugin --profile web add github:caozixiong/dragonfly_chatbot#v0.1.0
The SkillHub installation plan also provides a method pinned to an exact commit (usable when consistent with the directory sync headSha):
dsh plugin --profile web add github:caozixiong/dragonfly_chatbot#30d8f81a192f905112763cee138eeb8741fdb13b
After installation, you must reload or restart the web profile (e.g., dsh --profile web). If using a profile managed by Desktop, install it via the in-app plugin manager; the CLI web profile is separate from this. This plugin has no custom browser panel.
Uninstallation example:
dsh plugin --profile web remove dsh-dragonfly-chatbot
Typical Usage¶
Asking questions in a session¶
After installation and restart, you can directly use natural language to request the agent to call the plugin, such as the English and Chinese examples in the README:
- “Use dragonfly_chatbot to find which Prototype Apps tool measures mesh surface area. Read and cite its manual.”
- “查询网格整体测量功能,并引用依据。”
The agent should pull evidence via search_dragonfly_knowledge and read_dragonfly_evidence before answering.
Importing local Help and Python source code¶
If you need to search local Dragonfly Help or directories like OrsPythonPlugins, the project provides the bin/dragonfly-chatbot.mjs command line (requires installing dependencies in the repository). The README example flow is as follows.
First, install dependencies and view help:
cd dragonfly_chatbot
npm ci --ignore-scripts
node bin/dragonfly-chatbot.mjs --help
On Windows, replace the paths in the example according to your actual setup, import and merge the corpus:
node bin/dragonfly-chatbot.mjs import --root 'D:/DragonflyHelp' --source-id help_2027_1 --version 2027.1 --kind help --out 'D:/DragonflyKnowledge/help.json'
node bin/dragonfly-chatbot.mjs import --root 'D:/Dragonfly/python/OrsPythonPlugins' --source-id python_2027_1 --version 2027.1 --kind source_code --out 'D:/DragonflyKnowledge/source.json'
node bin/dragonfly-chatbot.mjs merge --corpus 'D:/DragonflyKnowledge/help.json' --with 'D:/DragonflyKnowledge/source.json' --out 'D:/DragonflyKnowledge/combined.json'
node bin/dragonfly-chatbot.mjs search --corpus 'D:/DragonflyKnowledge/combined.json' --query 'getAllRepresentableInstances' --version 2027.1
There are size and depth limits for imports (e.g., 2 MiB per file, 32 MiB total source text, max 10,000 eligible files, etc.). Oversized files will be skipped and noted in the report.
To point the Harness to the merged corpus, configure it in the profile’s cordis.patch.yml (replace paths with your actual files):
- id: dragonfly-chatbot
config:
corpusFile: 'D:/DragonflyKnowledge/combined.json'
includeManuals: true
maxResults: 8
You need to reload after updating the corpus; use get_dragonfly_corpus_status to confirm loading. includeManuals: false retains only the three starter notes excluding extension manuals. Strict version filtering will exclude other versions and sources without a specified version. If the built-in manual version is unspecified, do not apply version filtering during retrieval and manually verify the text before making compatibility conclusions.
Use Cases and Notes¶
Who is it for
- Those doing tech support, script debugging, or API lookups for Dragonfly / Prototype Apps in DSH, who want answers traceable to manuals or source lines.
- Those willing to maintain local corpora (optional import of Help and Python trees) and accept the limitations of lexical search regarding phrasing.
Permissions and Security
DSH plugins run with the current dsh process permissions. Please review the GitHub source code and the MIT license yourself before installation; SkillHub’s verified status only indicates that manifest checks passed, it is not a security audit.
The community directory SkillHub is not officially affiliated with DeepSeek / High-Flyer; the Harness ecosystem itself is “everything is a plugin,” and third-party entries require risk assessment based on dependency conventions.
Other Notes
- Removing the plugin does not delete imported files like
combined.json; for upgrades, please install new versions with explicit tags. - The repository is exported from the
deepseek_harness_agent/dragonfly_chatbotsubproject of DragonflyPrototypeLabs; only that subproject is public. The manual snapshot script is for development checkouts; end users do not need to run it.
Summary¶
dragonfly_chatbot incorporates Dragonfly extension manuals and optional local Help/source code into Harness tool retrieval, supporting verifiable technical answers via evidence IDs and line numbers. Installation follows dsh plugin --profile web add, requiring Node 22.19+ and Harness 0.2.1-rc.2.
- Directory Page: https://www.skillhub.cn/plugins/caozixiong/dragonfly_chatbot
- Source Code and README: https://github.com/caozixiong/dragonfly_chatbot