Logo: Huawei Cloud Account Onboarding

Huawei Cloud Account Onboarding

Organisatioun
huaweicloud
huawei-cloud-account-onboarding

Huawei Cloud real-name authentication guidance (BSS): query real-name auth status and get the face-recognition QR code URL via huaweicloudsdkbss. Read-only, no identity data collected, no auth performed on the user's behalf. Use when the user asks about 实名认证 / 认证状态 / 实名 / 账号认证 / 企业认证 / 个人认证 / real-name verification / 认证二维码 / 人脸认证 / 扫码认证 on Huawei Cloud (not AWS/Azure/alibaba/other clouds).

Iwwersiicht

Editeurhuaweicloud
Repositoryhuaweicloud-skills
Skill-Nummhuawei-cloud-account-onboarding
Stären
59
Forks
24
Matgeliwwert Dateien
11
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 11 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    huaweicloud huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Huawei Cloud Account Onboarding an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/huaweicloud/huaweicloud-skills/tree/master/skills/bss/billing/huawei-cloud-account-onboarding
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/huaweicloud/huaweicloud-skills.git /tmp/huaweicloud-skills
mkdir -p .claude/skills
cp -r /tmp/huaweicloud-skills/skills/bss/billing/huawei-cloud-account-onboarding .claude/skills/huawei-cloud-account-onboarding
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Huawei Cloud Account Onboarding an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Huawei Cloud Account Onboarding automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Huawei Cloud Account Onboarding net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Huawei Cloud Account Onboarding — Real-Name Authentication Guidance

Read-only conversational guidance for Huawei Cloud real-name authentication: query the current authentication status (verified_status / verified_type) and fetch the face-recognition QR code URL when the customer needs to complete or re-initiate authentication.

Execution mode: huaweicloudsdkbss (Python SDK). As of hcloud CLI 7.2.12, KooCLI reports Unsupported service: BSS, so this skill executes via the official huaweicloudsdkbss Python SDK against the BSS endpoint https://bss.myhuaweicloud.com (fixed region cn-north-1).

Overview

Huawei Cloud customers must complete real-name authentication before using most services. The status query and face-auth QR code are scattered across multiple console pages; this skill aggregates them into a conversational flow so an agent can help the customer in one conversation.

Feature scope

  1. Query real-name authentication status — verified_status: -1 not verified, 0 under review, 1 rejected, 2 verified; verified_type: 0 personal, 1 enterprise.
  2. Get the face real-name authentication QR code URL — single-use, auto-invalidated after 10 minutes, main account only (sub-account returns CBC.99007297).
  3. Confirm completion — after the customer finishes scanning on the phone, query the status again on explicit user confirmation (no automatic polling).

Authentication state flow

text
-1 (not verified) ──get QR + user scans──▶ 0 (reviewing) ──▶ 2 (verified)
        │                                          │
        └────────────◀── 1 (rejected) ◀────────────┘
                  (re-fetch QR only after asking the user)

Out of scope (red lines, non-negotiable)

  • Never collect real identity information (ID number, ID photos, AK/SK).
  • Never perform authentication on the user's behalf — QR scanning and face recognition must be done by the user on their own phone.
  • No automatic polling/waiting for verification; re-query only after user confirmation.
  • When the QR code expires, ask the user before re-fetching — never auto re-fetch.
  • Huawei Cloud scenarios only; other cloud providers' KYC flows are out of scope.

Prerequisites

  1. Python 3.8+ with the official SDK installed:

    bash
    pip install huaweicloudsdkbss
  2. Customer main-account AK/SK (non-partner account) available in environment variables. The SDK scripts read credentials automatically from HUAWEICLOUD_SDK_AK / HUAWEICLOUD_SDK_SK (fallback: HUAWEI_ACCESS_KEY / HUAWEI_SECRET_KEY). Never hardcode credentials.

  3. Network access to https://bss.myhuaweicloud.com. Corporate intranets may require:

    bash
    export HTTPS_PROXY=http://your-proxy:port
  4. Fixed region: BSS is a global service reached at cn-north-1 → bss.myhuaweicloud.com. Do not substitute other regions.

Workflow

text
Step 1  Confirm intent + Huawei Cloud scope (not other clouds)
Step 2  Check prerequisites (SDK installed, AK/SK env vars present)
Step 3  Query real-name auth status  ->  python3 scripts/show_real_name_auth_status.py
Step 4  Interpret verified_status and answer
         -1  -> offer to fetch QR code (ask user first)
          0  -> tell user review is in progress
          1  -> suggest re-initiation (ask user before fetching a new QR)
          2  -> confirm already verified, no need to repeat
