external-cannbot-ops-lab-tilelang-skills-tilelang-api-best-practices

external-cannbot-ops-lab-tilelang-skills-tilelang-api-best-practices is a skill for Claude Code from ascend-ai-coding/awesome-ascend-skills. It costs 93 tokens per session (1,566 once invoked), scanned A, original, no licence file.

A usage guide for TileLang Ascend APIs, which are programming interfaces for writing computations that run on Ascend NPU hardware. It covers memory, data movement, matrix operations, reductions, element-wise work, synchronization, and scheduling.

In plain words
What is it for?
Use it while writing a TileLang Ascend kernel or when you need help with an API for memory allocation, data transfer, computation, reduction, synchronization, or scheduling.
Why use it?
It helps prevent incorrect API usage when writing an NPU kernel. It provides recommended ways to express common hardware operations.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the external-cannbot-tilelang-op-orchestrator-skills plugin — 5 skills shipped together

Good fit Use it while writing a TileLang Ascend kernel or when you need help with an API for memory allocation, data transfer, computation, reduction, synchronization, or scheduling.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ascend-ai-coding/awesome-ascend-skills/tilelang-api-best-practices
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-ai-coding/awesome-ascend-skills --skill tilelang-api-best-practices
Clone the repo
git clone --depth 1 https://github.com/ascend-ai-coding/awesome-ascend-skills

Made for: Claude Code.

Or install external-cannbot-tilelang-op-orchestrator-skills, the plugin that ships this one along with the rest of its 5 skills.

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 external-cannbot-ops-lab-tilelang-skills-tilelang-api-best-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/ascend-ai-coding/awesome-ascend-skills/tilelang-api-best-practices/github.svg)](https://agentmods.dev/skills/ascend-ai-coding/awesome-ascend-skills/tilelang-api-best-practices)
Your own site
<a href="https://agentmods.dev/skills/ascend-ai-coding/awesome-ascend-skills/tilelang-api-best-practices"><img src="https://agentmods.dev/badge/skills/ascend-ai-coding/awesome-ascend-skills/tilelang-api-best-practices/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 external-cannbot-ops-lab-tilelang-skills-tilelang-api-best-practices

Your own site · 80×15
<a href="https://agentmods.dev/skills/ascend-ai-coding/awesome-ascend-skills/tilelang-api-best-practices"><img src="https://agentmods.dev/badge/skills/ascend-ai-coding/awesome-ascend-skills/tilelang-api-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,566 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00093 $0.01566
Opus 5 $0.00046 $0.00783
Sonnet 5 $0.00019 $0.00313
Haiku 4.5 $0.00009 $0.00157

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

Security

Grade A, and why

external-cannbot-ops-lab-tilelang-skills-tilelang-api-best-practices scanned grade A with 0 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

external/cannbot/ops-lab/tilelang/skills/tilelang-api-best-practices/SKILL.md · 113 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 113 lines · 93 tokens per session scan A 5e77334ac2ce

Subscribe to this mod's changes

external-cannbot-ops-lab-tilelang-skills-tilelang-api-best-practices is a skill published in the GitHub repository ascend-ai-coding/awesome-ascend-skills (168 stars, last pushed yesterday), with no licence file. It adds 93 tokens to every session and 1,566 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. 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

cardputer-buddy

Iterate on the Cardputer-Adv MicroPython app bundle (Claude Buddy, Snake, Hello) after the device is already provisioned via m5-onboard. Use when the user wants to add a new app, push a single changed .py without re-flashing, watch device serial logs, or run a one-shot REPL command. Trigger on "add an app", "push to…

anthropics/claude-plugins-official · 109 tokens

doca-argp

Use this skill for hands-on DOCA Arg Parser CLI work on a shipped sample or new DOCA-using app — adding / removing / renaming flags; wiring docaargpinit → register params → docaargpstart → docaargpdestroy in order; picking a parameter type from the full public enum (DOCAARGPTYPESTRING, INT, BOOLEAN, DEVICE, DEVICEREP…

NVIDIA/skills · 267 tokens

holoscan-install-wheel

Install Holoscan SDK Python wheel via pip into a venv. Use for Python installs; not for native C++/apt or Conda installs.

NVIDIA/skills · 37 tokens

zener-language

Read or edit Zener HDL, package APIs, and tool-managed dependencies.

diodeinc/pcb · 19 tokens

embedded-stm32

Best practices for embedded C/C++ development on STM32 microcontrollers using the HAL, covering peripherals, DMA, interrupts, memory constraints, and hardware-focused testing. Use when writing STM32 HAL code, configuring peripherals generated by STM32CubeMX, working with interrupts or DMA, debugging with SWD/JTAG…

Mindrally/skills · 87 tokens

003-skills-inventory

Use when you need to generate a checklist document with Java system prompts from skills.xml, following the embedded section template and producing INVENTORY-SKILLS-JAVA.md. This should trigger for requests such as Create Java system prompts checklist; Generate INVENTORY-SKILLS-JAVA.md; Use @003-skills-inventory…

jabrena/plinth · 88 tokens