kernel-skills
Expert playbooks for writing fast, correct GPU kernels
All Skills in This Repository (7)
Pure Emerald Level IndicatorsWrite a Numerically Stable Kernel
Identify and mitigate numerical instability in GPU compute kernels with dtype-annotated stabilizations.
Write CUDA Reduction Kernel
Design CUDA reduction kernels with warp and block reductions.
Write CUDA Softmax Kernel
Implement numerically stable CUDA softmax kernels with fp32 accumulation and masking.
Write CUDA GEMM Kernel
Design and implement a CUDA GEMM kernel with FP32 accumulation and tiling.
Write a Triton Softmax Kernel
Implement a numerically stable Triton softmax kernel with fp32 accumulation and multi-block online rescaling.
Write an INT8 Quantized Kernel
Design INT8 quantized GEMM kernels with dp4a and INT32 accumulation for NVIDIA GPUs.
Write a Backend-Agnostic Kernel Plan
Plan backend-agnostic compute kernels for NVIDIA, AMD, and CPU targets.
Frequently Asked Questions
FAQPage SchemaHow to install kernel-skills?โผ
Run `npx skills add KrxGu/kernel-skills --all -g -y` in your terminal to install all skills globally.
What does kernel-skills do?โผ
It gives your coding agent expert playbooks for writing CUDA, Triton, quantized, and LLM inference kernels. Each skill forces correct constraint gathering, numerical stability, and honest performance reasoning.
Does kernel-skills actually improve kernel code?โผ
Yes. The repo includes measured proofs: for example, the softmax skill fixed 16/16 failing shapes and the GEMM skill produced 7.7-8.6x speedups over naive agent output.
Which agents work with kernel-skills?โผ
The SKILL.md files work with Claude Code, ChatGPT, Cursor, Gemini CLI, Codex, and any tool that accepts Markdown skill files.
Do I need GPU expertise to use kernel-skills?โผ
No. You paste or reference a skill and the agent follows its step-by-step reasoning, though the content targets engineers working on GPU performance problems.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core