К основному содержанию
скилл CX Codex

huawei-cloud-billing-scout — скилл для Claude Code: обзор

Анализирует расходы и баланс в Huawei Cloud BSS только на чтение. Помогает разобраться в списаниях через утилиту hcloud без риска изменить баланс или удалить ресурсы.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-billing-scout -a claude-code
Открыть на GitHub

Что делает huawei-cloud-billing-scout

Скилл собирает данные по биллингу Huawei Cloud через CLI-утилиту hcloud. Он формирует краткую сводку по тратам, скидочным купонам и пакетам ресурсов. Инструмент сразу отсекает любые запросы на оплату, продление подписок, удаление сервисов или возврат средств. Работа ведётся строго в режиме чтения.

Внутри логика опирается на онтологию BSS и шаблоны команд. Скилл проверяет расчётный период и масштаб выборки перед тем, как делать запросы. Вызовы к API принудительно направляются в регион cn-north-1. При этом учётные данные и полные ID профилей не попадают в итоговый отчёт.

Скилл сразу сломается без установленной hcloud версии не ниже 7.2.2 и включённого китайского языка интерфейса (--cli-lang=cn). Другие облачные провайдеры вроде AWS или Azure не поддерживаются.

Какие задачи решает

  • выяснить причину списаний и структуру расходов в Huawei Cloud
  • проверить остаток средств, купоны и карты предоплаты
  • сопоставить ежемесячные сводки и детализацию по ресурсам
  • найти расхождения в счетах для корпоративных аккаунтов и партнёров

Примеры запросов агенту

  • Покажи расходы в Huawei Cloud BSS за прошлый месяц и найди причину роста списаний.
  • Проверь остаток на балансе Huawei Cloud, активные купоны и пакеты ресурсов.
  • Сделай сверку списаний по текущему профилю Huawei Cloud за текущий расчётный период.

Как установить huawei-cloud-billing-scout

1Через Skills CLI (Vercel)

npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-billing-scout -a claude-code

2Вручную: положить файлы

~/.claude/skills/huawei-cloud-billing-scout/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/huawei-cloud-billing-scout/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Из того же набора23

huawei-cloud-terraform-installer Скилл ставит Terraform CLI на Linux и Windows, используя зеркало Huawei Cloud для провайдера. Пригодится, когда Terraform ещё не настроен для IaC-задачи. CX Codex +1 17 400установок huawei-cloud-find-skills Ищет, показывает и помогает устанавливать специализированные скиллы для работы с сервисами Huawei Cloud прямо в диалоге с агентом. CX Codex +1 17 200установок huawei-cloud-network-query Чтение сетевых ресурсов Huawei Cloud: VPC, ELB, NAT, VPN и DNS через локальные Python-скрипты. Помогает провести аудит инфраструктуры и выгрузить параметры без риска изменений. CX Codex +1 17 000установок huawei-cloud-terraform-generator Скилл превращает описание инфраструктуры в Terraform-конфигурацию для Huawei Cloud и проводит деплой с подтверждением на каждом шаге. CX Codex +1 17 000установок huawei-cloud-obs-upload Загружает файлы и папки в бакеты Huawei Cloud OBS, показывает список бакетов с объёмом и числом объектов и ставит периодическую синхронизацию через crontab. CX Codex +1 17 000установок huawei-cloud-computing-query Скилл выполняет запросы только на чтение к вычислительным ресурсам Huawei Cloud: ECS, BMS, IMS и Auto Scaling. Помогает проверить квоты, спецификации инстансов и статус групп масштабирования. CX Codex +1 17 000установок huawei-cloud-functiongraph-trigger-create Создаёт TIMER-триггеры для функций Huawei Cloud FunctionGraph по расписанию Quartz Cron или Rate. Нужен для запуска функций по времени. CX Codex +1 16 900установок huawei-cloud-cci-instance-management Управляет жизненным циклом контейнеров Huawei Cloud CCI из командной строки: namespace, сеть, деплойменты, поды, логи. Пригодится, когда нужно поднять serverless-контейнер без кластера. CX Codex +1 16 900установок

Похожие

