Install
openclaw skills install tencentcloud-lighthouse-skillClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
Load when: user mentions Lighthouse, 轻量应用服务器, 轻量服务器, or asks to check/create/manage/deploy Lighthouse instances, deploy applications to Lighthouse, manage Lighthouse firewall rules, reset Lighthouse password, view Lighthouse snapshots/images/traffic, monitor Lighthouse metrics, run commands on Lighthouse via TAT, or asks to get/identify the current instance ID. Trigger phrases: "查看轻量服务器", "Lighthouse实例", "轻量应用服务器", "部署应用", "部署程序", "部署到Lighthouse", "管理防火墙规则", "重置密码", "查看快照", "查看流量包", "获取实例ID", "查看实例ID", "当前实例", "实例IP", "check Lighthouse", "create Lighthouse", "deploy app", "deploy application", "Lighthouse firewall", "Lighthouse snapshot", "instance ID", "whoami". NOT for CVM, CBS, VPC, or other non-Lighthouse products.
openclaw skills install tencentcloud-lighthouse-skillManage Tencent Cloud Lighthouse instances via tccli CLI.
Your knowledge of tccli parameters and API limits may be outdated.
Always use tccli <service> <action> --help to verify parameters before execution.
tccli --version
If not installed: pip install tccli
| Method | Security | Expiry | Recommendation |
|---|---|---|---|
| OAuth browser login | High | Temporary, expires in 2 hours | Recommended |
| AK/SK key pair | Low | Permanent unless revoked | Special cases only |
When the user has not chosen a method, default to OAuth.
Use script/tccli-oauth-helper.sh for non-interactive OAuth login:
# Step 1: Check credential status
bash script/tccli-oauth-helper.sh --status
# Step 2: Generate authorization URL (if credentials are missing or expired)
bash script/tccli-oauth-helper.sh --get-url
# Step 3: User opens the URL in browser, completes login, and gets a base64 code
# Step 4: Complete login with the code
bash script/tccli-oauth-helper.sh --code "base64_code_from_browser"
# Step 5: Verify
tccli lighthouse DescribeRegions
Workflow:
--status to check existing credentials--get-url — show the URL to user--code with the base64 code to complete logintccli lighthouse DescribeRegionsNotes:
--get-urltccli sts GetCallerIdentity to verify — it does not support OAuth credentialsOnly if the user explicitly provides SecretId and SecretKey:
tccli configure set secretId <SecretId>
tccli configure set secretKey <SecretKey>
tccli configure set region ap-guangzhou
tccli auth logout
| Task | Command |
|---|---|
| List instances | tccli lighthouse DescribeInstances --region <region> |
| Instance details | tccli lighthouse DescribeInstances --region <region> --InstanceIds '["lhins-xxx"]' |
| Firewall rules | tccli lighthouse DescribeFirewallRules --region <region> --InstanceId lhins-xxx |
| Monitoring data | tccli monitor GetMonitorData --Namespace QCE/LIGHT_HOUSE ... |
| Run remote command | tccli tat RunCommand --region <region> --InstanceIds '["lhins-xxx"]' --Content "..." |
| Snapshots | tccli lighthouse DescribeSnapshots --region <region> |
| Traffic packages | tccli lighthouse DescribeInstancesTrafficPackages --region <region> --InstanceIds '["lhins-xxx"]' |
| Available regions | tccli lighthouse DescribeRegions |
| Help for any action | tccli lighthouse <Action> --help |
| Get current instance ID | bash script/whoami.sh or bash script/whoami.sh --id |
Read the corresponding reference file before executing:
User wants to...
├─ Query / start / stop / reboot instances -> references/instance-management.md
├─ Reset password / view blueprints -> references/instance-management.md
├─ Deploy applications / verify deployment -> references/application-deployment.md
├─ View CPU / memory / bandwidth metrics -> references/monitoring-alerting.md
├─ Set up alarm policies -> references/monitoring-alerting.md
├─ Manage firewall rules -> references/firewall-management.md
├─ Execute commands on instance -> references/remote-command-tat.md
├─ Create / restore snapshots -> references/snapshot-blueprint.md
├─ Create custom images -> references/snapshot-blueprint.md
├─ Check traffic usage -> references/traffic-package.md
├─ Identify current instance (ID / IP) -> bash script/whoami.sh [--id | --ip]
└─ Other operations -> tccli lighthouse --help
| Risk | Operations | Confirmation |
|---|---|---|
| High | Delete instance, apply snapshot, delete snapshot/blueprint | Double confirm, state irreversibility |
| Medium | Stop/reboot instance, modify firewall, run commands | Single confirm |
| Low | Query, list, describe, help | Execute directly |
Rules:
DescribeRegionsDescribe first, never blind Create / DeleteDescribeInstances, never use placeholders--help when unsure about parameter names or formats| Code | Location |
|---|---|
| ap-beijing | Beijing |
| ap-shanghai | Shanghai |
| ap-guangzhou | Guangzhou |
| ap-chengdu | Chengdu |
| ap-chongqing | Chongqing |
| ap-nanjing | Nanjing |
| ap-hongkong | Hong Kong |
Run tccli lighthouse DescribeRegions for the full list.
Many messaging channels (WeChat, 企业微信, Slack, Teams, Telegram, etc.) apply Markdown rendering or Markdown-to-plain-text conversion before displaying messages. Common transformations that silently corrupt output:
_xxx_ → xxx (italic markers)*xxx* → xxx (bold/italic markers)This corrupts:
redirect_url, app_id in OAuth links)instance_name, secret_id)Rules for all channel output:
_ (underscore) with %5F in any URL shown to the user. For example, the OAuth authorization URL parameters like redirect_url, app_id must use %5F instead of _.instance_name, secret_id).[text](url) — the URL may be altered by the channel.tccli lighthouse DescribeRegionstccli lighthouse <Action> --help to confirm parameter formattccli lighthouse DescribeInstances --region <region>