When building agents based on DeepSeek Harness (DSH), obtaining and formatting the current date and time is a fundamental and frequent requirement. Manually writing parsing logic is not only tedious but also error-prone. The xby-datetime plugin provides a standardized solution for this.
Plugin Overview¶
xby-datetime is an online tool plugin for DeepSeek Harness (DSH) used for date and time formatting services.
Core Features¶
The plugin provides the following core capabilities:
- set_xby_apikey: Sets an API key in the chat context.
- get_datetime: Retrieves the current date and time, with support for multiple output formats.
Installation and Enablement¶
Install the plugin into the DSH environment using the official command.
dsh plugin --profile web add github:xby_skill/xby-datetime
After installation, the plugin takes effect automatically.
Configuration Notes¶
Before using the plugin, obtain the corresponding API key.
- Register an account on the Xiaobenyang official website.
- Obtain the API key from the official website.
- Call the
set_xby_apikeyinterface in DSH chat to pass in the key.
The plugin persists the configuration automatically and it remains valid after restart.
Applicable Scenarios¶
Agent tasks that require generating date strings in a specific format.
Notes¶
This plugin is released under the MIT license. Before use, ensure that you have obtained a valid API key, and pay attention to account permissions and security.
Conclusion¶
For more details, visit GitHub or the plugin directory.