Best for
- write or modify a CuTe DSL GPU kernel in Python
- study CuTe DSL types, runtime helpers, architecture APIs, or pipeline abstractions
- port or rewrite an existing CUDA or C++ operator into CuTe DSL
vipshop/cache-dit/.copilot/skills/cute-dsl-kernel/SKILL.md
Use when writing, modifying, porting, or optimizing CuTe DSL GPU kernels in Python; reading CuTe DSL API reference material; integrating a CuTe DSL kernel into a project; or rewriting an existing CUDA or C++ operator into CuTe DSL while preserving correctness and performance expectations.
Decision brief
Use when writing, modifying, porting, or optimizing CuTe DSL GPU kernels in Python; reading CuTe DSL API reference material; integrating a CuTe DSL kernel into a project; or rewriting an existing CUDA or C++ operator into CuTe DSL while preserving correctness and performance expectations.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/vipshop/cache-dit --skill ".copilot/skills/cute-dsl-kernel"Inspect the Agent Skill "cute-dsl-kernel" from https://github.com/vipshop/cache-dit/blob/3f2ad6b6b255e7ba92568541d1fd5437fb76045e/.copilot/skills/cute-dsl-kernel/SKILL.md at commit 3f2ad6b6b255e7ba92568541d1fd5437fb76045e. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
Before writing code, answer these questions:
1. Use compile-time inspection for layouts, tiling, and static shapes. 2. Use runtime printing sparingly for GPU-side debugging. 3. Save PTX or IR when you need to inspect code generation. 4. Reduce the problem to the smallest shape that still reproduces the failure. 5. If the k…
Use the bundled CuTe DSL API snapshots in this skill and the workspace CUTLASS checkout to design, implement, debug, and integrate CuTe DSL GPU kernels in a way that is reusable across projects, including cache-dit.
Use this skill when you need to:
Read the relevant API reference files before writing kernel code.
Permission review
No configured static risk pattern was detected
This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.
Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 91/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 1,257 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Use the bundled CuTe DSL API snapshots in this skill and the workspace CUTLASS checkout to design, implement, debug, and integrate CuTe DSL GPU kernels in a way that is reusable across projects, including cache-dit.
Use this skill when you need to:
Do not use this skill for:
cutlass-cpp-kernelcuda-cpp-kerneloperator-migrationRead the relevant API reference files before writing kernel code.
Do not guess CuTe DSL APIs or architecture helpers from memory when the bundled docs or workspace CUTLASS examples can answer the question precisely.
Use Copilot-friendly sibling-file references for bundled docs in this skill, for example:
cute.mdcute_runtime.mdutils.mdcute_nvgpu_tcgen05.mdpipeline.mdUse workspace-relative paths for CUTLASS sources, for example:
vipshop/cutlass/python/CuTeDSL/vipshop/cutlass/examples/python/CuTeDSL/vipshop/cutlass/python/pycute/vipshop/cutlass/include/cute/vipshop/cutlass/media/docs/pythonDSL/Do not use agent-specific skill paths or placeholder-driven argument text in the final skill content.
Core API references:
cute.md — core CuTe DSL types and tensor or layout operationscute_runtime.md — runtime helpers and data interoputils.md — helper utilities and hardware infoArchitecture-specific references:
cute_nvgpu.md — architecture API indexcute_nvgpu_warp.md — warp-level APIs for SM80 to SM89cute_nvgpu_warpgroup.md — warpgroup APIs for SM90cute_nvgpu_tcgen05.md — tcgen05 and SM100+ APIscute_nvgpu_cpasync.md — async-copy APIscute_arch.md — low-level architecture primitivesutils_sm90.md and utils_sm100.md — architecture helpersPipeline and overview:
pipeline.mdintro.mdAdditional workflow and concept references from the workspace CUTLASS docs:
vipshop/cutlass/media/docs/pythonDSL/overview.rst — high-level positioning of CUTLASS DSLs and how CuTe DSL relates to CUTLASS C++vipshop/cutlass/media/docs/pythonDSL/quick_start.rst — environment, install, and setup assumptionsvipshop/cutlass/media/docs/pythonDSL/functionality.rst — supported dtypes, architectures, and current feature scopevipshop/cutlass/media/docs/pythonDSL/limitations.rst — current CuTe DSL limitations and unsupported casesvipshop/cutlass/media/docs/pythonDSL/faqs.rst — common issues and expected behaviorvipshop/cutlass/media/docs/pythonDSL/cute_dsl.rst — CuTe DSL workflow overviewvipshop/cutlass/media/docs/pythonDSL/cute_dsl_api.rst — API documentation entrypointvipshop/cutlass/media/docs/pythonDSL/cute_dsl_general/dsl_introduction.rst — DSL programming model and mental modelvipshop/cutlass/media/docs/pythonDSL/cute_dsl_general/dsl_control_flow.rst — control-flow semantics and restrictionsvipshop/cutlass/media/docs/pythonDSL/cute_dsl_general/dsl_dynamic_layout.rst — static vs dynamic layout handlingvipshop/cutlass/media/docs/pythonDSL/cute_dsl_general/dsl_jit_arg_generation.rst — JIT argument typing and signature generationvipshop/cutlass/media/docs/pythonDSL/cute_dsl_general/dsl_jit_caching.rst — JIT cache behaviorvipshop/cutlass/media/docs/pythonDSL/cute_dsl_general/dsl_jit_compilation_options.rst — compilation flags and debugging optionsvipshop/cutlass/media/docs/pythonDSL/cute_dsl_general/framework_integration.rst — framework interop patternsvipshop/cutlass/media/docs/pythonDSL/cute_dsl_general/dsl_ahead_of_time_compilation.rst — AOT compilation and export flowvipshop/cutlass/media/docs/pythonDSL/cute_dsl_general/debugging.rst — debugging workflow and generated-artifact inspectionvipshop/cutlass/media/docs/pythonDSL/cute_dsl_general/autotuning_gemm.rst — autotuning guidance for GEMM kernelsThese workspace docs are especially valuable when the bundled API snapshots are too terse for workflow, compilation, debugging, or integration questions.
CUDA architecture and profiling references bundled in this skill:
sm89-optimization-guide.mdsm90-optimization-guide.mdsm100-optimization-guide.mdsm103-optimization-guide.mdsm120-optimization-guide.mdtroubleshooting.mdUse these files when interpreting nsys and ncu results for generated CuTe DSL kernels on different GPU families.
Use the workspace CUTLASS checkout for source examples and implementation patterns.
Key locations:
vipshop/cutlass/python/CuTeDSL/ — CuTe DSL implementation sourcesvipshop/cutlass/examples/python/CuTeDSL/ — CuTe DSL examples by architecture and topicvipshop/cutlass/python/pycute/ — pycute helpers and layout utilitiesvipshop/cutlass/include/cute/ — CuTe C++ headers for semantic groundingUse the shell path /workspace/dev/vipshop/cutlass only when you need a literal command path.
CuTe DSL kernels often need architecture-aware profiling because the generated kernel structure can look similar while the best bottleneck diagnosis differs by GPU generation.
Use the bundled optimization guides as follows:
sm89 and sm120, prioritize memory throughput, L2 hit rate, occupancy, and fusion opportunity; these targets do not have TMA, TMEM, or cluster features.sm90, inspect whether TMA-style overlap, warpgroup execution, and shared-memory staging are actually visible in the timeline and counters.sm100 and sm103, inspect whether tcgen05 or WGMMA, TMEM, TMA v2, and cluster-capable execution are being used effectively.Recommended profiling order:
smXX-optimization-guide.md file.nsys to identify launch gaps, missing overlap, copy or compute imbalance, and end-to-end bottlenecks.ncu to inspect occupancy, memory throughput, L2 hit rate, register pressure, shared-memory pressure, tensor core utilization, and stall reasons.Before writing code, answer these questions:
Then work in this order:
vipshop/cutlass/media/docs/pythonDSL/ when the question is about control flow, JIT behavior, debugging, AOT, integration, or limitations.vipshop/cutlass/examples/python/CuTeDSL/.When tuning the generated kernel, treat the bundled smXX-optimization-guide.md files as first-line references for interpreting profiling output rather than relying only on generic CUDA advice.
Keep integration guidance generic unless the target repository requires a specific loader or manifest format.
For cache-dit or other repositories:
operator-migrationWhen rewriting an existing operator into CuTe DSL:
Use cutlass-cpp-kernel alongside this skill when you need C++ CUTLASS or CuTe source study to understand the original design.
cp.async, pipeline stages, or other asynchronous movement, treat synchronization as a primary suspect. When only specific shapes or pipeline configurations produce bad outputs, first inspect barrier placement, shared-stage reuse, and predicate coverage on partial-tile loads or stores.Every operator or kernel task completed under this skill must include validation.
Minimum requirements:
Additional requirement for rewrites or migrations:
When you finish a task using this skill, report:
Frequently asked questions
Use when writing, modifying, porting, or optimizing CuTe DSL GPU kernels in Python; reading CuTe DSL API reference material; integrating a CuTe DSL kernel into a project; or rewriting an existing CUDA or C++ operator into CuTe DSL while preserving correctness and performance expectations.
The source record exposes this install command: npx skills add https://github.com/vipshop/cache-dit --skill ".copilot/skills/cute-dsl-kernel". Inspect the command and pinned source before running it.
Alternatives
terrylica/cc-skills
Control Notion via Python SDK. TRIGGERS - Notion API, create page, query database, add blocks.
K-Dense-AI/scientific-agent-skills
Distributed computing for larger-than-RAM pandas/NumPy workflows. Use when you need to scale existing pandas/NumPy code beyond memory or across clusters. Best for parallel file processing, distributed ML, integration with existing pandas code. For out-of-core analytics on single machine use vaex; for in-memory speed use polars.
K-Dense-AI/scientific-agent-skills
Medicinal chemistry filters for compound triage. Apply drug-likeness rules (Lipinski, Veber, CNS), structural alert catalogs (PAINS, NIBR, ChEMBL), complexity metrics, and the medchem query language for library filtering.
K-Dense-AI/scientific-agent-skills
Use NeuroKit2 to build or audit reproducible research workflows for physiological time-series preprocessing, event/interval analysis, multimodal alignment, variability, and complexity. Trigger when code imports neurokit2 or needs its current APIs, schemas, and method-aware validation—not for diagnosis or device validation.