Task Router Skill
Task Router
腾讯云 CVM 云服务器运维工具集
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install gardenchan/tencentcloud-cvm-skillInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
基于 Bash + tccli 的腾讯云 CVM 云服务器运维工具集,支持实例创建、资源查询、服务器运维三大核心功能。
# tccli(腾讯云命令行工具)
pip3 install tccli
# jq(JSON 解析)
brew install jq # macOS
apt install jq # Ubuntu
# sshpass(SSH 密码认证,运维操作需要)
brew install hudochenkov/sshpass/sshpass # macOS
apt install sshpass # Ubuntu
export TENCENTCLOUD_SECRET_ID="your-secret-id"
export TENCENTCLOUD_SECRET_KEY="your-secret-key"
# 1. 查询资源准备创建实例
./scripts/query/describe-zones.sh # 查可用区
./scripts/query/describe-images.sh --platform Ubuntu # 查镜像
./scripts/query/describe-vpcs.sh # 查 VPC
# 2. 创建实例(密码自动保存)
./scripts/lifecycle/create-instance.sh \
--zone ap-guangzhou-3 \
--instance-type S5.MEDIUM2 \
--image-id img-xxx \
--vpc-id vpc-xxx \
--subnet-id subnet-xxx \
--sg-id sg-xxx
# 3. 更新实例 IP
./scripts/utils/update-instance-ip.sh --instance-id ins-xxx --auto
# 4. 运维操作(只需 instance-id)
./scripts/ops/ssh-connect.sh --instance-id ins-xxx
./scripts/ops/system-info.sh --instance-id ins-xxx
scripts/
├── lifecycle/ # 实例生命周期:创建、启动、停止、重启、销毁
├── query/ # 资源查询:实例、镜像、VPC、子网、安全组、可用区
├── ops/ # 服务器运维:SSH、远程执行、系统信息、磁盘、进程、服务、日志、安全、传输、网络
├── utils/ # 辅助工具:密码管理、IP 更新、配置查看
└── common.sh # 公共函数库
| 脚本 | 功能 | 示例 |
|---|---|---|
recommend-instance.sh |
场景推荐创建 | --scene blog-small |
create-instance.sh |
手动创建实例 | --zone ap-guangzhou-3 --instance-type S5.MEDIUM2 |
start-instance.sh |
启动实例 | --instance-id ins-xxx |
stop-instance.sh |
停止实例 | --instance-id ins-xxx [--force] |
reboot-instance.sh |
重启实例... |
These signals come from indexed source analysis and may lag behind changes. Check the current source files.
# 腾讯云 CVM 运维工具 基于 Bash + tccli 的腾讯云 CVM 云服务器运维工具集,支持**实例创建**、**资源查询**、**服务器运维**三大核心功能。 ## 快速开始 ### 1. 安装依赖 ```bash # tccli(腾讯云命令行工具) pip3 install tccli # jq(JSON 解析) brew install jq # macOS apt install jq # Ubuntu # sshpass(SSH 密码认证,运维操作需要) brew install hudochenkov/sshpass/sshpass # macOS apt install sshpass # Ubuntu ``` ### 2. 配置凭证 ```bash export TENCENTCLOUD_SECRET_ID="your-secret-id" export TENCENTCLOUD_SECRET_KEY="your-secret-key" ``` ### 3. 典型工作流 ```bash # 1. 查询资源准备创建实例 ./scripts/query/describe-zones.sh # 查可用区 ./scripts/query/describe-images.sh --platform Ubuntu # 查镜像 ./scripts/query/describe-vpcs.sh # 查 VPC # 2. 创建实例(密码自动保存) ./scripts/lifecycle/create-instance.sh \ --zone ap-guangzhou-3 \ --instance-type S5.MEDIUM2 \ --image-id img-xxx \ --vpc-id vpc-xxx \ --subnet-id subnet-xxx \ --sg-id sg-xxx # 3. 更新实例 IP ./scripts/utils/update-instance-ip.sh --instance-id ins-xxx --auto # 4. 运维操作(只需 instance-id) ./scripts/ops/ssh-connect.sh --instance-id ins-xxx ./scripts/ops/system-info.sh --instance-id ins-xxx ``` ## 功能模块 ``` scripts/ ├── lifecycle/ # 实例生命周期:创建、启动、停止、重启、销毁 ├── query/ # 资源查询:实例、镜像、VPC、子网、安全组、可用区 ├── ops/ # 服务器运维:SSH、远程执行、系统信息、磁盘、进程、服务、日志、安全、传输、网络 ├── utils/ # 辅助工具:密码管理、IP 更新、配置查看 └── common.sh # 公共函数库 ``` ### 实例生命周期 | 脚本 | 功能 | 示例 | |------|------|------| | `recommend-instance.sh` | 场景推荐创建 | `--scene blog-small` | | `create-instance.sh` | 手动创建实例 | `--zone ap-guangzhou-3 --instance-type S5.MEDIUM2` | | `start-instance.sh` | 启动实例 | `--instance-id ins-xxx` | | `stop-instance.sh` | 停止实例 | `--instance-id ins-xxx [--force]` | | `reboot-instance.sh` | 重启实例...
Task Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.