huawei-cloud-voucher-assistant

huawei-cloud-voucher-assistant is a skill for Claude Code, Codex from huaweicloud/huaweicloud-skills. It costs 203 tokens per session (2,675 once invoked), scanned A, original, MIT.

An assistant for checking Huawei Cloud vouchers and discounts when buying a cloud service. It reads eligible vouchers from an authorised account and explains possible deductions; it does not place the order.

In plain words
What is it for?
Use it before buying Huawei Cloud services to check voucher balances, eligibility, estimated deductions, and alternatives when the balance is insufficient.
Why use it?
Cloud pricing choices can be unclear when discounts cover only part of a purchase or apply only to certain services. This assistant helps compare voucher use with lower-cost service sizes or a voucher-plus-cash payment.

Skill for Claude CodeCodex

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

Good fit Use it before buying Huawei Cloud services to check voucher balances, eligibility, estimated deductions, and alternatives when the balance is insufficient.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/huaweicloud/huaweicloud-skills/huawei-cloud-voucher-assistant
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-voucher-assistant
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-voucher-assistant

README.md
[![agentmods](https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-voucher-assistant/github.svg)](https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-voucher-assistant)
Your own site
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-voucher-assistant"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-voucher-assistant/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-voucher-assistant

Your own site · 80×15
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-voucher-assistant"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-skills/huawei-cloud-voucher-assistant.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 203 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,675 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.00203 $0.02675
Opus 5.5 $0.00081 $0.01070
Sonnet 5.5 $0.00041 $0.00535
Haiku 4.5 $0.00020 $0.00267

Measured 13d ago against content hash d1fb4f22cc7c, 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-voucher-assistant 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 13d ago.

The scan reads SKILL.md. This mod also ships 9 executable files (scripts/analyzer.py, scripts/data/__init__.py, scripts/data/bss_client.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-voucher-assistant/SKILL.md · 156 lines

How it starts

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

[!IMPORTANT] 本 Skill 是华为云「代金券」的购买优惠咨询助手。用户在购买华为云服务、想了解有哪些优惠时,本 Skill 通过已授权的华为云账号权限(AK/SK)读取代金券余额与明细,给出可抵扣方案;余额不足时推荐低规格替代与「代金券+现金」组合。它不直接下单购买(下单由对应服务 Skill 负责),也不查询账单/用量明细(那是 huawei-cloud-billing-scout 的职责)。

Overview

华为云代金券助手:用户在购买华为云服务、想了解优惠时,读取「代金券」余额与明细,给出可抵扣金额;余额不足时推荐低规格与组合付款方案。

Scenario Description

本 Skill 的定位是购买时的优惠方案咨询:

  • 优惠查询:用户购买华为云服务时,查询有哪些代金券/折扣可抵扣
  • 余额不足推荐:余额不足以全额抵扣时,推荐低规格服务或「代金券+现金」组合

Use Cases

  • "我要买一台 ECS,有没有代金券能用?"
  • "有什么优惠方案?代金券能抵多少?"
  • "我的华为云代金券还剩多少?"
  • "这个代金券能在哪些云服务上用?"
  • "余额不够买这台 ECS 怎么办?"
  • "我要买一台 c7.large.2,代金券够不够抵?不够的话推荐什么方案?"

Prerequisites

  • Python 3.6+(python 或 python3 在 PATH 中),纯标准库,零第三方依赖
  • 网络访问:bss.myhuaweicloud.com(BSS)+ devdata.huaweicloud.com(成长中心 fwdo 任务列表)
  • 华为云 AK/SK:环境变量 HW_ACCESS_KEY/HW_SECRET_KEY 或 HUAWEICLOUD_SDK_AK/HUAWEICLOUD_SDK_SK
  • HW_DOMAIN_ID(可选):租户 ID(BSS 全局服务需 X-Domain-Id 头参与签名)
  • 任务列表(fwdo 匿名)零配置可用;代金券查询需 AK/SK,未配置时返回提示。分析类 action 始终可离线运行(见 Data Source)
  • skill-quality-cli — ensured by bash scripts/ensure_cli.sh (idempotent, skips if present)
    • Upgrade: run skill-quality-cli upgrade manually (no auto-upgrade)
    • Disable telemetry report: set SKILL_QUALITY_REPORT=0

All hcloud commands in this skill are wrapped with skill-quality-cli run for telemetry. No manual action required.

Data Source

双数据源,自动选择:

  1. BSS 开放 API(AK/SK 签名):已有代金券账户余额/明细。
  2. 成长中心前端 API(fwdo 匿名):公开任务列表(零配置,无需 Cookie/CSRF/appcode)。 底层客户端:scripts/data/bss_client.py(BSS)、scripts/data/hdcommunity_client.py(fwdo)。

数据读取通过可替换 Adapter 实现,统一接口定义在 scripts/data/。

  • 代金券:coupon_api.py get_adapter() —— 有 AK/SK → BSS;否则 → None。
  • 任务列表:growth_api.py get_adapter() —— fwdo 匿名,始终可用。
Adapter 职责 认证 状态
coupon_api.py BssCouponAdapter 已有代金券账户余额/明细 AK/SK + X-Domain-Id(SDK-HMAC-SHA256 签名) ✅ 已接入
growth_api.py HdgrowthWebAdapter 成长中心公开任务列表 无(fwdo 匿名) ✅ 已接入

Read the full file on GitHub · 156 lines

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. 13d ago First seen · 156 lines · 203 tokens per session scan A d1fb4f22cc7c

Subscribe to this mod's changes

huawei-cloud-voucher-assistant is a skill published in the GitHub repository huaweicloud/huaweicloud-skills (59 stars, last pushed yesterday), licensed MIT. It adds 203 tokens to every session and 2,675 once invoked, about $0.0008 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-10-15.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

twitter-reader

Read Twitter/X for financial research through opencli: the user's home timeline, tweet search, trending topics, bookmarks, a user's recent tweets, threads, articles, profiles, followers and following, and notifications. Use this skill whenever the user wants to know what people are saying on Twitter/X or fintwit about…

himself65/finance-skills · 110 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

energy-procurement

Codified expertise for electricity and gas procurement, tariff optimization, demand charge management, renewable PPA evaluation, and multi-facility energy cost management. Informed by energy procurement managers with 15+ years experience at large commercial and industrial consumers. Includes market structure analysis…

hashgraph-online/awesome-codex-plugins · 93 tokens

airdrop-hunting-guide

Guide to finding and qualifying for crypto airdrops — eligibility criteria, farming strategies, on-chain activity requirements, Sybil detection avoidance, and tracking tools. Use when helping users understand airdrops, check eligibility, or plan participation strategies.

nirholas/three.ws · 54 tokens

recipe-daily-pnl-report

Generate a daily profit and loss summary from trades and balances.

krakenfx/kraken-cli · 19 tokens