Tencent Cloud Business License Recognition: Integrating BizLicenseOCR in Agents

Preface

During enterprise onboarding, contract reviews, and risk control file creation, it is often necessary to manually enter fields from business license photos into systems. Hand-written rules or general OCR solutions are often unstable regarding formatted fields like “Unified Social Credit Code” and “Operating Period.” Additionally, one must manually calculate expiration dates and determine if the image is a photocopy. If you are already using an Agent with Skills support, such as Cursor or Claude Code, you can encapsulate Tencent Cloud Business License OCR (BizLicenseOCR) as a Skill. This allows the model to call the API according to specifications during conversations, rather than writing SDK examples from scratch every time.

The following text introduces what @tencent-adm/tencentcloud-ocr-bizlicense is on SkillHub, what it can do, and how to install and use it.

What is This

Tencent Cloud Business License Recognition is an enterprise-level Skill published by the Tencent Cloud OCR Team (coordinates @tencent-adm/tencentcloud-ocr-bizlicense, current version 1.0.3, category knowledge-management, source enterprise).

One-sentence positioning: It is a calling skill for the Tencent Cloud BizLicenseOCR interface. When a user needs to extract structured fields from a business license image, the Agent should prioritize enabling this Skill. The recognition is completed by following the instructions and scripts within the skill, rather than piecing together undocumented HTTP calls on the fly.

Official entries:

  • API Summary Page: https://api.skillhub.cn/tencent-adm/tencentcloud-ocr-bizlicense
  • SkillHub Detail Page: https://www.skillhub.cn/skills/tencent-adm/tencentcloud-ocr-bizlicense

Core Functions

The following capabilities are derived from the SkillHub page and pre-fetched summary, consistent with the BizLicenseOCR scenario.

  1. Field Recognition: Supports identifying field information from business license images, including the Unified Social Credit Code, Company Name, Entity Type, Legal Representative, Registered Capital, Organizational Form, Date of Establishment, Operating Period, and Business Scope.
  2. Two Image Input Methods: Supports submitting images to be recognized via Image Base64 and Image URL.
  3. Quality and Validity Capabilities: Supports photocopy/reshoot alarm detection; supports automatic validity period concatenation (the concatenation processing for operating period-related fields is handled by the API side, and the skill exposes options according to BizLicenseOCR conventions).
  4. API Key: The skill is tagged requires_api_key=true, and the SkillHub details sidebar also indicates that an API Key needs to be configured. Before use, you must prepare valid OCR access credentials on the Tencent Cloud side and write them into the environment or configuration as required by the SKILL.md inside the skill package (specific variable names are subject to the skill files after installation).

The introduction was truncated as “…electronic camp…” when displayed on SkillHub, and the full sentence was not expanded in the official summary. This text does not extend into unshown details. After installation, please read the SKILL.md in the skill directory directly.

Installation and Activation

SkillHub recommends two methods: sending the installation prompt to the Agent, or using the skillhub CLI. Both rely on the same installation documentation.

Method 1: Prompt Installation (Official Page Text)

Copy the following prompt from the SkillHub skill page and send it to the current Agent:

Please install `@tencent-adm/tencentcloud-ocr-bizlicense` according to https://skillhub.cn/install/skillhub.md.

The Agent will check the CLI, select the target skills directory, and execute the installation according to the document.

Method 2: skillhub CLI

First, confirm if the CLI is already on your machine (the document requires using the official installation script if not installed; this will not be expanded here):

command -v skillhub && skillhub --version

When installing the skill, you must use --dir to point to the current Agent’s skills directory. Otherwise, it defaults to ./skills/, and the Agent may not be able to find it:

skillhub install @tencent-adm/tencentcloud-ocr-bizlicense --dir <your skills directory>

Common directories (excerpted from https://skillhub.cn/install/skillhub.md):

Agent skills directory
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or .agents/skills/ under the project

After installation, follow the instructions for your client to restart or refresh the skill list so that SKILL.md is loaded.

Typical Usage

The design intent of this skill is: when the conversation involves business license image recognition, extracting enterprise entity information, or validating photocopies, the Agent automatically selects this Skill and calls BizLicenseOCR according to SKILL.md.

Reproducible starting steps are as follows:

  1. Complete the installation in the previous section and configure the API Key (requires_api_key=true).
  2. Provide an accessible Image URL of the business license in the conversation, or provide Base64/Local File according to the skill instructions (subject to the skill package documentation).
  3. Explain the required fields in natural language, for example: “Identify the Unified Social Credit Code, Company Name, Legal Representative, and Operating Period of this business license.”
  4. The Agent initiates the BizLicenseOCR request under skill constraints and returns JSON or structured fields; if photocopy/reshoot alarms or validity period concatenation are needed, specify this in the query, or let the Agent enable the corresponding switches according to SKILL.md.

The official page does not provide separate command-line examples; if the skill package contains entries like scripts/main.py, the parameter table and examples in the installation directory’s SKILL.md are the sole basis.

Scenarios and Notes

Who it is for

  • Developers or implementation staff who have activated Tencent Cloud OCR/BizLicenseOCR and wish to perform enterprise entity information entry, pre-review, or archiving within an Agent workflow.
  • Teams that need fields such as Unified Social Credit Code, Company Name, and Business Scope, and want the input method to be switchable between URL and Base64.

Limitations and Notes

  • Depends on Tencent Cloud BizLicenseOCR service and a valid API Key; arrears, non-activation, or quota exhaustion will cause calls to fail. Please troubleshoot in the Cloud Console.
  • Images must meet the interface’s restrictions on format, size, and download timeout. Details are subject to the documentation within the skill and Tencent Cloud BizLicenseOCR Product Documentation.
  • SkillHub Statistics (pre-fetched): Rating 100000, Downloads 2152, Installations 117; when selecting, you can judge the maintainer based on the enterprise source (enterprise) and the publisher (Tencent Cloud OCR Team).
  • The same capability may have mirror packages in different stores. This text is based on the coordinate @tencent-adm/tencentcloud-ocr-bizlicense and the official links above.

Conclusion

@tencent-adm/tencentcloud-ocr-bizlicense encapsulates BizLicenseOCR into a standard Skill form: it covers common registration items on business licenses, supports Base64/URL input, and includes interface capabilities such as photocopy alarms and validity period concatenation. First, install it on SkillHub and configure the key, then submit the license image in the conversation to start recognition.

Details and Installation Prompt: https://www.skillhub.cn/skills/tencent-adm/tencentcloud-ocr-bizlicense

API Summary Page: https://api.skillhub.cn/tencent-adm/tencentcloud-ocr-bizlicense

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye