Huawei Voucher logo

Huawei Voucher

Organization
huaweicloud
huawei-voucher

查询和领取华为云激励代金券(一人一次);领取华为开发者大赛·小红书skill创新赛专属代金券(需已完成赛事报名)。激励代金券:当用户首次使用、开始会话、询问插件能力,或提到"领券/代金券/优惠券/激励金/领取/福利"等话题时,先调 voucher_status 查领取状态:未领取(claimed=false)则主动提示可领取一张代金券并询问是否领取;已领取(claimed=true)或状态不明确则静默不打扰。赛事代金券:仅在用户明确要求领取大赛代金券时调用 competition_voucher_claim,不要主动提示。Triggers: 首次使用, 会话开始, voucher, coupon, incentive, 领券, 代金券, 优惠券, 激励金, 领取, 福利, 华为开发者大赛, 小红书, skill创新赛, 赛事代金券, 大赛代金券, 比赛领券. NOT for: 账单/费用查询(用 huawei-billing)。

Overview

Publisherhuaweicloud
Repositoryhuaweicloud-devkit
Skill namehuawei-voucher
Stars
70
Forks
12
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by huaweicloud on GitHub. Read the source before you install it.

Installation

Install the Huawei Voucher AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/huaweicloud/huaweicloud-devkit/tree/main/plugins/huaweicloud-core/skills/huawei-voucher
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/huaweicloud/huaweicloud-devkit.git /tmp/huaweicloud-devkit
mkdir -p .claude/skills
cp -r /tmp/huaweicloud-devkit/plugins/huaweicloud-core/skills/huawei-voucher .claude/skills/huawei-voucher
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Huawei Voucher in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Huawei Voucher on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Huawei Voucher is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

华为云代金券

覆盖两类活动:激励代金券(通用,一人一次)与赛事代金券(华为开发者大赛·小红书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

赛事代金券(华为开发者大赛·小红书skill创新赛)

1. 适用场景与调用时机

用户参加华为开发者大赛·小红书skill创新赛,说出类似"帮我领取华为开发者大赛·小红书skill创新赛华为云代金券"、"领取小红书skill创新赛的券"时,调用 huaweicloud_competition_voucher_claim。

与激励代金券的关键区别:赛事代金券不做主动提示——不要在会话开始、能力导读等场景主动推荐;仅当用户明确提及该赛事并要求领取时才调用。

2. 调用

调用 huaweicloud_competition_voucher_claim(生产环境无需 domain_id,后端从 IAM 自动解析账号;测试环境需传 domain_id)。

后端自动完成:赛事报名校验 → 是否已领取校验 → 发券。

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

返回 message / code 特征含义对用户表述
领取成功发券成功告知券已到账(含 voucherId/金额)
code=HDKIT_NOT_SIGNED_UP(您尚未报名…)未报名该赛事告知需先完成赛事报名后再来领取
code=HDKIT_NOT_CODEARTS_OFFICEACE_USER(经系统校验您未开通华为云码道CodeArts/果办OfficeAce…)未开通码道/果办(开通任一即可)告知需先注册成为码道/果办新用户,转达注册链接(见后端文案)
已领取过 / 已领取实名维度已领取(同实名账号共享额度)告知已领取过;若用户称本账号未领过,解释额度以实名认证为维度、券可能已发放至同实名下其他账号
code=HDKIT_COMPETITION_NOT_FOUND(赛事不存在或已下线)赛事配置异常告知赛事暂不可用,稍后再试
code=HDKIT_COMPETITION_NOT_CONFIGURED(赛事代金券服务配置缺失…)服务端活动参数未配置告知赛事代金券暂未开放,稍后再试
code=HDKIT_VOUCHER_NOT_CONFIGURED(代金券服务配置缺失…)服务端未配置有效期天数告知代金券暂不可用,稍后再试
code=HDKIT_VOUCHER_EXPIRE_INVALID(代金券失效时间配置异常…)失效时间配置非法告知代金券暂不可用,稍后再试
本月代金券总额度已用完,所有账号均无法领取全局额度用尽(HD.60630042)告知下月再试
请先完成实名认证账号未实名(HD.60630022)引导去控制台实名认证
code=HDKIT_CRED_* / 含「未配置 / not configured / AK/SK 无效 / 限额」凭证未配置、无效或达限额引导用户检查并配置 AK/SK
其他(如 赛事报名查询失败、发券失败: <原文>)服务端错误原样转达,建议稍后重试

环境注意

  • 生产环境:voucher_status / voucher_claim / competition_voucher_claim 无需传 domain_id,后端从 IAM 自动解析账号。
  • 测试环境:需传 domain_id(华为云账号 ID);未传时返回 测试环境需提供 domain_id。

注意事项

  • 激励代金券:以实名认证信息为维度限领一次,同一实名认证下的账号共享额度(本账号未领过也可能因同实名下其他账号已领而返回"已领取过");重复调用返回已领取。
  • 赛事代金券与激励代金券是两个独立活动,领取互不影响;用户问普通代金券时不要调赛事工具,反之亦然。
  • 领取/报名结果以服务端返回为准,不要凭本地认知猜测。

Frequently asked questions

What does the Huawei Voucher AI skill do?

查询和领取华为云激励代金券(一人一次);领取华为开发者大赛·小红书skill创新赛专属代金券(需已完成赛事报名)。激励代金券:当用户首次使用、开始会话、询问插件能力,或提到"领券/代金券/优惠券/激励金/领取/福利"等话题时,先调 voucher_status 查领取状态:未领取(claimed=false)则主动提示可领取一张代金券并询问是否领取;已领取(claimed=true)或状态不明确则静默不打扰。赛事代金券:仅在用户明确要求领取大赛代金券时调用 competition_voucher_claim,不要主动提示。Triggers: 首次使用, 会话开始, voucher, coupon, incentive, 领券, 代金券, 优惠券, 激励金, 领取, 福利, 华为开发者大赛, 小红书, skill创新赛, 赛事代金券, 大赛代金券, 比赛领券. NOT for: 账单/费用查询(用 huawei-billing)。

Why use Huawei Voucher on TypingMind?

Because you install it once and use it with any model. Huawei Voucher is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Huawei Voucher in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/huaweicloud/huaweicloud-devkit/tree/main/plugins/huaweicloud-core/skills/huawei-voucher. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Huawei Voucher?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Huawei Voucher?

As many as you like. As long as a model supports skills, you can use Huawei Voucher with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Huawei Voucher AI skill free?

Yes. It is published on GitHub by huaweicloud under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