cann-nnal-installer

cann-nnal-installer is a skill for Claude Code from Ascend/agent-skills. It costs 80 tokens per session (3,157 once invoked), scanned B, original, MulanPSL-2.0.

An installation guide for Huawei Ascend CANN, a software toolkit for running applications on Ascend neural-processing hardware. It covers the CANN Toolkit, kernels, and NNAL components.

In plain words
What is it for?
It helps install a complete CANN setup or a chosen CANN version in a custom folder. It supports installing downloaded packages or extracting them from a Docker image, then checking that the setup works.
Why use it?
It removes the need to work out the installation sequence, required drivers, package sources, and environment settings yourself.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It helps install a complete CANN setup or a chosen CANN version in a custom folder. It supports installing downloaded packages or extracting them from a Docker image, then checking that the setup works.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ascend/agent-skills/cann-nnal-installer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Ascend/agent-skills --skill cann-nnal-installer
Clone the repo
git clone --depth 1 https://github.com/Ascend/agent-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cann-nnal-installer

README.md
[![agentmods](https://agentmods.dev/badge/skills/ascend/agent-skills/cann-nnal-installer/github.svg)](https://agentmods.dev/skills/ascend/agent-skills/cann-nnal-installer)
Your own site
<a href="https://agentmods.dev/skills/ascend/agent-skills/cann-nnal-installer"><img src="https://agentmods.dev/badge/skills/ascend/agent-skills/cann-nnal-installer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cann-nnal-installer

Your own site · 80×15
<a href="https://agentmods.dev/skills/ascend/agent-skills/cann-nnal-installer"><img src="https://agentmods.dev/badge/skills/ascend/agent-skills/cann-nnal-installer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,157 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00080 $0.03157
Opus 5 $0.00040 $0.01579
Sonnet 5 $0.00016 $0.00631
Haiku 4.5 $0.00008 $0.00316

Measured 12d ago against content hash 3e9a916905d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

cann-nnal-installer scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

chmod 755 <安装路径的父目录>

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

jtbd-3: 当用户因官网下载链接需要登录认证而无法直接wget获取CANN安装包时。
skills/cann-nnal-installer/SKILL.md · 336 lines

The source is not reproduced here

Licensed MulanPSL-2.0

The repository is licensed MulanPSL-2.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 336 lines · 80 tokens per session scan B 3e9a916905d1

Subscribe to this mod's changes

cann-nnal-installer is a skill published in the GitHub repository Ascend/agent-skills (40 stars, last pushed 4mo ago), licensed MulanPSL-2.0. It adds 80 tokens to every session and 3,157 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

external-gitcode-ascend-cann-nnal-installer

An installer for the full CANN software stack: Toolkit, Kernels, and NNAL for Ascend NPUs. It can install downloaded packages or extract them from a Docker image.

ascend-ai-coding/awesome-ascend-skills · 87 tokens

external-gitcode-ascend-atb-nnal-installer

An installer for NNAL, an ATB acceleration library used with Ascend NPUs. It relies on an existing CANN Toolkit and Kernels environment.

ascend-ai-coding/awesome-ascend-skills · 62 tokens

external-gitcode-ascend-ascend-transformer-boost

An index of skills for developing and deploying Huawei's Ascend Transformer Boost library, a set of tools for accelerating transformer-based AI models. It covers the main stages of working with Ascend NPUs and related operator libraries.

ascend-ai-coding/awesome-ascend-skills · 98 tokens

ai-for-science-ai4s-profiling

A performance-profiling guide for Huawei Ascend NPUs using `torchnpu.profiler`. Profiling records timing, call stacks, memory use, and other measurements so developers can see where training or inference spends time.

ascend-ai-coding/awesome-ascend-skills · 93 tokens

external-gitcode-ascend-atb-aclnn-operator-migration

A migration workflow for moving ATB operators to ACLNN, Ascend's operator library interface. It handles parameter mapping, runner implementation, device-based switching, and functional and performance checks.

ascend-ai-coding/awesome-ascend-skills · 71 tokens

ascend-avi-vnpu

A management workflow for Ascend virtualisation instances and virtual NPUs. A virtual NPU is a software-defined share or instance of an NPU that can be created, removed, inspected, or restored.

ascend-ai-coding/awesome-ascend-skills · 66 tokens