tcapi: Invoking Tencent Cloud APIs in Agents for O&M and Resource Management

Preface

When modifying configurations, querying resources, or performing batch operations on the cloud, the common paths include consulting documentation, constructing request parameters, or clicking through the console. If you want a conversational Agent to directly call Tencent Cloud Open APIs according to your intent, you need a set of skill instructions recognized by the Agent, rather than scattered API notes. Below is an introduction to tcapi (@tencent-adm/tcapi) on SkillHub: published by the Tencent CloudQ Team, it is designed for scenarios involving cloud automation and resource management via Cloud APIs.

What is this

tcapi is an Agent Skill based on the universal SKILL.md format, coordinated as @tencent-adm/tcapi, with the current version 1.0.0. Its source is marked as enterprise, and it is categorized under it-ops-security on SkillHub.

The official description is: “Skill to call Cloud API for Tencent Cloud, used for cloud automation or resource management.” This means its positioning is to enable AI clients that support Skills to call Tencent Cloud APIs according to skill guidelines during conversations, rather than replacing the Tencent Cloud Console or SDKs themselves.

  • Publisher: Tencent CloudQ Team
  • SkillHub Page: https://www.skillhub.cn/skills/tencent-adm/tcapi
  • Skill API Address: https://api.skillhub.cn/tencent-adm/tcapi

Core Functions

Combining SkillHub and the official introduction, the verifiable capability boundaries are as follows:

  1. Integration with Tencent Cloud API: The skill’s theme is “Calling Tencent Cloud APIs,” applicable to workflows requiring Open API access, such as automated scripted operations, resource queries, and modifications.
  2. Categorization for Ops and Security Scenarios: Categorized as it-ops-security, it sits on the same shelf as account, resource, and security-related operation tasks, facilitating search on SkillHub.
  3. Store Metadata: The page tags include requires_api_key=false (referring to SkillHub’s installation/metadata requirements for this skill; actual calls to Tencent Cloud APIs must still comply with Tencent Cloud account, secret key, and permission specifications. Refer to the SKILL.md within the skill package and Tencent Cloud documentation for specific fields).

Unless a specific list of product interfaces or encapsulated commands is listed separately on the public page, it is not advisable to fabricate details like “Supports CVM/CDB/…”; after installation, the instructions within the skill package should be the standard.

Installation and Activation

SkillHub recommends installation via the skillhub CLI. It is mandatory to install the skill into the current Agent’s skills directory; otherwise, the default directory might not be loaded by the client.

1. Install SkillHub CLI (if not already installed)

command -v skillhub && skillhub --version

If not installed, you can execute the full installation (CLI + Default Skill):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

To install only the CLI:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install tcapi

The installation prompt provided by the official page is: Follow https://skillhub.cn/install/skillhub.md to install @tencent-adm/tcapi.

Given that the CLI is ready, follow the SkillHub documentation to use --dir to point to the skills directory of the current environment, for example:

skillhub search tcapi
skillhub install @tencent-adm/tcapi --dir <skills directory>

Common client skills paths (excerpted from SkillHub installation documentation, subject to your actual local configuration):

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

After installation, you generally need to restart or reload the corresponding AI client so the new skill is indexed. Differences between Cursor, Codex CLI, and Claude Code mainly lie in the skills directory path; the installation command itself is skillhub install @tencent-adm/tcapi --dir …. Differences not separately explained in official materials are not expanded upon here.

You can also ask the Agent in conversation to complete the installation itself according to the aforementioned install documentation (the prompt provided on the SkillHub page serves this purpose).

Typical Usage

The public SkillHub page does not include copyable end-to-end API call examples; the reproducible workflow is as follows:

  1. Install @tencent-adm/tcapi into the current Agent’s skills directory as described in the previous section.
  2. After enabling the skill in a client that supports Skills, describe the cloud automation or resource management goal in natural language (e.g., querying a certain type of resource, modifying configurations according to specifications, etc.).
  3. The Agent reads the guidance in the SKILL.md within the skill package and organizes calls to the Tencent Cloud API under compliant premises; specific interface names, parameters, and authentication methods are subject to the documentation within the skill and the Tencent Cloud API Documentation.

If you need to verify the skill metadata or version, you can open the SkillHub skill page to check if v1.0.0 and the introduction have been updated.

Scenarios and Notes

Who is it for

  • Developers or operations personnel running resources on Tencent Cloud who wish to hand over “resource querying, configuration modification, and automated operations” to an Agent for orchestration, rather than hand-writing curl/SDK scripts every time.
  • Teams using clients like Cursor, Claude Code, or Codex that already support SkillHub installation paths.

Limitations and Precautions

  • The skill description scope is “Calling Tencent Cloud APIs,” which does not guarantee coverage of all cloud products; new products or interfaces should be based on skill package updates and official API documentation.
  • SkillHub Statistics (displayed on page, varies over time): Rating 100000, Downloads approx. 1079, Installs approx. 2; you can check the latest data on SkillHub before selecting.
  • requires_api_key=false only reflects the semantic meaning of the SkillHub tag; it cannot be interpreted as meaning Tencent Cloud calls do not require authentication; in production environments, always use least-privilege keys and avoid writing keys into repositories.
  • Unverified client-specific configuration items or environment variable names are not listed in this article; please read the SKILL.md directly under the skill directory after installation.

Conclusion

tcapi converges “Calling Tencent Cloud APIs within an Agent” into an installable, versionable Skill (@tencent-adm/tcapi), suitable for cloud automation and resource management conversational tasks. See https://skillhub.cn/install/skillhub.md for installation and priority source instructions, https://www.skillhub.cn/skills/tencent-adm/tcapi for the skill homepage, and https://api.skillhub.cn/tencent-adm/tcapi for the API entry.

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

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

Xiaoye