Step 5  If QR needed: run scripts/show_real_name_auth_qr_code.py, show URL,
        warn: single-use + 10-minute expiry + main-account-only
Step 6  On user confirmation, re-query status to confirm completion (no auto-polling)

Core Commands

All commands are read-only (Show). Each script exits non-zero with a clear message on error.

Query real-name authentication status

bash
python3 scripts/show_real_name_auth_status.py

Example response:

json
{"verified_status": 2, "verified_type": 0}

verified_status semantics

valuemeaningagent action
-1not verifiedoffer QR code (ask user first)
0under reviewinform user to wait for review
1rejectedsuggest re-initiation (re-fetch QR only after asking)
2verifiedinform user; nothing to do

verified_type semantics

valuemeaning
0personal real-name auth (个人实名认证)
1enterprise real-name auth (企业实名认证)

Get face real-name authentication QR code

bash
python3 scripts/show_real_name_auth_qr_code.py

Example response:

json
{"qr_code_url": "https://auth.huaweicloud.com/authui/thirdLogin?idp=CHNIDP&service=https%3a%2f%2f..."}

Warnings to always pass to the user:

  • QR code is single-use — it becomes invalid once scanned.
  • It expires in 10 minutes if not scanned.
  • Only the main account can fetch it. If the calling credential is a sub-account, the API returns CBC.99007297; the script then reports a structured result and exits 0 (see below), and the agent should tell the user to use main-account AK/SK.

Missing credentials — graceful error

When no AK/SK is present in the environment, both scripts print a clear ERROR: AK/SK not found ... message to stderr and exit with code 2 (no traceback). To verify this behavior in an environment that already has credentials set, run the bundled self-test:

bash
python3 scripts/show_real_name_auth_status.py --missing-creds-check

It re-runs the script with every credential env var stripped, checks the graceful-error contract (exit 2, clear message, no traceback), and exits 0 with a JSON summary when the behavior matches.

Parameter Confirmation

ParameterRequiredDescriptionSource
HUAWEICLOUD_SDK_AK / HUAWEI_ACCESS_KEYYesCustomer main-account Access Keyenvironment
HUAWEICLOUD_SDK_SK / HUAWEI_SECRET_KEYYesCustomer main-account Secret Keyenvironment
HTTPS_PROXYNoCorporate proxy for intranet accessenvironment
regionFixedcn-north-1 → bss.myhuaweicloud.comhardcoded in scripts

The two APIs take no request parameters.

Error Handling

Error codeMeaningAgent action
CBC.0151Access deniedAsk user to check the AK/SK validity
CBC.99007297Sub-account has no permission for the QR APIScript exits 0 with structured JSON {"qr_code_url": null, "error_code": "CBC.99007297", ...}; tell the user to use the main-account AK/SK
CBC.0100Invalid parameterCheck the request parameters
CBC.0999OtherRecommend contacting Huawei Cloud support
missing AK/SKCredentials not setBoth scripts print ERROR: AK/SK not found ... to stderr and exit 2 (no traceback). Self-test: python3 scripts/show_real_name_auth_status.py --missing-creds-check
network errorConnection failedSuggest setting HTTPS_PROXY

Reference Documents

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Huawei Cloud Account Onboarding?

Huawei Cloud real-name authentication guidance (BSS): query real-name auth status and get the face-recognition QR code URL via huaweicloudsdkbss. Read-only, no identity data collected, no auth performed on the user's behalf. Use when the user asks about 实名认证 / 认证状态 / 实名 / 账号认证 / 企业认证 / 个人认证 / real-name verification / 认证二维码 / 人脸认证 / 扫码认证 on Huawei Cloud (not AWS/Azure/alibaba/other clouds).

Firwat Huawei Cloud Account Onboarding op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Huawei Cloud Account Onboarding besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Huawei Cloud Account Onboarding an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/huaweicloud/huaweicloud-skills/tree/master/skills/bss/billing/huawei-cloud-account-onboarding an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Huawei Cloud Account Onboarding benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Huawei Cloud Account Onboarding benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Huawei Cloud Account Onboarding domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Huawei Cloud Account Onboarding gratis?

Jo. huaweicloud huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