Skip to main content
skill CX Codex

tilegym-cutile-python — Claude Code skill: cuTile GPU kernels

Turns the assistant into a cuTile specialist: writing, debugging and tuning GPU kernels in NVIDIA's Python DSL. Useful when porting tensor ops off PyTorch by hand.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add NVIDIA/skills --skill tilegym-cutile-python -a claude-code
Open on GitHub

What tilegym-cutile-python does

The skill gives the agent working knowledge of cuTile, a domain-specific language for parallel computing on NVIDIA hardware. It covers the execution and memory models, the available operations (load and store, reductions, scans, matmul, atomics, metaprogramming, autotuning), and the rules for emitting code the compiler accepts.

Reference notes ship inside the skill, along with a folder of worked examples. The recommended first move on any new task is a search for something close: TileGym is the main source, and the bundled examples/ cover ops it lacks, such as convolution, pooling, GEMV, 4D matmul and split-k GEMM. When the skill lives outside a TileGym checkout, the repo gets cloned to ~/.cache/tilegym/TileGym, and TILEGYM_SKILL_CACHE_DIR points it elsewhere.

A single kernel takes one pass: state the goal, generate, validate. Bigger jobs — say a transformer block with attention and a feed-forward layer — get split across an orchestrator, an analyzer, parallel kernel agents and a composer. Pass the tensor shapes and dtype when you invoke it. Skip that and the agent guesses, and a wrong shape wrecks the result.

What it helps with

  • write a cuTile GPU kernel from scratch
  • port a tensor operation off PyTorch to cuTile
  • fix a cuTile kernel that crashes
  • speed up an existing kernel without a full rewrite
  • split a multi-layer nn.Module into separate kernels

Example prompts for the agent

  • Write a cuTile kernel for softmax, tensor shape (1024, 1024), dtype float16
  • Port this operation to cuTile and verify the output
  • Break the forward pass of this nn.Module into cuTile kernels and wire them together

How to install tilegym-cutile-python

1Skills CLI (Vercel)

npx skills add NVIDIA/skills --skill tilegym-cutile-python -a claude-code

2Manually: put the files in place

~/.claude/skills/tilegym-cutile-python/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/tilegym-cutile-python/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about tilegym-cutile-python

How do I install tilegym-cutile-python in Claude Code?

Run npx skills add NVIDIA/skills --skill tilegym-cutile-python -a claude-code; the skill lands at ~/.claude/skills/tilegym-cutile-python/SKILL.md.

What does tilegym-cutile-python do?

It guides the assistant through writing and tuning cuTile kernels, and through adapting TileGym samples to new shapes.

Where do examples come from when the skill sits outside the TileGym repo?

TileGym is cloned into ~/.cache/tilegym/TileGym; set TILEGYM_SKILL_CACHE_DIR to change that location.

Similar skills

Everything for AI and ML →

From the same set194

tao-run-on-slurm Submit TAO jobs to a remote SLURM GPU cluster over SSH, with Pyxis/Enroot containers. Use it when training or inference needs cluster storage on Lustre. CX Codex +1 1,600installs tao-run-on-kubernetes Turns a TAO spec-bundle into a Kubernetes Job and submits it with plain kubectl. For training runs and inference on EKS, GKE, AKS or an on-prem GPU cluster. CX Codex +1 1,600installs tilegym-improve-cutile-kernel-perf Systematically profiles, tunes, and benchmarks cuTile GPU kernels in TileGym. Runs iterations on real hardware to lower latency while preserving accuracy. CX Codex +1 1,600installs tilegym-monkey-patch-kernels-to-transformers This skill wires TileGym kernels into Hugging Face Transformers models by swapping components before model creation. Use it to integrate existing kernels or build new cuTile ones. CX Codex +1 1,600installs tao-run-inference-service Deploys network-specific NVIDIA TAO inference microservices in containers and halts them. Use it to run checkpoints and query endpoints without cloud storage. CX Codex +1 1,600installs tao-validate-dataset-format This skill runs tao-daft validate on NVIDIA TAO DAFT data and helps interpret the results. Use it to check dataset structure, schemas, and cross-references. CX Codex +1 1,600installs tao-train-mask-auto-encoder A skill that runs Masked Auto-Encoder training in TAO: random patches get masked and rebuilt to learn visual representations. CX Codex +1 1,600installs tao-train-single-step Runs standard train, eval, and export workflows for NVIDIA TAO models without AutoML loops. Built for single-run fine-tuning on labeled datasets. CX Codex +1 1,600installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor