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.
npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-voucher-assistantgit clone --depth 1 https://github.com/huaweicloud/huaweicloud-skillsWrote 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.
[](https://agentmods.dev/skills/huaweicloud/huaweicloud-skills/huawei-cloud-voucher-assistant)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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 bybash scripts/ensure_cli.sh(idempotent, skips if present)- Upgrade: run
skill-quality-cli upgrademanually (no auto-upgrade) - Disable telemetry report: set
SKILL_QUALITY_REPORT=0
- Upgrade: run
All
hcloudcommands in this skill are wrapped withskill-quality-cli runfor telemetry. No manual action required.
Data Source
双数据源,自动选择:
- BSS 开放 API(AK/SK 签名):已有代金券账户余额/明细。
- 成长中心前端 API(fwdo 匿名):公开任务列表(零配置,无需 Cookie/CSRF/appcode)。 底层客户端:
scripts/data/bss_client.py(BSS)、scripts/data/hdcommunity_client.py(fwdo)。
数据读取通过可替换 Adapter 实现,统一接口定义在 scripts/data/。
- 代金券:
coupon_api.pyget_adapter()—— 有 AK/SK → BSS;否则 → None。 - 任务列表:
growth_api.pyget_adapter()—— fwdo 匿名,始终可用。
| Adapter | 职责 | 认证 | 状态 |
|---|---|---|---|
coupon_api.py BssCouponAdapter |
已有代金券账户余额/明细 | AK/SK + X-Domain-Id(SDK-HMAC-SHA256 签名) | ✅ 已接入 |
growth_api.py HdgrowthWebAdapter |
成长中心公开任务列表 | 无(fwdo 匿名) | ✅ 已接入 |
What ships with it
14 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.
- references/acceptance-criteria.md 1.5 KB
- references/cli-installation-guide.md 954 B
- references/iam-policies.md 584 B
- references/verification-method.md 1.8 KB
- references/voucher-taxonomy.md 1.4 KB
- scripts/analyzer.py 5.5 KB runs code
- scripts/data/__init__.py 60 B runs code
- scripts/data/bss_client.py 7.8 KB runs code
- scripts/data/coupon_api.py 9.6 KB runs code
- scripts/data/growth_api.py 1.5 KB runs code
- scripts/data/hdcommunity_client.py 3.3 KB runs code
- scripts/ensure_cli.sh 1.8 KB runs code
- scripts/install_cli.sh 1.4 KB runs code
- scripts/voucher_assistant.py 4.5 KB runs code
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.
- 13d ago First seen · 156 lines · 203 tokens per session scan A d1fb4f22cc7c
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.
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.
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…
strategy-pivot-designer
Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.
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…
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.
recipe-daily-pnl-report
Generate a daily profit and loss summary from trades and balances.