tilegym-adding-cutile-kernel — Claude Code skill: how to install
Guides AI coding agents through adding cuTile GPU kernel operators to TileGym. Useful when implementing custom kernels, tests, and benchmarks.
npx skills add NVIDIA/skills --skill tilegym-adding-cutile-kernel -a claude-codeWhat tilegym-adding-cutile-kernel does
This skill defines an ordered workflow for implementing cuTile backend operators. The agent first tracks the six-step checklist in TodoWrite before editing code. Work starts in src/tilegym/ops/ops.py, defining the @dispatch interface that throws NotImplementedError for unhandled backends.
Next, the kernel is written with cuda.tile and registered via @register_impl. Without explicit exports in src/tilegym/ops/cutile/__init__.py, the cuTile implementation fails to load at runtime. The workflow finishes with PyTorch reference tests and Triton-based performance benchmarks measuring TFLOPS or bandwidth.
What it helps with
- register dispatch interfaces in
ops.py - implement GPU kernels using
cuda.tile - export cuTile modules in
__init__.py - write correctness tests against PyTorch references
- build operator benchmarks using Triton testing tools
Example prompts for the agent
- Add a new cuTile kernel operator named my_op to TileGym
- Register a cuTile backend implementation and create benchmarks
- Set up tests and dispatch interface for a new cuTile op
How to install tilegym-adding-cutile-kernel
1Skills CLI (Vercel)
npx skills add NVIDIA/skills --skill tilegym-adding-cutile-kernel -a claude-code2Manually: put the files in place
~/.claude/skills/tilegym-adding-cutile-kernel/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/tilegym-adding-cutile-kernel/
1Skills CLI (Vercel)
npx skills add NVIDIA/skills --skill tilegym-adding-cutile-kernel -a codex2Manually: put the files in place
.agents/skills/tilegym-adding-cutile-kernel/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add NVIDIA/skills --skill tilegym-adding-cutile-kernel -a cursor2Manually: put the files in place
.cursor/skills/tilegym-adding-cutile-kernel/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install NVIDIA/skills tilegym-adding-cutile-kernel2Manually: put the files in place
.github/skills/tilegym-adding-cutile-kernel/SKILL.md1Skills CLI (Vercel)
npx skills add NVIDIA/skills --skill tilegym-adding-cutile-kernel -a gemini-cli2Platform CLI
gemini skills install https://github.com/NVIDIA/skills --path skills/tilegym-adding-cutile-kernelManually: put the files in place
.devin/skills/tilegym-adding-cutile-kernel/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add NVIDIA/skills --skill tilegym-adding-cutile-kernel -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about tilegym-adding-cutile-kernel
How to install tilegym-adding-cutile-kernel in Claude Code?
Run npx skills add NVIDIA/skills --skill tilegym-adding-cutile-kernel -a claude-code in your terminal.
What does tilegym-adding-cutile-kernel do?
It instructs coding agents on the exact sequence to register, implement, test, and benchmark cuTile kernels in TileGym.
Why is registration in __init__.py required?
The cuTile operator backend will never load unless it is explicitly imported and added to __all__ inside src/tilegym/ops/cutile/__init__.py.