Logo van Huawei Cloud Account Onboarding

Huawei Cloud Account Onboarding

Organisatie
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).

Overzicht

Uitgeverhuaweicloud
Repositoryhuaweicloud-skills
Skillnaamhuawei-cloud-account-onboarding
Sterren
59
Forks
24
Meegeleverde bestanden
11
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 11

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door huaweicloud op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Huawei Cloud Account Onboarding in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/huaweicloud/huaweicloud-skills/tree/master/skills/bss/billing/huawei-cloud-account-onboarding
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die 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 na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Huawei Cloud Account Onboarding in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Huawei Cloud Account Onboarding automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Huawei Cloud Account Onboarding niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-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).

Waarom Huawei Cloud Account Onboarding gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Huawei Cloud Account Onboarding bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Huawei Cloud Account Onboarding in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/huaweicloud/huaweicloud-skills/tree/master/skills/bss/billing/huawei-cloud-account-onboarding. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Huawei Cloud Account Onboarding gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Huawei Cloud Account Onboarding gebruiken?

Zoveel als je wilt. Je kunt Huawei Cloud Account Onboarding gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Huawei Cloud Account Onboarding gratis?

Ja. Deze skill is door huaweicloud op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