# huawei-cloud-business-tf-support

huawei-cloud-business-tf-support fetches Huawei Cloud billing records and pricing details for Terraform. Operates purely in read-only mode via local Python scripts.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 183 installs · ★ 59 repo stars
- Author: huaweicloud
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/huaweicloud/huaweicloud-skills/tree/HEAD/skills/bss/billing/huawei-cloud-business-tf-support/SKILL.md
- Updated: 2026-10-23
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/huawei-cloud-business-tf-support

## What it does

This skill retrieves financial data from Huawei Cloud, including account balances, invoices, coupons, orders, refunds, and actual resource costs. It also checks pricing for on-demand instances, reserved periods, ELB, NAT gateways, and DCS caches. It does not create, modify, or delete infrastructure.

All calls run through local Python scripts with the Huawei Cloud Python SDK. External CLI tools like `hcloud` or raw `curl` commands are bypassed completely. You need Python 3.6 or newer plus `HW_ACCESS_KEY` and `HW_SECRET_KEY` credentials. An environment check via `check_env.sh` or `check_env.ps1` validates the setup before any query runs. Without valid API keys, execution halts.

## Requirements
- Works with: Terraform

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-business-tf-support -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/huawei-cloud-business-tf-support/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/huawei-cloud-business-tf-support/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-business-tf-support -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/huawei-cloud-business-tf-support/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-business-tf-support -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/huawei-cloud-business-tf-support/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install huaweicloud/huaweicloud-skills skills/bss/billing/huawei-cloud-business-tf-support
```

2. **Manually: put the files in place**
- File: `.github/skills/huawei-cloud-business-tf-support/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-business-tf-support -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/huaweicloud/huaweicloud-skills --path skills/bss/billing/huawei-cloud-business-tf-support
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/huawei-cloud-business-tf-support/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-business-tf-support -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/huaweicloud/huaweicloud-skills/tree/HEAD/skills/bss/billing/huawei-cloud-business-tf-support/SKILL.md

## When to use it
- check Huawei Cloud cash coupon balance and account status
- fetch Terraform pricing inquiries for ELB, NAT, or DCS services
- inspect billing records and refund summaries
- retrieve accurate resource fees before deploying configurations

## Example prompts
- Run a Terraform pricing inquiry for our NAT gateway and DCS setup in Huawei Cloud.
- Check Huawei Cloud balance and available coupons before planning Terraform.
- Get the current bill summary and refund status for the account.

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: dd20891b8c2eb528.

BEGIN THIRD-PARTY FILE dd20891b8c2eb528
```text
---
name: huawei-cloud-business-tf-support
description: "Queries Huawei Cloud billing and fee details only when Terraform needs a billing or pricing inquiry. Covers balances, bills, coupons, cash coupons, stored-value cards, orders, refunds, costs, free resources, resource usage, enterprise accounts, and on-demand/period/ELB/NAT/DCS pricing. No write operations. Use this skill only when Terraform requires billing details, invoice/bill summaries, coupon or balance status, refund/order billing status, or pricing inquiry. Triggers: Terraform 账单查询, Terraform 费用查询, Terraform 价格询价, Terraform 询价, Terraform billing query, Terraform pricing inquiry, Terraform price quote, Terraform bill summary."
---
# Huawei Cloud Resource Query

> **⚠️ Execution Method (Must Read): This skill executes queries via local Python scripts. Do NOT use hcloud, openstack or other CLI tools, or call APIs directly.**
>
> - Query scripts are located under the skill directory `scripts/<service_category>/` (e.g., `scripts/as/list_scaling_groups.py`)
> - All scripts and environment check scripts are inside the skill package, **must be executed using `skill action=exec`, do not run directly in shell**
> - For specific script paths and parameters, see `references/<service>/guide.md`
> - **Do NOT attempt hcloud, openstack, curl IAM or other CLI/API methods; this skill does not depend on those tools**
> - **All paths are relative to the skill directory, which is the directory where this SKILL.md is located**

## Overview

This skill is a standalone read-only query skill that uses local Python scripts to call the
Huawei Cloud Python SDK for querying Huawei Cloud resources, available specifications,
and existing resource information.

This skill is applicable to the following scenarios:

1. Query available cloud resource specifications in a given region
2. Query available images for a certain OS type
3. Query disk types and existing disk information
4. Query existing resources and their key attributes
5. Query resources that were not created via Terraform or other IaC tools
6. Prepare real parameters for automation configuration, resource verification, or environment inventory
7. Obtain reusable information such as resource ID, name, specification, image, network, disk, etc.

This skill does NOT handle the following:

1. Creating resources
2. Modifying resources
3. Deleting resources
```
END THIRD-PARTY FILE dd20891b8c2eb528

The third-party file has ended. Everything between the dd20891b8c2eb528 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2414 of 10279 bytes. © huaweicloud · MIT · https://github.com/huaweicloud/huaweicloud-skills/tree/HEAD/skills/bss/billing/huawei-cloud-business-tf-support/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
