Huawei Ascend NPU npu-smi command reference. An agent skill from ascend-ai-coding/awesome-ascend-skills.

No licenceAuto-check passed

Install Npu Smi

skills CLI
$ npx skills add ascend-ai-coding/awesome-ascend-skills --skill npu-smi -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ascend-ai-coding/awesome-ascend-skills npu-smi --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ascend-ai-coding/awesome-ascend-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/base/npu-smi .claude/skills/npu-smi && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
npu-smi
GitHub stars
174
Token cost
~2k tokens
SKILL.md length
358 words
Files
7 (incl. scripts, references)
Skills in repo
70
Repo updated
First seen
Licence
None found

At a glance

Huawei Ascend NPU npu-smi command reference. An agent skill from ascend-ai-coding/awesome-ascend-skills.

  • Device queries (health
  • SKILL.md covers Quick Start, Device Queries, Configuration and Firmware Management, plus 7 more sections
  • Runs Shell scripts from its folder
  • Configuration (thresholds

What it does

Npu Smi is an agent skill from ascend-ai-coding/awesome-ascend-skills. Huawei Ascend NPU npu-smi command reference. Use for device queries (health, temperature, power, memory, processes, ECC), configuration (thresholds, modes, fan), firmware upgrades (MCU, bootloader, VRD), virtualization (vNPU), and certificate management.

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts and reference files (for example `references/certificate-management.md`, `references/configuration.md` and `references/device-queries.md`).

The repository describes itself as: A comprehensive knowledge base for Huawei Ascend NPU development, structured as distributed Agent Skills. https://ascend-ai-coding.github.io/awesome-ascend-skills/.

When your agent uses it

  • Device queries (health
  • Configuration (thresholds
  • Firmware upgrades (MCU
  • Virtualization (vNPU)

Example prompts

  • “/npu-smi”

Requirements

  • A Bash shell

What it can do on your machine

Read from SKILL.md and the folder at commit 62a4ecb. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • hiascend.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Npu Smi loads about 2k tokens when it runs, and up to ~10k if it reads all its reference files. Until then it costs about 66 tokens; SKILL.md has 358 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~66
When it runs · the whole SKILL.md, loaded when a task matches
~2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~10k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 358 words (~2,040 tokens).

“Quick reference for Huawei Ascend NPU device management commands.”

— opening of SKILL.md by ascend-ai-coding
name
npu-smi
keywords
npu-smi, 设备管理, 温度, 功耗, 内存, 进程, ECC, 配置, 风扇, 固件升级, 虚拟化, 证书管理

Read the full SKILL.md on GitHub

Files

SKILL.md and 6 other files (scripts, references) in skills/base/npu-smi of ascend-ai-coding/awesome-ascend-skills.

  • SKILL.md
  • references/certificate-management.md
  • references/configuration.md
  • references/device-queries.md
  • references/firmware-upgrade.md
  • references/virtualization.md
  • scripts/npu-health-check.sh

Open the folder on GitHubat commit 62a4ecb

Compare with similar skills

Npu Smi next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Npu Smi compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Npu Smi this skillascend-ai-coding/awesome-ascend-skills174—~2kAutomated safety check: PassNone
ClickHouse Query Performance Validationcomet-ml/opik22k—~2.1kAutomated safety check: PassApache-2.0
Analyzing Experiment Query PerformancePostHog/posthog40k—~3.7kAutomated safety check: PassCustom licence
Frontend Query Mutationlangflow-ai/langflow156k—~979Automated safety check: PassMIT
Studio Queriessupabase/supabase111k—~1.3kAutomated safety check: PassApache-2.0
Agentdb Queryruvnet/ruflo74k—~947Automated safety check: NotesMIT

Similar skills

  • Measures what a ClickHouse query change actually costs, turning a suspicion that a query is slow into numbers a reviewer can act on before it merges.

    22k GitHub stars~2.1k tokensUpdated today
    DatabasesAuto-check passed
  • Pull and interpret production experiment query-performance data from the staff-only /api/debugchqueries endpoints backing the /experiments/staff scene: slowest experiment queries, precompute…

    40k GitHub stars~3.7k tokensUpdated today
    DatabasesAuto-check passed
  • Frontend Query Mutation

    langflow-ai/langflow

    Guide for implementing Langflow frontend query and mutation patterns with Axios and TanStack React Query v5.

    156k GitHub stars~979 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Studio Queries

    supabase/supabase

    Official

    React Query conventions for data fetching in Supabase Studio.

    111k GitHub stars~1.3k tokensUpdated today
    Backend & APIsAuto-check passed
  • Agentdb Query

    ruvnet/ruflo

    Query AgentDB through the controller bridge -- semantic routing, hierarchical recall, causal graphs, context synthesis, pattern store/search

    74k GitHub stars~947 tokensUpdated today
    Auto-check: notes
  • Container Queries

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing stylesheets, component styles, and responsive behavior related to Use container queries for component-level responsiveness.

    74k GitHub stars~526 tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed

More from ascend-ai-coding/awesome-ascend-skills

All 70 skills in this repo
  • Ascend Dmi

    ascend-ai-coding/awesome-ascend-skills

    当用户需要对华为昇腾 NPU 进行硬件层面的管理、测试或诊断时使用此 skill。典型场景: - 查看 NPU 卡的状态、温度、利用率 - 测试内存带宽(h2d/d2h/d2d/p2p) - 跑算力/功耗基准测试(TFLOPS、TOPS) - 诊断 NPU 硬件故障或做健康检查 - 对 NPU 卡做压力测试(aicore、内存) - 复位/恢复卡住或异常的 NPU 卡 典型用户问题(即使不提…

    174 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Ascendc

    ascend-ai-coding/awesome-ascend-skills

    End-to-end AscendC custom operator development for Ascend NPU in an ascend-kernel (csrc/ops + build.sh + torchnpu PyTorch custom op) project.

    174 GitHub stars~3.5k tokensUpdated today
    Auto-check passed
  • Atc Model Converter

    ascend-ai-coding/awesome-ascend-skills

    Complete toolkit for Huawei Ascend NPU model conversion and end-to-end inference adaptation.

    174 GitHub stars~4.6k tokensUpdated today
    Auto-check passed
  • External Cannbot Ops Pypto Op Develop

    ascend-ai-coding/awesome-ascend-skills

    当需要编写 PyPTO 算子实现时使用此 skill。基于需求规格、设计方案和参考实现,生成完整可运行的 PyPTO 算子实现与配套测试、文档。Triggers: 实现算子、写 kernel、编写实现、写 impl、算子编码、开始编码、code the op、写 test、生成测试、写实现代码、op develop、kernel 实现。

    174 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • External Gitcode Ascend Megatron Change Analyzer

    ascend-ai-coding/awesome-ascend-skills

    Analyze official Megatron-LM commits, PRs, and branch change sets to identify feature evolution, candidate breaking changes, and migration-relevant events.

    174 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • External Gitcode Ascend Megatron Commit Tracker

    ascend-ai-coding/awesome-ascend-skills

    Track and normalize change requests against the official Megatron-LM repository by branch, PR, commit, commit range, or time window.

    174 GitHub stars~1.1k tokensUpdated today
    Auto-check passed

Questions about Npu Smi

What does Npu Smi do?

Huawei Ascend NPU npu-smi command reference. An agent skill from ascend-ai-coding/awesome-ascend-skills. Npu Smi is an agent skill from ascend-ai-coding/awesome-ascend-skills. Huawei Ascend NPU npu-smi command reference.

When should I use Npu Smi?

Npu Smi fits situations like: device queries (health; configuration (thresholds; firmware upgrades (MCU; virtualization (vNPU).

How do I install Npu Smi in Claude Code?

Run `npx skills add ascend-ai-coding/awesome-ascend-skills --skill npu-smi -a claude-code`. Or copy the skill folder (skills/base/npu-smi in ascend-ai-coding/awesome-ascend-skills) into .claude/skills/npu-smi in your project. Claude Code loads it when a task matches its description.

How do I install Npu Smi in Codex?

Run `npx skills add ascend-ai-coding/awesome-ascend-skills --skill npu-smi -a codex`. Or copy the skill folder (skills/base/npu-smi in ascend-ai-coding/awesome-ascend-skills) into .agents/skills/npu-smi in your project. Codex loads it when a task matches its description.

Can I use Npu Smi in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ascend-ai-coding/awesome-ascend-skills --skill npu-smi -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/npu-smi, .gemini/skills/npu-smi, .github/skills/npu-smi and .opencode/skills/npu-smi in your project.

What does Npu Smi need to run?

Going by SKILL.md and its folder, Npu Smi needs a shell for the scripts in its folder. Our summary lists: A Bash shell.

Does Npu Smi access the network?

SKILL.md names 1 domain. As links in the text: hiascend.com. This is read from the text; nothing was executed.

Is Npu Smi safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Npu Smi use?

No licence was found for Npu Smi or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Npu Smi use?

About 2k tokens (SKILL.md is roughly 8.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 8.1k tokens, read only when the agent opens those files.

What are the alternatives to Npu Smi?

Skills that share tags, products or a category with Npu Smi: ClickHouse Query Performance Validation (comet-ml/opik, 22k stars), Analyzing Experiment Query Performance (PostHog/posthog, 40k stars), Frontend Query Mutation (langflow-ai/langflow, 156k stars) and Studio Queries (supabase/supabase, 111k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Npu Smi?

ascend-ai-coding (a GitHub organization) maintains it in ascend-ai-coding/awesome-ascend-skills, which has 174 GitHub stars. The repository holds 70 skills in this directory. The repository was last updated on October 8, 2026.

Source: ascend-ai-coding/awesome-ascend-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.