Triton GPU Kernel Optimization — Development skill for Claude Code
Write high-performance tiled Triton GPU kernels with autotune, grouped tile ordering, stride-based addressing, and proper benchmarking.
How to install Triton GPU Kernel Optimization
Installs to ~/.claude/skills/anthony-maio-triton-skills-triton-gpu-kernel-optimization/SKILL.md
mkdir -p ~/.claude/skills/anthony-maio-triton-skills-triton-gpu-kernel-optimization && curl -fsSL https://raw.githubusercontent.com/anthony-maio/triton-skills/HEAD/skills/triton-gpu-kernel-optimization.md -o ~/.claude/skills/anthony-maio-triton-skills-triton-gpu-kernel-optimization/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Triton GPU Kernel Optimization does
name: triton-gpu-kernel-optimization description: Write high-performance tiled Triton GPU kernels with autotune, grouped tile ordering, stride-based addressing, and proper benchmarking.
Tiled GEMM & General Kernel Optimization in Triton
**Targets:** Triton >= 2.1, SM70+/CDNA2+
Overview
High-performance Triton kernels follow a consistent structure: block-tiled work distribution, stride-based pointer arithmetic, FP32 accumulation, boundary masking, and autotune sweeps. This file
Alternatives in Development
- Om Dump — Freeform capture mode 4.6k ★
- Claudes C Compiler — Claude Opus 4.6 wrote a dependency-free C compiler in Rust, with backends targeting x86 (64- and 32-bit), ARM 2.6k ★
- /codex-exec - Execute Codex CLI Commands — Easy wrapper for running Codex CLI commands from Claude Code with proper syntax 618 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Kernel Ladder
Agent harness that writes and verifies GPU kernels. Claude proposes Triton kernels; a fixed verifier gates cor
Triton Dynamic Launcher Tiling
Build Triton kernel launchers that pick tile sizes, warps, and stages at runtime based on problem shape, dtype
Triton Flash Attention V2
Implement FlashAttention v2 kernels in Triton with online softmax, causal masking, GQA head routing, multi-str
Moe Swarm
Claude Code agents that optimize CUDA/Triton kernels. DeepSeek-V3 FP8 MoE: 3.17x faster than FlashInfer's CUTL
JiegeOSBench
Benchmarking a single‑prompt Rust OS kernel implementation, comparing Claude Code Fable, Opus, and Sonnet.
Metax Report Skill
Profile MetaX (沐曦) GPU kernels with mcTracer / mcProfiler on C550 and C500 — a Claude Code skill
Related Agents
Fk Kernel Engineer
Writes and integrates GPU kernels (Triton, TileLang, CuTe DSL, CUDA C++, CUDA graphs, torch.compile) under can
Metal Expert
Read-only Metal reviewer. Use when reviewing custom GPU rendering, MTKView, shaders, compute kernels, command