aws-billing-and-cost-management aws Анализирует расходы в AWS, ищет резервы экономии и настраивает бюджеты. Помогает проверить аномалии цен, оценить Savings Plans и снизить затраты на инфраструктуру. CX Codex +1 9 000установок cloud-architect davila7 Скилл для Claude, который помогает проектировать инфраструктуру в AWS, Azure и GCP: Terraform, CDK, стоимость, безопасность. 157установок cicd-automation-cloud-architect Seth Hobson Субагент-архитектор для AWS, Azure, GCP и OCI: проектирует инфраструктуру, считает стоимость и пишет IaC. CX Codex ★ 41 729звёзд репо google-cloud-solution-agentic-ai-borderless-data-lakehouse официальный google Скилл помогает спроектировать открытое мультиоблачное озеро данных с Apache Iceberg, BigQuery и ИИ-агентами. Нужен для сложных распределённых архитектур. CX Codex 5 100установок analyzing-cloud-storage-access-patterns mahipal Скилл читает логи обращений к S3, GCS и Azure Blob и показывает, где поведение выбивается из обычного: ночные выгрузки, новые IP, всплески GetObject. CX Codex +1 562установок cloud-audit briiirussell Скилл проверяет конфигурации AWS, GCP и Azure на ошибки, лишние права и публичный доступ. Пригодится перед релизом или после инцидента. CX Codex +1 352установок

Рядом в теме «Облака: AWS, Azure, GCP»

Всё по теме «Облака: AWS, Azure, GCP» →

Вопросы о huawei-cloud-billing-scout

Как установить huawei-cloud-billing-scout в Claude Code?

Выполните команду npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-billing-scout -a claude-code. Файл навыка сохранится по пути ~/.claude/skills/huawei-cloud-billing-scout/SKILL.md.

Что делает huawei-cloud-billing-scout?

Навык отправляет запросы только на чтение в систему биллинга Huawei Cloud через утилиту hcloud. Он готовит короткую сводку по балансу, расходам и купонам, отвечая на вопрос о причинах списаний.

Какие требования нужны для работы скилла?

Нужна утилита hcloud версии не ниже 7.2.2 с настроенным профилем. Для корректных ответов BSS требует команду hcloud configure set --cli-lang=cn, а запросы идут в фиксированный регион cn-north-1.

Исходный текст

SKILL.md · MIT
---
name: huawei-cloud-billing-scout
description: "Huawei Cloud BSS billing (not AWS/Azure/other clouds; refuses pricing quotes, real-name review, and any non-billing scope): balance, spend, attribution, reconciliation, coupons, stored-value cards, enterprise/partner billing. One-page briefing via hcloud. Use only when the user explicitly mentions 华为云 / Huawei Cloud / BSS and 余额/账单/对账/资源包/代金券/储值卡/企业或伙伴账务; refuses pay, renew, refund, delete."
tags: [huawei-cloud, billing, bss, finops, reconciliation]
---

# Huawei Cloud · How Much Spent & Why Charged · Read-Only Reconciliation

Huawei Cloud Read-Only Billing — Spend, Charges & Reconciliation

Using **hcloud ≥7.2.2** and BSS read-only IAM, answer in one conversation: how much spent, why charged, where the difference is, what evidence is still missing. Query only, no modifications, no account operations on behalf of users.

## Prerequisites

> **Prerequisite check: Huawei Cloud CLI (hcloud) >= 7.2.2 required**
> Run `hcloud version` to verify version >= 7.2.2, and `hcloud configure list` to check profile exists.
> Run `hcloud configure set --cli-lang=cn` — BSS requires Chinese mode.
> If not installed or version is too low, see [references/cli-installation-guide.md](references/cli-installation-guide.md) for installation guide.

```bash
hcloud version
hcloud configure list
hcloud configure set --cli-lang=cn
```

## Principles

> **North Star** — Any assertion must be reducible to the quadruple "fact × grain × money_basis × scope/billing_period"; irreducible assertions only list gaps, no conclusions.

- **Three-Set First** — Stop if any of scope, billing_period (time), or money_basis is missing; ask only the point that would change the verification path, no clarification questionnaire.
- **Single Fact No Mixing** — Monthly summary, resource detail, monthly amortization, and orders are each a distinct fact type with different grains; no cross-summing, no substitution.
- **Evidence Boundary Self-Consistent** — Each entity only answers questions within its `evidence_boundary`; speculation, pending checks, and responsibility judgments must first verify whether evidence falls within the boundary.

## Division of Labor

`SKILL.md` defines behavior; `semantic/catalog.yml` defines entry points and required context; `semantic/billing-ontology.yml` defines facts, grains, money_basis, and `source_operations`; `references/related-commands.md` defines copyable BSS templates and pagination limits.

Four types of billing questions and routing: see `references/semantic/catalog.yml`.

## Verification Path

**Huawei Cloud Gate** — Before matching in `catalog.yml`: if user has not indicated Huawei Cloud / BSS / this skill's billing scope, and cannot be determined from conversation as the Huawei Cloud account for current `hcloud` profile, **first ask one confirmation** "Query current configured Huawei Cloud account and billing period?"; without confirmation, no BSS query execution. Non-Huawei Cloud or other cloud vendor billing → only state out of scope, no evidence gathering.

