Introduction

In the DeepSeek Harness (DSH) development workflow, automatically extracting key information from business licenses is a common requirement. Compared with manual entry or calling multiple independent services, processing image data directly in a conversation through a plugin better aligns with DSH’s “everything is a plugin” philosophy. This section introduces the xby-ocr-biz-license plugin.

Plugin Overview

xby-ocr-biz-license is a DeepSeek Harness (DSH) plugin used to recognize structured information on business licenses. The plugin is licensed under the MIT License.

Installation and Configuration

Before using this plugin, you must first obtain an API key.

  1. Obtain an API key
    Go to the Xiaobenyang official website, register, and obtain an API key.

  2. Install the plugin
    Run the following command to add the plugin to the current environment. The --profile web in the command specifies the configuration profile; adjust it according to your actual situation.

   dsh plugin --profile web add github:xby_skill/xby-ocr-biz-license

Usage

After installation, you can use the following commands to recognize a business license. The recognition result includes the Unified Social Credit Code, name, legal representative, registered capital, date of establishment, business scope, registration authority, and registered address.

  1. Set the API key
    Enter the following command in the chat to set the key. This setting is persisted automatically and remains valid after a restart.
   set_xby_apikey
  1. Recognize an image link
    Suitable for scenarios where the image file link is already known.
   ocr_biz_license
  1. Recognize BASE64 data
    Suitable for scenarios where the image has already been encoded as a Base64 string.
   ocr_biz_license_for_data_base64
  1. Recognize a local file
    Suitable for scenarios involving a local file system.
   ocr_biz_license_for_data_file

Notes

  • This plugin depends on the OCR service provided by Xiaobenyang. A valid API key must be configured before use.
  • The plugin runs with the permissions of the current DSH process. It is recommended to inspect the source code and license before installation.

Summary

This plugin provides DSH with standardized business license information extraction capabilities, enabling quick retrieval of enterprise registration information. For more details, see the GitHub repository or the plugin catalog page.