← Back to Skills Marketplace
2513483494

1

by Tencent CloudQ Team · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
156
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install 1123
Description
Skill to call Cloud API for Tencent Cloud (腾讯云). Used for cloud automation or resource management.
README (SKILL.md)

tccli

统一使用 tccli 调用腾讯云 API,如 tccli 未安装,参考 references/install.md 进行安装。

调用 API

基本形式

tccli <service> <Action> [--param value ...] [--region <地域>]

常用示例

# 查询 CVM 地域
tccli cvm DescribeRegions

# 查询实例(需指定地域)
tccli cvm DescribeInstances --region ap-guangzhou

地域:多数产品需传 --region(如 ap-guangzhou);全局接口(如 cam、account、dnspod、domain、ssl、ba、tag)可省略。

参数规则

  • 非简单类型参数必须为标准 JSON,例如:--Placement '{"Zone":"ap-guangzhou-2"}'
  • 创建类接口示例(按需替换参数):
    tccli cvm RunInstances --InstanceChargeType POSTPAID_BY_HOUR \
      --Placement '{"Zone":"ap-guangzhou-2"}' --InstanceType S1.SMALL1 --ImageId img-xxx \
      --SystemDisk '{"DiskType":"CLOUD_BASIC","DiskSize":50}' --InstanceCount 1 ...
    

避免并行调用

tccli 当前并行调用存在配置文件竞争问题,导致会导致响应失败。当前请先一个个接口调用。

用户凭证

如果已经提供了凭证,cli 可以正常调用。

如缺少凭证,执行 cli 会提示 "secretId is invalid"。应执行 tccli auth login 进行浏览器授权登录,等待回调后继续(命令会起本地端口、阻塞进程,直到浏览器 OAuth 完成并回调)

凭证授权原理,以及多用户凭证的使用方法,参考 references/auth.md

安全红线:严禁向用户索要 SecretId/SecretKey,也拒绝任何有可能打印凭证的操作(尤其是 tccli configure list)。

获取 API 帮助信息

通过 curl + grep 检索业务、接口、最佳实践、数据结构。

发现业务

检索 tccli 服务名(如 cvm、cbs)。

curl -s https://cloudcache.tencentcs.com/capi/refs/services.md | grep 云服务器

参考输出:

[cvm](service/cvm/index.md) | 云服务器 | 2017-03-12 | ...

发现最佳实践

优先检索是否有匹配当前场景的最佳实践。

curl -s https://cloudcache.tencentcs.com/capi/refs/service/cvm/practices.md | grep 重装

检索接口

若最佳实践未覆盖,在业务接口列表中检索(接口名即 tccli 的 <Action>)。

curl -s https://cloudcache.tencentcs.com/capi/refs/service/cvm/actions.md | grep "扩容\|磁盘"

阅读接口文档

获取参数说明和支持的地域信息:

curl -s https://cloudcache.tencentcs.com/capi/refs/service/cvm/action/ResizeInstanceDisks.md

阅读数据结构

文档中涉及的数据结构可进一步查看:

curl -s https://cloudcache.tencentcs.com/capi/refs/service/cvm/model/SystemDisk.md
Usage Guidance
This skill is an instructions-only helper for the official Tencent Cloud CLI and appears coherent. Before installing or running anything: (1) verify you really want to install tccli and inspect the tccli PyPI/GitHub project and version referenced; (2) run pip/homebrew install commands as a non-root user and review what will be installed; (3) be aware `tccli auth login` launches a local port and requires you to complete a browser OAuth flow—do not paste secrets into chat or into the agent; (4) commands run via tccli can create or destroy cloud resources, so ensure the credentials used have the appropriate (least privilege) permissions; (5) confirm the documentation host (cloudcache.tencentcs.com) is expected in your environment. If you need higher assurance, request the skill author provide explicit package version checksums or point to an official TencentCloud release page.
Capability Analysis
Type: OpenClaw Skill Name: 1123 Version: 1.0.0 The skill bundle provides instructions for an AI agent to manage Tencent Cloud resources using the official 'tccli' tool. It includes explicit security guidelines in SKILL.md that forbid the agent from requesting or printing sensitive credentials (e.g., SecretId/SecretKey). Documentation is retrieved via curl from legitimate Tencent Cloud domains (cloudcache.tencentcs.com), and the installation/authentication processes described in the reference files follow standard, non-malicious practices.
Capability Tags
requires-oauth-token
Capability Assessment
Purpose & Capability
The name/description indicate a Tencent Cloud CLI helper and the SKILL.md only instructs using tccli, installing it, and using its auth flow. There are no unrelated required env vars, binaries, or config paths requested.
Instruction Scope
Runtime instructions are limited to installing/using tccli, calling Tencent Cloud APIs, and consulting documentation via curl. The skill explicitly warns not to ask users for SecretId/SecretKey and describes the browser OAuth flow (tccli auth login). It does not instruct reading unrelated files or exfiltrating data to unexpected endpoints.
Install Mechanism
There is no automated install spec in the bundle (instruction-only). SKILL.md recommends installing tccli via pip, Homebrew, or from GitHub. These are expected for a CLI helper, but pip/Homebrew will download and install code on the host—verify package origin/version and avoid running installs as root when possible.
Credentials
The skill declares no required environment variables or primary credential. It relies on tccli's normal credential files (e.g., default.credential) written by tccli auth login, which is appropriate for this purpose.
Persistence & Privilege
The skill does not request always:true and is user-invocable. The only persistent effect described is tccli writing credential files via its normal auth flow, which is expected and scoped to Tencent Cloud credentials.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install 1123
  3. After installation, invoke the skill by name or use /1123
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of the "tcapi" skill for interacting with Tencent Cloud APIs via tccli. - Added reference documentation files: references/auth.md, references/install.md, references/refs.md. - Removed obsolete script: scripts/ensue-api.sh. - Provides guidance for installation, authentication, API usage, and secure practices. - Includes examples for command syntax, parameter formatting, and API documentation lookup. - Emphasizes security: never request or expose user credentials.
Metadata
Slug 1123
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 1?

Skill to call Cloud API for Tencent Cloud (腾讯云). Used for cloud automation or resource management. It is an AI Agent Skill for Claude Code / OpenClaw, with 156 downloads so far.

How do I install 1?

Run "/install 1123" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 1 free?

Yes, 1 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 1 support?

1 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 1?

It is built and maintained by Tencent CloudQ Team (@2513483494); the current version is v1.0.0.

💬 Comments