Introduction¶
The core philosophy of DeepSeek Harness (DSH) is “everything is a plugin.” When developing agents that require domain-specific knowledge, directly connecting structured data (such as knowledge graphs) to the conversational context is often more effective than pure text retrieval. xby-traditional-chinese-medicine-kg is a DSH plugin for the traditional Chinese medicine domain. It stores nodes and relationships related to Chinese medicine through a graph database, allowing developers to execute Cypher queries directly via MCP Tool.
Plugin Positioning¶
xby-traditional-chinese-medicine-kg is a DeepSeek Harness (DSH) plugin maintained by xby-skill, classified under “Memory”. It builds a knowledge graph around Chinese medicine names, aliases, sources, distribution, functions, indications, meridian entry, four natures, and the relationships among them.
Installation and Enablement¶
Install the plugin from the command line. The GitHub installation method is recommended.
# 格式: dsh plugin --profile <profile> add github:<owner>/<repo>
dsh plugin --profile web add github:xby_skill/xby-traditional-chinese-medicine-kg
It can also be installed for debugging from a local directory or a patch file, but the official command above is recommended.
Core Features¶
The plugin provides three main features for managing graph database connections and queries:
-
set_xby_apikey
Sets the API key in the chat. The key is automatically persisted and remains valid after DSH is restarted. This is a required step to connect to the external knowledge graph service. -
get_schema
Retrieves schema information from the graph database. The output includes node types, node properties, and the relationships between nodes. -
execute_read_cypher
MCP Tool. Used to execute read-only Cypher query statements against the graph database.
Configuration and Usage¶
Before use, complete two preliminary steps: registration and key acquisition.
- Registration and Key: Go to Xiaobenyang official website to register and obtain an API key.
- Set Key: In the DSH chat interface, call the
set_xby_apikeytool and enter the obtained key.
After configuration, you can use get_schema to inspect the database structure or execute_read_cypher to run specific queries.
Notes¶
- Applicable Scope: The current version is limited to preliminary research only; specific applications need to be adjusted based on actual conditions.
- Dependent Service: The plugin functionality depends on the graph database service provided by Xiaobenyang. Ensure network connectivity and a valid API key.
Summary¶
This plugin provides DSH developers with a structured traditional Chinese medicine knowledge query interface, suitable for scenarios that require reasoning or question answering based on graph data. To view the full documentation or submit an Issue, visit the plugin catalog page or the GitHub repository.