Borrowing it
Nothing to install: this file belongs to tile-ai/tilelang-ascend. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/tile-ai/tilelang-ascend/ascendc_pto/.agents/skills/tilelang-op-develop/SKILL.mdgit clone --depth 1 https://github.com/tile-ai/tilelang-ascendWrote 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.
[](https://agentmods.dev/skills/tile-ai/tilelang-ascend/tilelang-op-develop)<a href="https://agentmods.dev/skills/tile-ai/tilelang-ascend/tilelang-op-develop"><img src="https://agentmods.dev/badge/skills/tile-ai/tilelang-ascend/tilelang-op-develop/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.
<a href="https://agentmods.dev/skills/tile-ai/tilelang-ascend/tilelang-op-develop"><img src="https://agentmods.dev/badge/skills/tile-ai/tilelang-ascend/tilelang-op-develop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Agent Snooping · line 47 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
- medium Agent Snooping · line 48 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00070 | $0.04813 |
| Opus 5.5 | $0.00028 | $0.01925 |
| Sonnet 5.5 | $0.00014 | $0.00963 |
| Haiku 4.5 | $0.00007 | $0.00481 |
Grade A, and why
tilelang-op-develop 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 236 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TileLang-Ascend 算子代码生成
基于设计文档(design.md)和已有示例,生成可运行的算子实现与测试。
1. 从 design.md 中提取的信息(只取这些)
design.md 可能很长,只提取以下字段,忽略其余内容:
| 提取字段 | 所在章节 | 用途 |
|---|---|---|
| 数学公式 | §1 概述 | 理解计算逻辑 |
| 算法步骤分解 | §1 算法描述 | 确定计算顺序 |
| API 映射表 | §3 API 映射设计 | 核心:每步用哪个 TileLang API |
| 伪代码 | §3 计算伪代码 | 核心:代码骨架 |
| 输入输出 shape 和 dtype | §4 数据规格 | 函数签名和测试数据 |
| block 大小 | §5 Tiling 策略 | 分块参数 |
| pass_configs | §7 同步策略 | JIT 配置 |
| Golden 函数 | §9.1 Golden 函数 | 测试对比基准 |
| 测试用例表 | §9.2 L0 门槛测试计划 | 测试配置 |
| 精度标准 | §9.3 精度标准 | 混合容差:atol / rtol / max_abs_error_limit / required_matched_ratio(按 dtype) |
| 路径性能可行性表 | §5/§6 | GM pass、DMA transaction、GM 标量访问、地址计算和并行度 |
| 性能可行性哨兵 | §9 | 每条路径最坏 dtype/最大任务数 case 与单 case 超时预算 |
明确忽略的内容(这些容易误导):
- 模式选型的分析推理过程
- 内存预算的计算过程和多轮优化迭代
- 仅忽略没有量化证据的笼统风险;凡是包含具体 shape、dtype、超时、GM/DMA 成本或回退路径的风险必须提取并作为验收约束
- 交付清单(仅是文件列表)
- 任何标注为"待确认"的内容
2. 参考来源(优先级高于 design.md 伪代码)
当 design.md 伪代码与 examples/ 中同类实现有冲突时,以 examples/ 为准。
2.1 API 用法和模式选择
- API 用法:查阅 tilelang-api-best-practices SKILL.md 及其 references 目录
- 编程模式和 pass_configs:查阅 tilelang-programming-model-guide SKILL.md 及其 references 目录
2.2 同类算子示例
生成代码前,必须查阅 examples/ 中的同类算子:
| 算子类型 | 参考示例 |
|---|---|
| 逐元素运算(add/mul/sigmoid/relu) | examples/elementwise/、examples/activation/ |
| 归约运算(reduce_sum/max/min) | examples/reduce/ |
| 归一化(softmax/layernorm/rmsnorm) | examples/softmax/、examples/normalization/ |
| GEMM | examples/gemm/、examples/developer_mode/gemm_developer.py |
| 融合算子 | examples/flash_attention/、examples/pipeline/、examples/developer_mode/matmul_add_developer.py |
| Developer 模式 | examples/developer_mode/ |
| transpose / layout transform | examples/transpose/transpose.py(提取结构谓词、 |
| 连续 suffix-record 聚合搬运和通用 fallback;不得照抄具体 perm/shape 分支) |
查阅示例时关注:
- Kernel 结构:
T.Kernel参数、cid/vid用法 - Buffer 分配方式:shape 和 dtype
- pass_configs 配置:该类算子实际使用哪些开关
- 数据搬运:
T.copy的索引写法 - CV 交互(融合算子,按模式):Developer 默认
threads=2+ 片上直连(无 workspace_idx);Expert/混合或回退才看 workspace_idx、数量、shape
What ships with it
8 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.
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.
- 2mo ago First seen · 236 lines · 70 tokens per session scan A 9b9f4162ac85
tilelang-op-develop is a skill published in the GitHub repository tile-ai/tilelang-ascend (427 stars, last pushed yesterday), licensed MIT. It adds 70 tokens to every session and 4,813 once invoked, about $0.0003 per session on Opus 5.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.
tilelang-op-develop compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tilelang-op-developtile-ai/tilelang-ascend | Skill | 427 | yesterday | MIT | A | 70 | Claude Code, Codex |
| cardputer-buddyanthropics/claude-plugins-official | Skill | 46k | yesterday | Apache-2.0 | A | 109 | Claude Code |
| holoscan-install-wheelNVIDIA/skills | Skill | 3.9k | yesterday | Apache-2.0 | A | 34 | Claude Code, Codex |
| holoscan-module-lifecycleNVIDIA/skills | Skill | 3.9k | yesterday | Apache-2.0 | A | 47 | Claude Code, Codex |
| triton-ascendmindspore-ai/akg | Skill | 265 | 2d ago | Apache-2.0 | A | 28 | Claude Code, Codex |
| triton-ascend-case-index-putmindspore-ai/akg | Skill | 265 | 2d ago | Apache-2.0 | A | 73 | Claude Code, Codex |
| HA Integration Devtonylofgren/aurora-smart-home | Skill | 109 | yesterday | MIT | A | 55 | Claude Code |