Overview¶
DeepSeek Harness (DSH) follows the “everything is a plugin” philosophy, and developers often need to integrate external models to extend the capabilities of agents. For the insect recognition niche, the xby-insect-recognition plugin provides a standard interface. This plugin belongs to the model inference category, is maintained by xby-skill, and is used to identify the name, order, family, genus, or species of insects or other arthropods.
Installation¶
Install the plugin using the DSH CLI.
dsh plugin --profile web add github:xby_skill/xby-insect-recognition
Configuration¶
Before using the recognition feature, you need to configure an API key. Register on the Xiaobenyang official website and obtain the key.
Core Features¶
The plugin provides the following capabilities:
set_xby_apikey: Sets the API key in the chat (automatically persisted and remains valid after restart).insect_recognition: Identifies the name of an insect or other arthropod. Requires an image file URL.insect_recognition_for_data_base64: Identifies the name of an insect or other arthropod. Requires the BASE64 encoding of an image file.insect_recognition_for_data_file: Identifies the name of an insect or other arthropod. Requires the file path of an image file.
Typical Usage¶
Select the corresponding invocation method based on the format of the input data:
- Image file URL: Call
insect_recognitionand pass the image URL. - Base64 encoding: Call
insect_recognition_for_data_base64and pass the Base64 string of the image. - Local file path: Call
insect_recognition_for_data_fileand pass the absolute path to the image file.
Notes¶
- The plugin runs with the permissions of the current dsh process.
- The recognition feature depends on the availability of the external API.
- Please check the source code and license (MIT) before use.
This plugin provides insect recognition capabilities to the DSH ecosystem. For more details, see the GitHub repository.