|Phase|Task|Reference File|Forbidden|
|---|---|---|---|
|Lock Money Basis|Lock three-set|`catalog.yml` → `required_context`|Ask one at a time if missing, not all together|
|Select Entry Point|Match `triggers` to get `entry_point`, obtain `ontology_entities`|`catalog.yml` → `entry_points`|No cross-entry-point summing or borrowing|
|Gather Evidence|Minimal read-only queries within `evidence_boundary`; first query copy from `related-commands.md` current entry `####` template|`billing-ontology.yml` + `related-commands.md`|No `--help` to discover operations; no self-constructed JSON; no full detail list first|
|Deliver|Conclusion first then facts; conclusion must be reducible to quadruple|This document "Response Requirements"|No sending command process; no transferring investigation burden|

Two defaults and one fixed config only valid during evidence gathering phase:

- **Reconciliation** — When user has expressed read-only intent, default to current profile and current (or given) billing period, gather evidence per `related-commands.md` `reconciliation` order; ask one ID at a time only when blocking ID is missing.
- **Enterprise / Partner** — When ontology requires `customer_id` or other prerequisite IDs, first provide read-only acquisition path or one clarification, then make responsibility judgment.
- **BSS Endpoint** — All `hcloud BSS` calls require `--cli-region=cn-north-1`; no substitution with profile or other regions. [Fixed config, non-adjustable]

## Hard Constraints (Non-Negotiable)

The following three are derived from principles, non-negotiable.

### Read-Only

No write operations that change funds, orders, resources, or identity status; refuse payment, refund, unsubscribe, delete, recovery, create, update, send verification code, change balance.
**Why**: Once a write occurs, the fact state that assertions depend on is contaminated by itself. `List*`/`Show*` with `Change` in name are still read-only ledgers, not in this category.

### No Leak

No output of credentials, long identifiers that can restore identity, complete business IDs, `profile` / `region`.
**Why**: Identity dimension disclosure exceeds `evidence_boundary` response scope; delivery value is unrelated to disclosure degree.

### No Extrapolation

Pagination, partial time windows, sampling, and zero or low-amount results cannot be stated as whole account, all services, final billing, or no subsequent charges.
**Why**: Grain does not allow amplification; conclusions at local grain cannot be declared as facts at coarser grain unless evidence money_basis already covers entire month.

## Response Requirements

> Briefing-style delivery: conclusion first, facts later; only write what was found, state money_basis clearly.

- **Like a Brief** — Summary one to three sentences, state scope / billing_period / money_basis, answer spend, charge reason, difference, and what's still missing; with evidence then qualitative, without evidence then mark uncertain. **Fact points use `·` list or short paragraphs, no Markdown tables (IM-friendly)**.
- **Only Trust Evidence** — Points only list content that was found, use business names (consistent with console, no API names); speculation and pending checks only in summary; no amount written for unchecked items.
- **Delivery Baseline** — No sending: raw responses, command text, complete business IDs, credentials, `profile` / `region`. Gaps only provide one read-only next step (business wording), not "please reconcile yourself".

## Boundaries

- **Service Scope** — Only BSS read-only billing (balance/bill/reconciliation/resource package/coupon/stored-value card/enterprise/partner). Non-Huawei Cloud or other cloud vendor billing not in scope.
- **Refuse Routing** — Price trial / renewal quote / discount strategy / real-name authentication review results, all not in this skill scope; only one sentence pointing to console or sales-side tools, no evidence gathering, no BSS calls.
- **Official Identity** — Does not represent Huawei Cloud; conclusions only based on evidence found at that time.
- **Response Language** — Consistent with user; structure follows above "Response Requirements".
- **Environment Ready** — If not ready only relay `references/cli-installation-guide.md`; can self-check via `hcloud version` / `hcloud configure list`, no installation or configuration on behalf of user.

## References

| Reference | Description |
| --- | --- |
| `references/semantic/catalog.yml` | Thin routing layer that maps scope/time/money_basis to billing-ontology.yml entities |
| `references/semantic/billing-ontology.yml` | Semantic ontology defining facts, scope, money basis, and read-only BSS operations |
| `references/related-commands.md` | Provides copyable BSS CLI command templates with parameter formats |
| `references/iam-policies.md` | Defines minimum IAM read-only permissions required for BSS queries |
| `references/cli-installation-guide.md` | Huawei Cloud KooCLI Installation Guide |

© huaweicloud · MIT · huaweicloud/huaweicloud-skills

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой