triton-skill

Write, debug, and optimize GPU kernels using Triton and Gluon DSLs.

154|18|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/slowlyC/agent-gpu-skills --skill triton-skill-slowlyc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: triton-skill
Source: https://github.com/slowlyC/agent-gpu-skills/tree/main/triton_skill
Command: npx skills add https://github.com/slowlyC/agent-gpu-skills --skill triton-skill-slowlyc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the steep learning curve and manual effort of developing, debugging, and optimizing high-performance GPU kernels using Triton and Gluon, which require deep expertise in GPU architecture, compiler internals, and architecture-specific optimization patterns for modern NVIDIA GPUs.

Core Features & Use Cases

  • Comprehensive Reference Library: Includes local Triton/Gluon source code, step-by-step tutorials (from basic syntax to advanced features like TMA, WGMMA, and tcgen05), and production-grade kernel implementations for common workloads like matmul, attention, and quantized operations.
  • End-to-End Development Support: Assists with writing new kernels, debugging correctness issues, profiling performance with roofline analysis, and converting existing CUDA kernels to Triton.
  • Real-World Use Case: A developer building a high-throughput LLM serving system can use this Skill to implement a fused, persistent attention kernel optimized for Blackwell GPUs using tensor descriptors and cluster launch control.

Quick Start

Use the triton-skill to implement a FP8 persistent matmul kernel for Blackwell GPUs that uses TMA async copies and warp specialization to maximize memory bandwidth.

Frequently Asked Questions about triton-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write high-performance GPU kernels for LLM inference using Triton?

To write high-performance GPU kernels for LLM inference using Triton, leverage the Python DSL to implement fused operations like attention and matmul, applying tensor core and TMA operations to maximize memory bandwidth.

How do I optimize CUDA kernels for Hopper and Blackwell GPU architectures?

Optimize CUDA kernels for Hopper and Blackwell GPUs by converting them to Triton, applying architecture-specific patterns like WGMMA, tcgen05, persistent execution, and cluster launch control for maximum performance.

What is the best way to debug and profile Triton GPU kernel performance?

The best way to debug and profile Triton GPU kernel performance is by performing roofline performance analysis to identify memory bandwidth bottlenecks and optimize tensor core utilization for high-performance computing workloads.

Can I use Gluon to implement FP8 persistent matmul kernels with TMA async copies?

Yes, you can use Gluon and Triton to implement FP8 persistent matmul kernels with TMA async copies and warp specialization, specifically optimizing for Blackwell GPUs to maximize memory bandwidth in high-throughput serving systems.

Do I need deep GPU compiler knowledge to use Triton for kernel optimization?

No, you do not need deep GPU compiler knowledge to use Triton for kernel optimization, as the Skill provides a comprehensive reference library with tutorials, source code, and production-grade implementations covering basic syntax to advanced features.

Why does my custom GPU kernel underperform during machine learning accelerator development?

Your custom GPU kernel may underperform during machine learning accelerator development if it lacks kernel fusion, persistent execution patterns, or proper tensor core and TMA operations, which are required to achieve peak hardware utilization.