← ClaudeAtlas

huawei-cloud-cost-estimationlisted

Generate 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.
ontology-of-everything/SemanticSkills · ★ 8 · DevOps & Infrastructure · score 81
Install: claude install-skill ontology-of-everything/SemanticSkills
# 华为云成本估算与资源开通 > **华为社区版** · 社区维护,非华为云官方;结论以当次 hcloud 响应为准。 价格只认当次响应,**不臆造、不类比、不记忆**;仅开通可写,退订只指引官网控制台。 ## Route - **询价 / 预算 / 比价** → Pricing。 - **开通 / 购买 / 创建资源** → Lifecycle Create(仅 `references/lifecycle/commands.md` 白名单内)。 - **退订 / 停止使用资源** → Unsubscribe Guidance(仅控制台指引,不调用 CLI/API)。 - 历史账单/余额/对账 → 费用中心或 BSS 账单只读 API;非华为云 → 拒绝;白名单外写操作 → 给控制台指引。 ## Execution Pace 预计不超过 3 条 `hcloud` 时直达下一安全门禁;超过 3 条时每轮只执行 2–3 条(复用/并行只读/合并询价),说明已完成与下一步并友好询问是否继续。用户要求一次完成可连续执行;澄清、未知费用、`--dryrun`、写入确认不跳过。 ## Pricing 1. **Parse** — 抽取四元组 `cloud_service_type / resource_type / region / resource_spec` + 周期或使用量;读 `references/pricing/semantic/catalog.yml` 路由 period / on-demand。 2. **Clarify** — 缺 region/数量/周期或用量/线性 size,或类目模糊、多变种未定 → 停下一轮问完(2–4 候选)。仅 safe-default 缺失(OS=linux、AZ=空、`fee_installment_mode=NA`)→ 披露后继续。口语四元组确认,不暴露内部名。 3. **Query** — 按 Execution Pace 与 `references/pricing/commands.md`: `ListServiceResources` → `ListResourceSpecs` → 按需 `ListUsageTypes(--resource_type_code)` → Measure Resolve → 询价。 多候选则问;Specs 命中仍可能失败;禁默认 Duration、禁容量槽/用量槽混用。 4. **Verify & Present** — 分项加和=总价;币种/周期/数量对齐。分项 `[服务] [规格] [region] [数量×周期] = ¥<金额>` + 加总 + 「非最终账单」;默认官网价,有折扣才附折后。 ## Lifecycle Create 读 `references/lifecycle/concepts.md` 后按序执行,跳步即违规: 1. **Allowlist** — 意图映射到 `references/lifecycle/commands.md` 命令主体;未命中即拒绝。 2. **Help** — `hcloud <Service> <Operation> --help` 取必填/条件必填;`[APIE_ERROR]` 或无 schema 即停止,不猜参数。 3. **Resolve** — 跑必要只读依赖(VPC/子网/AZ/镜像/规格等);多候选让用户选,缺失项一轮问完;长链按 Execution Pace 交付。 4. **C