Tencent Cloud Resource Management & Operations Tool
Paste the following prompt into your AI chat to install this skill:
Please install @tencent-adm/tencentcloud-infra by following the guide at https://skillhub.cn/install/skillhub.md.
About this skill
The Common Pitfalls of Managing Tencent Cloud Resources
Teams operating on Tencent Cloud frequently encounter several concrete problems:
- Outdated Information and Parameter Confusion: Pre-trained knowledge of APIs may be obsolete. For instance, required parameters for
tccli, supported region lists, or product-specific limits can change. Relying on outdated information leads to command failures. - Operational Risk and Lack of Process: Managing cloud resources, such as terminating instances or modifying security groups, is high-risk. Without a clear confirmation mechanism, it can cause irreversible downtime or data loss.
- Fragmented Multi-Product Operations: Managing products like Lighthouse, CVM, CBS, and DNSPod simultaneously often requires switching between multiple consoles or documentation sources, making workflows cumbersome.
How the Skill Works: A Standardized Process Centered on tccli
This skill aims to standardize the resolution of these issues. Its core operation is to establish the tccli command-line tool as the sole, authoritative source for both information and action. Key capabilities and steps include:
-
Unified Retrieval and Verification: All queries regarding Tencent Cloud API parameters or product limits prioritize executing
tccli <product> <action> --helpto get the latest documentation. The skill integrates reference sources (like the API Documentation), but stipulates a critical rule: if a discrepancy exists between the documentation and the--helpoutput, the--helpoutput takes precedence. This ensures operational commands are immediately accurate. -
Comprehensive and Secure Product Operations: The skill provides capabilities to query and manage resources across several core Tencent Cloud products, including Lighthouse (full operations), CVM, CBS, VPC, DNSPod, SSL, CAM, Monitor, and TAT. Key actions are executed through standard
tcclicommands, for example:tccli lighthouse DescribeInstances --region ap-beijing(Query Lighthouse instances)tccli cbs DescribeDisks(List cloud disks)tccli ssl DescribeCertificates(View SSL certificates)
-
Security and Authentication Management: It strongly recommends using OAuth browser-based login authorization (via the
tccli-oauth-helper.pyscript) to obtain temporary credentials valid for 2 hours, which is a high-security practice. The skill strictly prohibits manually constructing OAuth authorization URLs; they must be generated via the provided script. Furthermore, it implements a double-confirmation process for high-risk operations (e.g., deletion), explicitly stating the irreversible consequences.
Scope of Applicability and Key Considerations
This skill focuses on cloud-based resource operations and management, with clearly defined boundaries:
- Core Boundary: It deals with resources already deployed on Tencent Cloud. Local environment development, code writing, and CI/CD pipelines are outside its scope.
- Authoritative Source:
tccliis the cornerstone. Whether obtaining the current instance ID (usingscripts/whoami.sh), verifying credential status, or executing any operation, one should rely ontcclior its auxiliary scripts. - Product Isolation: Lighthouse and CVM are distinct products. Using commands interchangeably (e.g., using
tccli cvmto manage Lighthouse) is strictly forbidden. - Credential Security: Avoid using permanent AK/SK keys unless in special, controlled scenarios. When exiting a session, use
tccli auth logoutto clear local credentials.
By adhering to these tccli-centric standards, one can effectively mitigate the risks of information lag and operational errors in Tencent Cloud resource management, enabling more reliable and secure operations.
Use Cases
- When needing to query or modify resource states across multiple products (e.g., Lighthouse, CVM, CBS) uniformly, use tccli commands to quickly retrieve information or execute operations.
- During a cloud resource security patrol or health diagnosis, checking security group exposure, instance running status, SSL certificate validity, and CAM permission configurations.
- Deploying a Go or Python web application on a Lighthouse server via the command line, including configuring domain name resolution and SSL certificates.
- Auditing sub-user permission policies and recent operation logs under a cloud account to ensure access controls comply with security standards.
Best For
- Cloud Operations Engineers who need to routinely monitor and manage numerous resource instances scattered across multiple products on Tencent Cloud.
- Security Auditors responsible for regularly inspecting cloud environment security configurations, permission policies, and operation audit logs.
- DevOps Engineers seeking to manage cloud infrastructure and application deployments via scripted, automated command-line methods.
- Technical Project Managers who need to quickly understand or plan cloud resource usage and communicate specific operations with security and operations teams.
Related Skills
Comprehensive network engineering skill covering fault troubleshooting, technical consulting, and architecture design across routing and switching, wireless, security, cloud computing, and optical transport.
Provides 9 application modules based on GB/T 33000-2025 and DuPont safety methodologies for diagnosing, standardizing, and building culture in enterprise safety management systems.
A security-first vetting protocol for AI agent skills, used to thoroughly check code and risks before installation.
Automatically scans skill packages before and after installation to block malicious or non-compliant code, acting as a security gatekeeper for skill platforms.