Introduction

DeepSeek Harness (DSH) uses a “everything is a plugin” architecture. When building agents, if structured country metadata needs to be obtained (such as capital, currency, international dialing code, etc.), it is usually required to hard-code it or call external APIs. The dsh-japan plugin provides a complete cached data set for Japan, avoiding unnecessary network requests, and is suitable for scenarios that require stable access to country metadata.

Plugin Overview

dsh-japan is a DSH plugin that provides Japan’s country metadata.

  • Core functionality: Returns Japan’s complete profile or queries a single item by field name.
  • Implementation: Pure Node implementation with no network dependencies.
  • License: MIT.

Installation and Activation

Execute the following command in a DSH environment to add the plugin:

dsh plugin add github:uckkk/dsh-japan

After installation, the plugin starts automatically when the DSH process starts, without any additional configuration.

Core Features and Usage

The plugin provides two main tools for retrieving Japan’s country information.

1. Retrieve the Complete Profile

Use country_info to obtain Japan’s complete profile.

country_info

The returned content usually includes: name, capital, population (in ten thousands), area (in ten thousand square kilometers), currency code, official language, international phone code, top-level domain, continent, national flag.

2. Query a Single Field

Use country_field to query a single item for Japan by field name. This feature can be used to retrieve values in workflows.

country_field <字段名>

For example, to retrieve currency information, run:

country_field 货币代码

Use Cases and Considerations

This plugin is suitable for agent workflows that frequently and rapidly require Japan’s country metadata. Because it uses a pure Node implementation with locally stored data and does not depend on external network connections, it has high stability.

  • Runtime permissions: The plugin runs with the permissions of the current DSH process.
  • Security check: It is recommended to check the source code and license (MIT) before installation.

Summary

dsh-japan resolves the pain point of frequently calling network APIs to retrieve country metadata in agent development by storing data locally. To view more plugins or the source code, visit the community directory or the GitHub repository.