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.

  1. Register an account on the Xiaobenyang official website.
  2. Obtain the API key from the official website.
  3. Call the set_xby_apikey interface 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.