huawei-cloud-ascend-command
Natural language command translation and execution for Huawei Ascend NPU devices: device queries, configuration management, firmware upgrade, vNPU virtualization, certificate management, and compute power testing.
Overview
Translates natural language requests into npu-smi / ascend-dmi commands on Huawei Ascend NPU devices, over either a local direct connection or an SSH remote session. This is a stateless, operational skill: it stores no credentials, device state or conversation history between invocations.
Capabilities: device queries (health, temperature, power, HBM, ECC, topology) · configuration (ECC, fan mode/speed) · firmware version / upgrade / activate / rollback · vNPU virtualization · TLS certificate management · FLOPS testing.
Orchestration: the Agent invokes this skill alongside others when a task needs them — for example a general-purpose SSH remote-operations skill (disk, Docker, logs, processes) or a model-deployment skill whose NPU state is monitored after deploy. Skills never call each other directly; the Agent selects and chains them from user intent. See references/architecture.md.
Prerequisites
| Requirement | Detail |
|---|---|
| Python | 3.8+ (python3 --version) |
| Local mode | npu-smi (CANN) on the local machine; ascend-dmi additionally for FLOPS tests |
| SSH remote mode | paramiko — install with pip install -r requirements.txt (paramiko>=2.11,<4) |
| Target host | Reachable network, running sshd, password authentication enabled |