huawei-cloud-bss-voucher-query SKILL.md skillA
huawei-cloud-bss-voucher-query from huaweicloud/huaweicloud-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add huaweicloud/huaweicloud-skills/huawei-cloud-bss-voucher-query@git:20261105.d18b8a3Pins git:20261105.d18b8a3 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- huaweicloud/huaweicloud-skills
- Path
skills/bss/billing/huawei-cloud-bss-voucher-query/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261105.d18b8a3, committed Nov 5, 2026
- Size
- 15,542 bytes
- Repository stars
- 59
- License
- MIT
Query Huawei Cloud BSS (费用中心) vouchers / coupons with enterprise-project (企业项目) filtering. Reads the account's coupon list via KooCLI `hcloud BSS ListSubCustomerCoupons` (read-only GET /v2/promotions/benefits/coupons, with SDK fallback). Supports listing by project ID (`--project-id`, attributed through the customer order => enterprise-project linkage because the coupon API carries no project_id), status (`--status available/used/expired`), name, coupon-id, coupon-type, near-expiry/expired…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Huawei Cloud BSS Voucher Query (Enterprise-Project Aware) ## Overview Query the voucher / coupon list of a Huawei Cloud account through KooCLI `hcloud BSS ListSubCustomerCoupons` (official read-only GET `/v2/promotions/benefits/coupons`, verified in the `huaweicloudsdkbss` v2 client `_list_sub_customer_coupons_http_info` metadata; the SDK fallback uses `GlobalCredentials` + global BSS endpoint). The skill adds an **enterprise project (企业项目) dimension** to voucher queries so multi-project users can filter vouchers by project, track near-expiry/expired vouchers per project, and see a per-project usage-rate summary for financial apportionment (财务分摊/对账) and reconciliation. ### Capability Scope - **List vouchers** (full-field table / `--json` / `--names-only`) with automatic offset paging (BSS page limit 100) and a strict write-intent guard (read-only). - **Filter by enterprise project** — `--project-id <id>`. New capability of this skill: the BSS coupon-list API carries **no** `project_id` request parameter and **no** project field in its coupon records (it is a global / domain API). The script therefore attributes each coupon to an enterprise …
Read the whole file at its exact version.
How to install
mdr add huaweicloud/huaweicloud-skills/huawei-cloud-bss-voucher-query@sha256:4c4d25193ec046c5The line at the top of this page pins the label git:20261105.d18b8a3, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_zwmckhrx7y5tfxcn)
0 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Nov 5, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (15542 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
huaweicloud/huaweicloud-skills · 59 stars · license MIT · pushed 2026-11-07 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_zwmckhrx7y5tfxcn GET https://markdownregistry.com/api/v1/resolve?ref=huaweicloud/huaweicloud-skills/huawei-cloud-bss-voucher-query GET https://markdownregistry.com/api/v1/blob/4c4d25193ec046c5665c359ef42c04af4d1ab27a3dd9681a2f0da1179034587a
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.