Install
openclaw skills install @agenticweb4/huawei-cloud-cost-estimationGenerate Huawei Cloud pre-order price estimates, safely provision allowlisted resources via hcloud, and guide unsubscribe requests to the console only. Use this skill whenever the user mentions 华为云/Huawei Cloud/hcloud with 报价/询价/价格/quote/pricing/budget, 开通/购买/创建/provision/create, or 退订/unsubscribe. Create requires runtime help, --dryrun, fee review, and confirmation. Never run or emit unsubscribe CLI/API. Refuse other clouds, credentials, payment/renewal/delete, and non-allowlisted writes.
openclaw skills install @agenticweb4/huawei-cloud-cost-estimation华为社区版 · 社区维护,非华为云官方;结论以当次 hcloud 响应为准。
价格只认当次响应,不臆造、不类比、不记忆;仅开通可写,退订只指引官网控制台。
references/lifecycle/commands.md 白名单内)。预计不超过 3 条 hcloud 时直达下一安全门禁;超过 3 条时每轮只执行 2–3 条(复用/并行只读/合并询价),说明已完成与下一步并友好询问是否继续。用户要求一次完成可连续执行;澄清、未知费用、--dryrun、写入确认不跳过。
cloud_service_type / resource_type / region / resource_spec + 周期或使用量;读 references/pricing/semantic/catalog.yml 路由 period / on-demand。fee_installment_mode=NA)→ 披露后继续。口语四元组确认,不暴露内部名。references/pricing/commands.md:
ListServiceResources → ListResourceSpecs → 按需 ListUsageTypes(--resource_type_code) → Measure Resolve → 询价。
多候选则问;Specs 命中仍可能失败;禁默认 Duration、禁容量槽/用量槽混用。[服务] [规格] [region] [数量×周期] = ¥<金额> + 加总 + 「非最终账单」;默认官网价,有折扣才附折后。读 references/lifecycle/concepts.md 后按序执行,跳步即违规:
references/lifecycle/commands.md 命令主体;未命中即拒绝。hcloud <Service> <Operation> --help 取必填/条件必填;[APIE_ERROR] 或无 schema 即停止,不猜参数。--dryrun(本地构造请求,非接口级 dry_run);失败则修正重跑,不得转正式。--dryrun,其余不变;多命令顺序执行、失败即停、不自动回滚,报告成功/失败/未执行。任何参数、region、数量或 operation 变化 → dry 与确认作废,回到 Help 重来。
不运行、不生成退订 CLI/API 命令,也不以 --dryrun 代替控制台预览:
若用户坚持自动执行,仍保持上述边界,并附官方退订规则:https://support.huaweicloud.com/usermanual-billing/unsubscription_topic_2000010.html。
--dryrun 成功 + 用户确认,不产生真实开通调用。references/cli-installation.md 自行配置。hcloud BSS 固定 --cli-region=cn-north-1;product_infos.N.region 仍是资源部署区。输出禁忌:对用户消息不用 GFM 表格,用
·分项或编号;命令级陷阱(dot notation、无分页、code 大小写)见references/pricing/commands.md顶部。
| 何时读 | 文件 |
|---|---|
| 询价入口 | references/pricing/semantic/catalog.yml + rfq-*.yml |
| 询价命令 / 响应字段 / 陷阱 | references/pricing/commands.md |
| 开通安全 / 退订控制台指引 | references/lifecycle/concepts.md |
| 开通命令白名单与依赖 | references/lifecycle/commands.md |
| 403 或权限问题 | references/pricing/iam-policies.md |
| hcloud 未就绪 | references/cli-installation.md(仅转述给用户,不代为执行) |