slowlyc/agent-gpu-skills/cutlass-skill
Claude Code and agent skill by slowlyc/agent-gpu-skills
- community
Checking that the SKILL.md file is still in the repository.
Write, debug, and optimize CUTLASS, CuTe, and CuTeDSL GPU kernels from local upstream source, examples, and headers. Use when the task explicitly involves CUTLASS/CuTe/CuTeDSL, cute::Layout, cute::Tensor, TiledMMA, TiledCopy, CollectiveBuilder, CollectiveMainloop, CollectiveEpilogue, GemmUniversal, KernelSchedule, EpilogueSchedule, CUTLASS pipelines, EVT, pycute, or CUTLASS template errors. Use cuda-skill for raw CUDA/PTX or NVIDIA architecture facts, and triton-skill for Triton or Gluon implem…
Install
npx vskill@latest install slowlyc/agent-gpu-skills/cutlass-skillSKILL.md
CUTLASS and CuTe development
Use the local CUTLASS checkout as the primary implementation reference. Prefer current source and examples over remembered APIs because CuTeDSL paths and interfaces change frequently.
Locate the checkout
Resolve the directory containing this SKILL.md, then use its repos/cutlass/ child. The installer links that path to agent-gpu-skills/third_party/cutlass/ or to the checkout supplied through CUTLASS_REPO.
In commands below, replace CUTLASS_REPO with the resolved absolute path:
If the checkout is missing, run this from the agent-gpu-skills repository and reinstall the Skill:
Choose the source surface
| Task | Start here | |
|---|---|---|
| CuTeDSL API and implementation | python/CuTeDSL/cutlass/ | |
| All CuTeDSL examples and tutorials | examples/python/CuTeDSL/ | |
| CUTLASS C++ examples | examples/ | |
| CUTLASS C++ kernels and builders | include/cutlass/ | |
| CuTe C++ layout, copy, and MMA | include/cute/ | |
| Python layout and swizzle utilities | python/pycute/ | |
| Python manifest and generator utilities | python/cutlass_library/ |
Read quick-reference.md when mapping an operation or architecture to a concrete file in the validated checkout.
Query workflow
- Identify the programming surface: CuTeDSL Python, CuTe C++, or CUTLASS C++.
- Find the closest example for the target architecture and operation.
- Trace the example into the implementation and headers it instantiates.
- Check dtype, layout, alignment, architecture target, schedule, and epilogue together.
- Build or run the smallest representative example before adapting it to the target repository.
Discover files before loading a large source file:
Search CuTeDSL definitions and usage together:
Trace CUTLASS C++ builders and kernels:
Trace CuTe layout and architecture primitives:
For a C++ example, inspect its CMakeLists.txt and build only the selected target. Replace the architecture and target below for the workload:
Before running a CuTeDSL example, inspect the current python/CuTeDSL/pyproject.toml and requirements files instead of assuming a compatible CUDA or Python version.
Implementation discipline
Keep three layers separate when diagnosing a CUTLASS kernel:
Do not infer the selected schedule from an example directory name. Follow the instantiated types and builder parameters. When an architecture or instruction detail determines correctness, add cuda-skill and verify it against the CUDA or PTX reference.
For correctness work:
- preserve the original problem shapes, strides, layouts, dtypes, scaling format, and epilogue;
- compare against an independent reference implementation;
- test boundary shapes and alignment cases before performance tuning;
- treat template compilation success as necessary but not sufficient.
For performance work:
- establish a stable baseline and measurement method;
- change one schedule, tile, stage count, or epilogue choice at a time;
- record compiler resource usage and the exact architecture target;
- profile only after confirming that the measured dispatch path uses the intended kernel.
Updating the source
From the agent-gpu-skills repository:
The checkout follows CUTLASS main, while third_party/UPSTREAMS.toml records the commit last accepted by this Skill. Review source-map drift before updating that record.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cutlass-skill/SKILL.md
Popularity
- Repository stars
- 46
- Repository forks
- 3
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/slowlyc/agent-gpu-skills/cutlass-skill)