昇腾 NPU 单算子性能基准测试 Skill;当前版本只做现有环境检查、CANN 版本识别、用户确认后执行 benchmark,不负责修复或安装环境。

No licenceAuto-check passedDevOps & Cloud

Install Npu Op Benchmark

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

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

GitHub CLI
$ gh skill install ascend-ai-coding/awesome-ascend-skills npu-op-benchmark --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/ops/npu-op-benchmark .claude/skills/npu-op-benchmark && 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-op-benchmark
GitHub stars
174
Token cost
~617 tokens
SKILL.md length
149 words
Files
11 (incl. scripts, references, assets)
Skills in repo
70
Repo updated
First seen
Licence
None found

At a glance

昇腾 NPU 单算子性能基准测试 Skill;当前版本只做现有环境检查、CANN 版本识别、用户确认后执行 benchmark,不负责修复或安装环境。

  • Works in 12 steps: 首次向使用者收集信息时,用自然语言说明需要这些内容,不要直接丢固定模板。推荐表述为… → 如果使用者没有提供服务器 IP、账号、密码,直接中断,不猜测环境。 → CANN 检查优先使用使用者提供的 CANN 目录;未提供或填写 无 时,再按… → …
  • DevOps & Cloud work in your project
  • SKILL.md covers 执行策略, 返回结果 and 入口
  • Runs Python and Shell scripts from its folder; calls conda and docker

What it does

Npu Op Benchmark is an agent skill from ascend-ai-coding/awesome-ascend-skills. 昇腾 NPU 单算子性能基准测试 Skill;当前版本只做现有环境检查、CANN 版本识别、用户确认后执行 benchmark,不负责修复或安装环境。

Its SKILL.md is about 620 tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including scripts, reference files and assets (for example `assets/config_template.yaml`, `references/cann.md` and `references/conda.md`).

It sits in DevOps & Cloud. It works with Docker. 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

  • DevOps & Cloud work in your project

Example prompts

  • “/npu-op-benchmark”

Requirements

  • Python 3
  • A Bash shell
  • Docker

Workflow steps

12 steps, taken from the first numbered list in SKILL.md.

  1. 首次向使用者收集信息时,用自然语言说明需要这些内容,不要直接丢固定模板。推荐表述为:我需要服务器信息(IP、账号、密码);版本要求(CANN 和 torch,没有可以不用写);测试环境(conda 环境名、docker 容器名、CANN 目录,没有可以不写);以及 demo…
  2. 如果使用者没有提供服务器 IP、账号、密码,直接中断,不猜测环境。
  3. CANN 检查优先使用使用者提供的 CANN 目录;未提供或填写 无 时,再按 cann 检索常见路径并判断当前版本布局
  4. 如果使用者填写了 conda 环境名,优先按 conda 走 conda 方案。
  5. 如果使用者填写了 docker 容器名,优先按 docker 检查该容器。
  6. 如果 conda 环境名 和 docker 容器名 都是 无,则先查 conda 候选环境;用户不接受 conda 时再查容器候选环境。
  7. 无论 conda 还是容器,都必须先把环境名、torch/torch_npu 版本、CANN 版本返回给使用者确认,再执行 benchmark。
  8. demo 方案 只接受两种值:我生成 或 我提供。如果使用者选择 我提供,优先使用使用者提供的 demo 或算子补充信息。
  9. 当前仓库里的 assets/config_template.yaml、scripts/bench_repeat_interleave.py 和 scripts/bench_op.py 中 repeat_interleave 相关内容只是示例,不代表这个 Skill 只支持测试…
  10. 如果使用者未提供额外用例,agent 可以根据目标算子的性能测试原则自行设计 demo;设计完成后先返回给使用者。
  11. 真正执行 benchmark 时,优先复用目标环境原本已有的 torch 和 torch_npu,不要重复安装。
  12. 如果当前环境缺少目标 CANN、torch_npu 不可用、或算子执行报环境错误,立即停止,不修环境;直接要求使用者提供新的可用环境。

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 4 files in scripts/ (Python and Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • conda
    • docker

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

  • Network

    No URLs in SKILL.md. Its commands use docker, which can reach the network depending on how they are called.

    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 Op Benchmark loads about 617 tokens when it runs, and up to ~2.3k if it reads all its reference files. Until then it costs about 23 tokens; SKILL.md has 149 words of instructions outside code blocks.

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

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 149 words (~617 tokens).

name
npu-op-benchmark
keywords
Ascend, NPU, torch_npu, CANN, benchmark, operator, repeat_interleave, transpose, docker, ssh

Read the full SKILL.md on GitHub

Files

SKILL.md and 10 other files (scripts, references, assets) in skills/ops/npu-op-benchmark of ascend-ai-coding/awesome-ascend-skills.

  • SKILL.md
  • assets/config_template.yaml
  • references/cann.md
  • references/conda.md
  • references/docker.md
  • references/troubleshooting.md
  • references/usage.md
  • scripts/bench_op.py
  • scripts/bench_repeat_interleave.py
  • scripts/cann_detect.sh
  • scripts/find_docker_cann.sh

Open the folder on GitHubat commit 62a4ecb

Compare with similar skills

Npu Op Benchmark 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 Op Benchmark compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Npu Op Benchmark this skillascend-ai-coding/awesome-ascend-skills174—~617Automated safety check: PassNone
Iron Proxy Gateway for NanoClawnanocoai/nanoclaw31k—~4.6kAutomated safety check: NotesMIT
GreptimeDB Dev Docker ImageGreptimeTeam/greptimedb6.7k—~4kAutomated safety check: NotesApache-2.0
Senior DevOps Toolkitmaslennikov-ig/claude-code-orchestrator-kit2606 repos~1.1kAutomated safety check: NotesCustom licence
LangBot Deployment Guidelangbot-app/LangBot18k—~1.2kAutomated safety check: NotesApache-2.0
Build Openshell Mxc WindowsNVIDIA/OpenShell15k—~4.9kAutomated safety check: PassApache-2.0

Similar skills

  • Installs or refreshes Iron Proxy and its Iron Control web console for NanoClaw, with a local Docker setup, database, credentials and a human approval bridge.

    31k GitHub stars~4.6k tokensUpdated 2 days ago
    DevOps & CloudAuto-check: notes
  • GreptimeDB Dev Docker Image

    GreptimeTeam/greptimedb

    Packages a locally built GreptimeDB debug binary into a development-only Docker image for local-cluster testing, with an optional push to a dev registry.

    6.7k GitHub stars~4k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Senior DevOps Toolkit

    maslennikov-ig/claude-code-orchestrator-kit

    Comprehensive DevOps skill for CI/CD, infrastructure automation, containerization, and cloud platforms (AWS, GCP, Azure). Includes pipeline setup…

    260 GitHub starsUsed in 6 repos~1.1k tokens
    DevOps & CloudAuto-check: notes
  • LangBot Deployment Guide

    langbot-app/LangBot

    Deploys and configures a LangBot instance with Docker Compose or Kubernetes, covering config.yaml, the Box sandbox runtime, the plugin runtime and the global API key.

    18k GitHub stars~1.2k tokensUpdated yesterday
    DevOps & CloudAuto-check: notes
  • Official

    Maintain and validate OpenShell's build-only Windows MSVC lane for x64 and ARM64.

    15k GitHub stars~4.9k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Container Dev

    yansongda/pay

    A skill your agent uses when local PHP environment is unavailable.

    5.4k GitHub stars~968 tokensUpdated 10 days ago
    DevOps & CloudAuto-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

Works with

Categories

Questions about Npu Op Benchmark

What does Npu Op Benchmark do?

昇腾 NPU 单算子性能基准测试 Skill;当前版本只做现有环境检查、CANN 版本识别、用户确认后执行 benchmark,不负责修复或安装环境。. Npu Op Benchmark is an agent skill from ascend-ai-coding/awesome-ascend-skills.

When should I use Npu Op Benchmark?

Npu Op Benchmark fits situations like: devOps & Cloud work in your project.

How do I install Npu Op Benchmark in Claude Code?

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

How do I install Npu Op Benchmark in Codex?

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

Can I use Npu Op Benchmark 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-op-benchmark -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-op-benchmark, .gemini/skills/npu-op-benchmark, .github/skills/npu-op-benchmark and .opencode/skills/npu-op-benchmark in your project.

What does Npu Op Benchmark need to run?

Going by SKILL.md and its folder, Npu Op Benchmark needs Python and a shell for the scripts in its folder and the command-line tools its instructions call (conda and docker). Our summary lists: Python 3; A Bash shell; Docker.

Does Npu Op Benchmark access the network?

SKILL.md contains no URLs. Its commands use docker, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Npu Op Benchmark 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 Op Benchmark use?

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

How many tokens does Npu Op Benchmark use?

About 617 tokens (SKILL.md is roughly 2.5k 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 1.6k tokens, read only when the agent opens those files.

What are the alternatives to Npu Op Benchmark?

Skills that share tags, products or a category with Npu Op Benchmark: Iron Proxy Gateway for NanoClaw (nanocoai/nanoclaw, 31k stars), GreptimeDB Dev Docker Image (GreptimeTeam/greptimedb, 6.7k stars), Senior DevOps Toolkit (maslennikov-ig/claude-code-orchestrator-kit, 260 stars) and LangBot Deployment Guide (langbot-app/LangBot, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Npu Op Benchmark?

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.