Tencent Cloud CVM Operations Toolkit for Openclaw

A comprehensive Bash and tccli-based automation suite for managing Tencent Cloud CVM instance lifecycles, resource queries, and remote server operations.

gardenchan
v1.0.2
Feb 6, 2026
3
2.2k
1

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install tencentcloud-cvm-skill

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install tencentcloud-cvm-skill using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Tencent Cloud CVM Operations Toolkit?

The Tencent Cloud CVM Operations Toolkit is a robust set of automation scripts designed to simplify the management of Cloud Virtual Machine (CVM) resources. Built on top of the official Tencent Cloud CLI (tccli) and Bash, it provides a structured approach to provisioning, querying, and maintaining cloud infrastructure. This tool is a prime example of how Openclaw Skills can be leveraged to bridge the gap between complex cloud APIs and day-to-day DevOps tasks.

By encapsulating expert-level operations into repeatable scripts, the toolkit allows developers to manage instance lifecycles, network resources (VPCs, Subnets), and security groups with minimal manual intervention. It emphasizes security through local credential management and restricted execution environments, making it an essential asset for teams operating on Tencent Cloud.

Tencent Cloud CVM Operations Toolkit Use Cases

  • Deploying pre-configured server environments using scenario-based recommendations like blog-small or web-medium.
  • Automating infrastructure discovery to identify available zones, images, and network configurations before deployment.
  • Managing the full lifecycle of cloud instances including creation, automated IP updates, and secure destruction.
  • Executing routine system maintenance, log monitoring, and security audits across multiple CVM instances without manual SSH overhead.

How Tencent Cloud CVM Operations Toolkit Works

  1. The user initializes the environment by providing Tencent Cloud API credentials via environment variables.
  2. Resource query scripts are used to gather necessary infrastructure metadata such as VPC IDs, Subnet IDs, and Image IDs.
  3. A creation script provisions the CVM instance, automatically generating a secure password and storing it in a restricted local file.
  4. Utility scripts facilitate post-deployment tasks like updating instance IP records and verifying network connectivity.
  5. The operations module enables remote execution of safe, predefined system commands and file transfers using the stored credentials.

Tencent Cloud CVM Operations Toolkit Setup

To begin using this skill, ensure you have the required dependencies installed:

# Install Tencent Cloud CLI and utilities
pip3 install tccli
brew install jq hudochenkov/sshpass/sshpass  # macOS
# OR
apt install jq sshpass                      # Ubuntu

Configure your environment with your Tencent Cloud API credentials:

export TENCENTCLOUD_SECRET_ID="your-secret-id"
export TENCENTCLOUD_SECRET_KEY="your-secret-key"

You can then run scripts directly from the scripts directory, such as ./scripts/lifecycle/create-instance.sh.

Tencent Cloud CVM Operations Toolkit Data Schema & Taxonomy

The toolkit organizes its data through environment variables and a local JSON-based password store to ensure seamless automation across Openclaw Skills.

Data Component Description Storage Path
API Credentials Secret ID and Key for tccli Environment Variables
Password Store JSON mapping of Instance ID to Password/IP ~/.tencent_cvm_passwords
Defaults Region, Zone, and Instance Type settings Environment Variables
Logs Execution history and API responses Standard Output / Local Logs

Tencent Cloud CVM Operations Toolkit Advanced Features

  • Scene-based recommendation engine that auto-configures CPU/Memory specs for specific workloads like API servers or databases.
  • Secure Remote Execution (remote-exec) restricted to a whitelist of read-only system information and monitoring commands.
  • Automated password management with strict Unix file permissions (600) for enhanced local security.
  • Integrated server health monitoring including disk usage thresholds and process filtering.
  • Pre-defined deployment scenarios that support everything from small personal blogs to high-availability web applications.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*