Introduction¶
Under the plugin-based architecture of DeepSeek Harness (DSH), obtaining structured data for specific domains is a common requirement. If a workflow needs to handle parameters related to the carbon element, the dsh-carbon plugin provides direct local querying capability. This plugin is maintained by uckkk, offers a pure Node.js implementation, and can retrieve data without network requests.
Core Features¶
The plugin mainly provides two tool methods:
- element_info: Returns complete information for the carbon element. The data includes the name, element symbol, atomic number, relative atomic mass, category, group, period, state at room temperature, and electron configuration.
- element_field: Queries a single piece of information for the carbon element by field name. This approach is suitable for workflow scenarios where a specific data item needs to be extracted precisely.
Installation¶
Run the following command in a terminal to install the plugin:
dsh plugin add github:uckkk/dsh-carbon
Usage Examples¶
After installation, you can call the above methods in a workflow or script. The following are two invocation patterns:
- Retrieve complete information:
// 调用 element_info 获取碳元素的完整信息
const carbonInfo = await dsh.element_info();
- Query by field:
// 调用 element_field 按字段名查询碳元素资料
const atomicNumber = await dsh.element_field('atomic_number');
Notes¶
- Runtime environment: The plugin is a pure Node implementation, does not depend on network requests, and all data are stored locally.
- Dependency versions: Make sure the environment has
@deepseek-ai/cordis(>= ^4.0.1) and@deepseek-ai/dsh-tools(>= 0.1.0-rc.6) installed. - Source code review: Because the plugin runs with the permissions of the current DSH process, it is recommended to review the GitHub source code and MIT license before installing it.
Conclusion¶
dsh-carbon provides lightweight carbon element data support for DSH workflows. For more plugins, refer to the community directory.