Tencent Cloud Infra: Unified Management of Tencent Cloud Resources in Agents via tccli

Preface

When doing operations or building sites in environments like Cursor and Claude Code, the common practice is to manually construct tccli commands in the terminal or feed console screenshots to models to guess the next steps. Tencent Cloud has many products with scattered interfaces, often requiring switching between different subcommands for Lighthouse, CVM, COS, VPC, DNSPod, etc. This article introduces Tencent Cloud Infra (@tencent-adm/tencentcloud-infra) on SkillHub: it consolidates cloud resource operations based on tccli into Skills that Agents can call, allowing you to describe scenarios in natural language and have the Skill guide you through viewing, managing, and inspecting tasks.

What Is This

Tencent Cloud Infra is a unified full-product management Skill published by Tencent Cloud, with coordinates @tencent-adm/tencentcloud-infra, current version v1.0.12, source labeled as enterprise, and publisher Tencent Cloud Infra (the SkillHub page shows a certified author). The SkillHub category is it-ops-security (IT Operations and Security).

Official description: Based on tccli, it covers 12+ products including Lighthouse, CVM, CBS, COS, VPC, DNSPod, SSL, CAM, Monitor, TAT, Domain, and CloudAudit; it supports scenarios such as resource viewing and management, security inspection, application deployment, site building, certificate checking, and account switching. The page tags also include monitoring alerts, server operations, and configuration generation. The Skill metadata indicates requires_api_key=true, so Tencent Cloud API credentials need to be configured before use.

Core Features

The following capabilities are from the official description and SkillHub page descriptions, with underlying dependencies on tccli to interface with various product line APIs.

  1. Resource Viewing and Management: A unified entry point across Lighthouse, CVM, CBS, COS, VPC, etc., reducing the need to switch between consoles and multiple CLI subcommands.
  2. Security and Compliance: Security inspection; products like CAM and CloudAudit are covered, suitable for account permission and audit queries (specific sub-capabilities are subject to the SKILL.md within the Skill).
  3. Applications and Sites: Application deployment and site building; DNSPod, Domain, SSL, etc., can be used for domain and certificate-related checks and configuration assistance.
  4. Operations and Monitoring: Products like Monitor and TAT (automation assistant) are included in the same Skill, facilitating conversational operations for alerts and instance management.
  5. Account Switching: Supports multi-account or credential switching scenarios (requires correct key configuration per Skill requirements).

The SkillHub page shows that the Coen Lab and Yunding Lab security assessments of this Skill are “safe, no risk,” with a link to view the report; this does not replace your pre-production permission minimization and change approval processes.

Installation and Activation

Install via SkillHub CLI

First, check if skillhub is already installed on your machine (for complete steps, see SkillHub Installation Documentation):

command -v skillhub && skillhub --version

If not installed, run the official one-click script (full installation includes CLI and default Skills):

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

When installing this Skill, must use --dir to point to the current Agent’s skills directory; otherwise, it will default to ./skills/ and may not be recognized:

skillhub install @tencent-adm/tencentcloud-infra --dir <your Agent skills directory>

Common directory examples (from SkillHub installation documentation):

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

After installation, restart or refresh the Agent according to your client’s requirements to load the Skill.

Install via AI Prompt

The standard prompt provided by the SkillHub page is: let AI install this Skill according to the installation documentation. You can send the following sentence to your Agent:

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

The page also supports Zip package download installation, local Agent installation, WorkBuddy, and other entry points; if you are using a non-CLI path, refer to the current SkillHub page options.

API Key and tccli

The Skill is marked as requires API Key configuration. The actual call chain depends on tccli and Tencent Cloud API keys (SecretId, SecretKey, etc.). Please configure according to the instructions in the Skill package and Tencent Cloud CAM best practices; do not write keys into repositories or conversation logs. Account switching capabilities are also built on correct and controlled credential configurations.

Typical Usage

The official does not provide line-by-line shell examples in the public summary; typical usage is to drive the Agent with natural language by scenario, with the Skill organizing tccli or equivalent calls. This corresponds to the scenarios in the introduction, for example:

  1. Check Resources: Specify the product to view (such as CVM in a certain region, COS buckets, VPC), and let the Agent pull lists or details through the Skill.
  2. Security Inspection / Certificate Checking: Describe the inspection scope or domain, certificate expiration concerns, and let the Skill guide queries to relevant interfaces like SSL, CAM, Monitor.
  3. Site Building and Deployment: Specify deployment targets on Lighthouse or CVM, combined with DNSPod, Domain, SSL to complete domain and certificate-related steps (recommend manual confirmation before changes).
  4. Account Switching: With multiple credentials configured, clearly specify the account or environment to operate, then initiate resource-related commands.

Reproduction path: Install Skill → Configure API credentials → Select or auto-load @tencent-adm/tencentcloud-infra in a client that supports Skills → Initiate conversation using the above scenario descriptions. For more detailed command templates and parameter constraints, refer to the SKILL.md in the installation package.

Applicable Scenarios and Notes

Who It’s For: Developers and operations personnel who need to operate Tencent Cloud within AI programming/operations assistants but don’t want to manually write tccli commands each time; the SkillHub category is IT operations and security, consistent with tags like monitoring, server operations, and configuration generation.

Usage Notes:

  • Must configure API Key; when permissions are too broad, the risk of Agent misoperations is equivalent to manual terminal execution, so recommend granting minimum permissions via CAM policies.
  • Covering 12+ products does not mean every console function is encapsulated; the boundaries are subject to the documentation within Skill version v1.0.12.
  • SkillHub statistics (based on API metadata): Rating 100000, Downloads 7030, Installations 42; the page shows approximately 7.0 thousand downloads, consistent with the metadata magnitude. With low installation numbers, you can refer to the page version history and comments before going to production.

Conclusion

Tencent Cloud Infra consolidates Tencent Cloud multi-product line operations into an Agent Skill, with core dependencies on tccli, suitable for conversational operations such as resource management, inspection, site building, and certificate checking. Installation and directory configuration follow the SkillHub Installation Documentation, with package coordinates @tencent-adm/tencentcloud-infra.

  • SkillHub Page: https://www.skillhub.cn/skills/tencent-adm/tencentcloud-infra
  • API Metadata: https://api.skillhub.cn/tencent-adm/tencentcloud-infra
羽毛球分组比赛记分
小程序二维码

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

Xiaoye