huawei-voucher

huawei-voucher is a skill for Claude Code from huaweicloud/huaweicloud-devkit. It costs 253 tokens per session (2,262 once invoked), scanned A, original, Apache-2.0.

A Huawei Cloud voucher service for checking whether an account has claimed its one-time incentive voucher and claiming it when eligible.

In plain words
What is it for?
It is for checking voucher status, claiming an available Huawei Cloud voucher, and reporting the service's result.
Why use it?
It prevents repeated claim attempts and explains common account, identity-verification, or quota problems.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the huaweicloud-devkit plugin — 27 skills, 1 hook shipped together

Good fit It is for checking voucher status, claiming an available Huawei Cloud voucher, and reporting the service's result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/huaweicloud/huaweicloud-devkit/huawei-voucher
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-devkit --skill huawei-voucher
Clone the repo
git clone --depth 1 https://github.com/huaweicloud/huaweicloud-devkit

Made for: Claude Code.

Or install huaweicloud-devkit, the plugin that ships this one along with the rest of its 27 skills, 1 hook.

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-voucher

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/huaweicloud/huaweicloud-devkit/huawei-voucher"><img src="https://agentmods.dev/badge/skills/huaweicloud/huaweicloud-devkit/huawei-voucher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 253 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,262 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00253 $0.02262
Opus 5.5 $0.00101 $0.00905
Sonnet 5.5 $0.00051 $0.00452
Haiku 4.5 $0.00025 $0.00226

Measured 3d ago against content hash 25f52216343a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

huawei-voucher 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 3d 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.

plugins/huaweicloud-core/skills/huawei-voucher/SKILL.md · 98 lines

How it starts

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

华为云代金券

覆盖两类活动:激励代金券(通用,一人一次)与赛事代金券(华为开发者大赛·小红书skill创新赛,需已完成赛事报名)。两者相互独立,注意区分调用对应工具。

激励代金券(一人一次)

主动提示准则(核心)

此能力仅在用户尚未领取时才有价值,需避免已领取用户被反复打扰。以下场景默认执行"先查后提示":会话开始、能力导读、首次对话、提到福利领取类话题。

  1. 生产环境直接调用 huaweicloud_voucher_status(不传 domain_id,后端从 IAM 自动解析账号)。
  2. 按返回严格判定:
    • claimed=true → 静默处理,不再提及代金券,不打扰用户
    • claimed=false 且 message="未领取" → 主动提示,用下方话术并询问是否领取
    • 返回含凭证错误码(code=HDKIT_CRED_MISSING / HDKIT_CRED_INVALID / HDKIT_CRED_RATE_LIMIT),或 message 含「未配置 / not configured / AK/SK 无效 / 限额」→ 提示用户检查或配置华为云凭证(不要误报为「服务不可用」)
    • 其余情况(如 message="查询失败"、状态不明确、调用异常)→ 严格不提示
  3. 提示话术(可直接使用):

    "你还可以领取一张华为云激励代金券(一人一次),需要我现在帮你领取吗?"

  4. 能力导读时,若判定未领取,将代金券作为独立、靠前的提示项,而非埋在能力清单底部。

流程

1. 查询状态

调用 huaweicloud_voucher_status(生产环境无需 domain_id,测试环境需传 domain_id)。

返回 { claimed, message }:

  • claimed=true + message 以「已领取」开头 → 已领取,告知结果即可,不再引导
  • claimed=false + message="未领取" → 未领取,可引导领取

2. 领取代金券

调用 huaweicloud_voucher_claim(生产环境无需 domain_id)。

返回 { claimed, voucherId, amount, message }。

3. 结果解读(错误码 UX)

返回 message 关键特征 含义 对用户表述
领取成功 发券成功 告知券已到账
已领取过 / 已领取 实名维度已领取(同实名账号共享额度) 告知已领取过;若用户称本账号未领过,解释额度以实名认证为维度、券可能已发放至同实名下其他账号
code=HDKIT_VOUCHER_NOT_CONFIGURED(代金券服务配置缺失…) 服务端未配置有效期天数 告知代金券暂不可用,稍后再试
code=HDKIT_VOUCHER_EXPIRE_INVALID(代金券失效时间配置异常…) 失效时间配置非法 告知代金券暂不可用,稍后再试
本月代金券总额度已用完,所有账号均无法领取 全局额度用尽(HD.60630042) 告知下月再试
请先完成实名认证 账号未实名(HD.60630022) 引导去控制台实名认证
发券失败: <原文> 其他错误 原样转达,不展开
code=HDKIT_CRED_* / 含「未配置 / not configured / AK/SK 无效 / 限额」 凭证未配置、无效或达限额 引导用户检查并配置 AK/SK

Read the full file on GitHub · 98 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. 3d ago Changed · +5 lines 25f52216343a
  2. 7d ago Changed · +1 lines 2a2586c79220
  3. 13d ago Changed · +32 lines · +91 tokens per session c0086add8a37
  4. 1mo ago Changed · +2 lines a4a083454b23
  5. 1mo ago Changed 5d665d013388
  6. 1mo ago Changed · +5 lines · +35 tokens per session 90cc085c6e89
  7. 1mo ago First seen · 53 lines · 127 tokens per session scan A f803d673a74d

Subscribe to this mod's changes

huawei-voucher is a skill published in the GitHub repository huaweicloud/huaweicloud-devkit (69 stars, last pushed today), licensed Apache-2.0. It adds 253 tokens to every session and 2,262 once invoked, about $0.0010 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-09-04.

Related

Other skills, from other repositories

fastapi

Use when building, reviewing, testing, securing or shipping a FastAPI / async Python service — routers, Pydantic v2 schemas, dependency injection, async SQLAlchemy 2.0, OAuth2/JWT, ASGITransport tests, production wiring. NOT language-level Python or packaging (that is python), NOT engine-level SQL (that is…

ericrisco/rsc-harness · 94 tokens

pipefy-api-fallback

Use this skill when a toolkit operation fails AND the introspection skill could not resolve the problem. This is the last-resort fallback (Tier 3): call the Pipefy GraphQL API directly using curl or httpx, authenticating with the Service Account (OAuth2) or a Personal Access Token (PAT) available as env var. Follow…

pipefy/ai-toolkit · 86 tokens

auto-dev

Use when working with Auto.dev APIs, vehicle data, VIN decoding, car listings, vehicle photos, specs, recalls, payments, interest rates, taxes, OEM build data, plate-to-VIN, CLI commands, MCP tools, or SDK methods for any automotive data task.

drivly/auto-dev-skill · 57 tokens

06-reference

A reference guide for Dify's workflow language, APIs, software-development kits, and command-line commands. Dify is a platform for building applications from connected workflow steps.

SystemTce/dify-skills · 20 tokens

context7

Retrieves up-to-date documentation, API references, and code examples for any developer technology. Use this skill whenever the user asks about a specific library, framework, SDK, CLI tool, or cloud service -- even for well-known ones like React, Next.js, Prisma, Express, Tailwind, Django, or Spring Boot. Your…

FilippoDeSilva/skills · 171 tokens

repo-hygiene

Use when the scheduled repo-hygiene workflow runs from GitHub Actions (or an operator dry-run) to scan the repository for small, certain docs/test/code hygiene issues and fix them as one batched branch.

QwenLM/qwen-code · 48 tokens