huawei-cloud-bss-voucher-query

huawei-cloud-bss-voucher-query is a skill for Claude Code, Codex from huaweicloud/huaweicloud-skills. It costs 267 tokens per session (3,907 once invoked), scanned A, original, MIT.

A read-only query tool for Huawei Cloud account vouchers and coupons. It can filter and summarise these discounts by enterprise project, a way to separate resources and spending within one account.

In plain words
What is it for?
It lists vouchers, filters them by project, and can show their names, full details, or JSON data. It also reports usage-rate summaries for financial allocation and reconciliation.
Why use it?
It helps organisations find unused, expired, or nearly expired discounts when costs are split across projects. It supports reconciliation by showing project-level usage information.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It lists vouchers, filters them by project, and can show their names, full details, or JSON data. It also reports usage-rate summaries for financial allocation and reconciliation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/huaweicloud/huaweicloud-skills/huawei-cloud-bss-voucher-query
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-bss-voucher-query
Clone the repo
git clone --depth 1 https://github.com/huaweicloud/huaweicloud-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for huawei-cloud-bss-voucher-query

README.md
[![agentmods](https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-bss-voucher-query/github.svg)](https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-bss-voucher-query)
Your own site
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-bss-voucher-query"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-bss-voucher-query/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for huawei-cloud-bss-voucher-query

Your own site · 80×15
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-bss-voucher-query"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-bss-voucher-query.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 267 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,907 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00267 $0.03907
Opus 5.5 $0.00107 $0.01563
Sonnet 5.5 $0.00053 $0.00781
Haiku 4.5 $0.00027 $0.00391

Measured yesterday against content hash 4c4d25193ec0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

huawei-cloud-bss-voucher-query scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/list_coupons.py, scripts/skill_quality_sdk.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/bss/billing/huawei-cloud-bss-voucher-query/SKILL.md · 271 lines

How it starts

The opening of the file, as written. The whole thing — 271 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 project through the customer order linkage (coupon.order_id / lock_order_id → hcloud BSS ListCustomerOrders → order.enterprise_projects[]), then filters locally — the same client-side strategy as the --name filter. This is a read-only enhancement built on the existing huawei-cloud-voucher-list query logic.
  • Filter by status / name / coupon-id / coupon-type — --status (BSS codes 1-5 or aliases available/used/expired/reclaimed), --name (client-side substring), --coupon-id (server-side), --coupon-type (server-side). --status and --project-id compose.
  • Near-expiry / expired views — --expiring N (expiring within N days) and --expired (already expired), based on valid_time / expire_time, combinable with --project-id.
  • Per-project usage-rate analysis — --usage-analysis aggregates face_value vs balance per enterprise project (count / total face / total balance / total used / usage rate) for finance apportionment and reconciliation.

Read the full file on GitHub · 271 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 271 lines · 267 tokens per session scan A 4c4d25193ec0

Subscribe to this mod's changes

huawei-cloud-bss-voucher-query is a skill published in the GitHub repository huaweicloud/huaweicloud-skills (59 stars, last pushed yesterday), licensed MIT. It adds 267 tokens to every session and 3,907 once invoked, about $0.0011 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-06.

Related

huawei-cloud-bss-voucher-query compared with skills from other repositories

huawei-cloud-bss-voucher-query next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
huawei-cloud-bss-voucher-queryhuaweicloud/huaweicloud-skillsSkill59yesterdayMITA267Claude Code, Codex
invoicingericrisco/rsc-harnessSkill5033d agoMITA82Claude Code, Codex
telecommunications-expertpersonamanagmentlayer/pclSkill4412d agoApache-2.0A67Claude Code
awslabs-billing-cost-management-mcpFriz-zy/ai-capability-registrySkill121mo agoMITA15Claude Code, Codex
claims-billing-rulesawslabs/hcls-agent-skillsSkill721mo agoMIT-0A185Claude Code, Codex
subscription-managementclaude-office-skills/skillsSkill5679mo agoMITA24Claude Code, Codex
invoice-generatorclaude-office-skills/skillsSkill5679mo agoMITA22Claude Code, Codex