Foreword

DeepSeek Harness (DSH) adopts the “everything is a plugin” philosophy, allowing developers to extend agent capabilities by integrating independent modules. When developing scenarios for outdoor activity planning or health consultations, calculating the ultraviolet (UV) index and providing protection advice is a common requirement. This article introduces a plugin that provides UV protection calculation capabilities and can be invoked directly within a DSH session.

Plugin Introduction

dsh-uv-index is a plugin designed for DeepSeek Harness and maintained by the developer uckkk. It focuses on calculating the UV index and providing protection recommendations, and belongs to the networked tool category. The plugin is implemented in pure Node.js, does not rely on external network requests, and has relatively high runtime efficiency.

Core Functionality

The core functionality of the plugin is to provide the uv_index tool. This tool supports precise calculation of the UV index based on parameters and returns clear protection recommendations. Developers do not need to write complex calculation logic themselves; they can invoke the tool directly within an agent workflow to obtain results.

Installation and Activation

Install it using the officially provided command:

dsh plugin add github:uckkk/dsh-uv-index

After installation is complete, the plugin will be automatically registered with the current DSH instance, without requiring additional configuration.

Typical Usage

After successful installation, directly invoke the uv_index tool registered by this plugin within a DSH session. For the specific parameter format of the tool, please refer to the plugin source code or documentation. After passing the relevant parameters, you can obtain the calculation results.

Applicable Scenarios and Notes

This plugin is suitable for developers who need to integrate health and safety recommendation features into their agents.

  • Runtime Permissions: The plugin runs with the permissions of the current DSH process. Before installation, it is recommended to review the source code to ensure it meets security requirements.
  • Dependency Requirements: The plugin depends on @deepseek-ai/cordis (^4.0.1) and @deepseek-ai/dsh-tools (>=0.1.0-rc.6). Please ensure that your environment satisfies these dependencies.
  • License: The plugin is released under the MIT License.

Summary

This plugin addresses the calculation logic requirements of agents when handling outdoor health recommendations, and its lack of network dependencies improves stability. To view the directory page or source code, please visit: SkillHub Directory or the GitHub Repository.