Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

huawei-cloud-devkit-webui-create

БесплатноЗапускает вложенные скриптыНе проверен

Install Kunpeng DevKit in WebUI mode on Huawei Cloud. Create a Kunpeng (aarch64) ECS via Python SDK with random password, encrypt password via Python KMS SDK…

huaweicloudskillот huaweicloudskill482 установки в других каталогах

Об этом скилле

Kunpeng DevKit WebUI Installation Skill

Overview

Create a Kunpeng (aarch64) ECS instance via Python SDK (ECS + KMS), use hcloud CLI for cloud operations (EIP, VPC), use Python paramiko SSH to connect and install Kunpeng DevKit in WebUI mode. Password never leaves Python process memory.

Tool separation principle:

  • Python SDK — ECS creation + KMS encrypt/decrypt/delete (password never leaves Python process memory, never appears in ps -ef)
  • hcloud CLI — All other cloud operations (EIP create/bind, VPC query, security group)
  • Python paramiko — SSH connection + DevKit installation (password from KMS decrypt, stays in Python memory only)

Security architecture:

  • ECS password is randomly generated by Python code (never typed by user, never passed via hcloud CLI, never exported to shell)
  • Password is encrypted and stored in Huawei Cloud KMS via Python SDK (never appears in ps -ef, env vars, or conversation)
  • Password is decrypted from KMS and passed to paramiko SSHClient.connect(password=...) (in Python process memory, not CLI args → no ps -ef leakage)
  • Only kms_key_id and kms_cipher_text_file are exported (password itself is never exported; cipher text is written to a local file, never passed via command line)
  • KMS key is scheduled for deletion after DevKit installation
  • No COC dependency, no UniAgent dependency, no third-party skill dependency

⛔ Prohibited Operations (Security Constraints)

This skill strictly forbids the following operations, regardless of user requests:

Prohibited Operation Reason
❌ Use --server.adminPass in hcloud ECS CreateServers Password appears in ps -ef output
❌ Use hcloud AOM BatchImportAgent --agent_import_param_list.1.password=... Password appears in ps -ef output
❌ Accept ECS password in chat conversation Password must never appear in conversation
❌ Use expect + $env(DEVKIT_ECS_PASSWORD) for SSH Environment variable can be read by other processes
❌ Use sshpass -p <password> for SSH Password appears in ps -ef output
❌ Use ssh -o PasswordAuthentication with password on CLI Password appears in ps -ef output
❌ Hardcode password in scripts or command-line arguments Password exposure risk
❌ Use question tool to ask user for password Password must never appear in conversation
❌ Print or log the ECS password in any output Password must only exist in Python process memory and KMS
❌ Export password to shell variables or stdout Password must stay in Python process; only KMS key_id and cipher_text_file path are exported
❌ Pass KMS cipher text via command line arguments Cipher text appears in ps -ef; must use --kms-cipher-text-file to read from local file
❌ Auto-select ECS flavor or image without user confirmation Must let user choose from available options
❌ Display aarch64 images other than CentOS 7.6 and Ubuntu 18.04 Only these two images are compatibility-verified
❌ Select x86 flavors (c6/c7 etc.) DevKit requires aarch64 (Kunpeng) architecture
❌ Skip security group port confirmation Ports 22 and 8086 must be opened before SSH
❌ Auto-modify security group rules without user consent Must ask user to choose manual or automatic mode
❌ Write new install/verify scripts instead of using existing ones Must use scripts in scripts/ directory
❌ Disable or delete KMS key when installation verification fails KMS key must be preserved for retry; only destroy after verified success (via Task 4 cleanup-kms)
❌ Run cleanup-kms before Task 3 verification passes KMS key must be preserved until agent confirms DevKit installation success
❌ Run expect script without verifying expect binary is installed Shebang #!/usr/bin/expect -f fails with misleading "No such file or directory" if expect is missing
❌ Uninstall DevKit This skill only supports installation; uninstallation is out of scope
❌ Upgrade DevKit This skill only supports installation; upgrade is out of scope

If a user requests a prohibited operation, you must refuse and explain the security constraint.

Architecture

Kunpeng DevKit WebUI Installation
├── Task 0: hcloud Setup          (Install KooCLI, configure AK/SK authentication)
├── Task 1: Prepare Target Machine (Create new Kunpeng ECS via Python SDK + hcloud CLI)
│   ├── 1a. hcloud VPC: create empty security group for DevKit
│   ├── 1b. Python SDK: create ECS with random adminPass + dedicated security group (password never in ps -ef)
│   ├── 1c. Python SDK: KMS create key, encrypt password
│   ├── 1d. hcloud EIP: create and bind EIP to ECS
│   └── 1e. hcloud VPC: configure security group rules (or user manual)
├── Task 2: Python SSH Install    (paramiko SSH, password from KMS decrypt)
│   ├── 2a. Python SDK: KMS decrypt password (in process memory)
│   ├── 2b. paramiko SSH: connect to ECS EIP with decrypted password
│
Полный SKILL.md на ClawHub

Установить huawei-cloud-devkit-webui-create в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл huawei-cloud-devkit-webui-create?

Install Kunpeng DevKit in WebUI mode on Huawei Cloud. Create a Kunpeng (aarch64) ECS via Python SDK with random password, encrypt password via Python KMS SDK, use hcloud CLI for EIP/VPC operations, use Python paramiko SSH (password in process memory only) to install DevKit-All-x.x.x-Linux-Kunpeng.tar.gz, including framework and all plugins (porting/affinity/devtools/debugger/sys_perf/java_perf/sys_diagnosis). Use this skill when the user wants to install DevKit on a new Kunpeng ECS. Trigger: user mentions "DevKit", "Kunpeng DevKit", "install DevKit", "DevKit WebUI", "Kunpeng DevKit", "DevKit-All", "鲲鹏DevKit", "安装DevKit", "鲲鹏开发套件"

Как установить скилл huawei-cloud-devkit-webui-create?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл huawei-cloud-devkit-webui-create запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить huawei-cloud-devkit-webui-create с