Agent skill

Kernel Verification

by ZJLi2013 in ZJLi2013/awesome-kernel-skills

5-stage kernel correctness verification protocol for Triton and CUDA kernels.

No licenceAuto-check passedAI & LLM Engineering

Install Kernel Verification

skills CLI
$ npx skills add ZJLi2013/awesome-kernel-skills --skill kernel-verification -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ZJLi2013/awesome-kernel-skills kernel-verification --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ZJLi2013/awesome-kernel-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/system/verification .claude/skills/kernel-verification && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
kernel-verification
GitHub stars
102
Token cost
~702 tokens
SKILL.md length
233 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
None found

At a glance

5-stage kernel correctness verification protocol for Triton and CUDA kernels.

  • Works in 5 steps: Basic Correctness → Dtype Sensitivity → Edge Cases → …
  • Verifying kernel correctness
  • SKILL.md covers Overview, Stage 1: Basic Correctness, Stage 2: Dtype Sensitivity and Stage 3: Edge Cases, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Kernel Verification is an agent skill from ZJLi2013/awesome-kernel-skills. 5-stage kernel correctness verification protocol for Triton and CUDA kernels. Covers numerical correctness, dtype sensitivity, edge cases, determinism, and stress testing. Use when verifying kernel correctness, running validation, or setting up test harnesses.

Its SKILL.md is about 700 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering Load testing and GPU and accelerator computing. It works with CUDA.

When your agent uses it

  • Verifying kernel correctness
  • Running validation
  • Setting up test harnesses

Example prompts

  • “/kernel-verification”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Basic Correctness
  2. Dtype Sensitivity
  3. Edge Cases
  4. Determinism
  5. Stress Test

What it can do on your machine

Read from SKILL.md and the folder at commit aba7662. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Kernel Verification loads about 702 tokens when it runs. Until then it costs about 70 tokens; SKILL.md has 233 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~70
When it runs · the whole SKILL.md, loaded when a task matches
~702

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 233 words (~702 tokens).

“Every kernel optimization must pass correctness verification before performance is measured. This skill defines a 5-stage protocol adapted from AutoKernel.”

— opening of SKILL.md by ZJLi2013
name
kernel-verification

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/system/verification of ZJLi2013/awesome-kernel-skills.

Open the folder on GitHubat commit aba7662

Compare with similar skills

Kernel Verification next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Kernel Verification compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Kernel Verification this skillZJLi2013/awesome-kernel-skills102—~702Automated safety check: PassNone
Debug Failing GPUfacebookexperimental/triton201—~709Automated safety check: PassMIT
Jetson Video SetupNVIDIA/skills3.5k1 repos~2.4kAutomated safety check: NotesApache-2.0
GPU OptimizerMathews-Tom/armory328—~3.5kAutomated safety check: NotesMIT
Paddle Design CompilerPaddlePaddle/Paddle24k—~3.6kAutomated safety check: PassApache-2.0
Cuda Index Widthpytorch/pytorch104k—~1.6kAutomated safety check: PassCustom licence

Similar skills

  • Debug Failing GPU

    facebookexperimental/triton

    Official

    Recover from GPU-busy / GPU-unavailable failures. An agent skill from facebookexperimental/triton.

    201 GitHub stars~709 tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Jetson Video Setup

    NVIDIA/skills

    Official

    A skill your agent uses when installing, repairing, reusing, inspecting, or verifying readiness of the native NVIDIA Video Codec SDK or PyNvVideoCodec on Jetson, including the one-frame…

    3.5k GitHub starsUsed in 1 repo~2.4k tokens
    AI & LLM EngineeringAuto-check: notes
  • GPU Optimizer

    Mathews-Tom/armory

    GPU optimization for consumer NVIDIA GPUs (8-24GB VRAM) covering mixed precision, gradient checkpointing, XGBoost GPU, CuPy/cuDF migration, and torch.compile.

    328 GitHub stars~3.5k tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check: notes
  • Paddle Design Compiler

    PaddlePaddle/Paddle

    A skill your agent uses when working with Paddle 3.0 compiler full pipeline: SOT (Symbolic Opcode Translator) for bytecode-level dy2st graph capture, PIR (Paddle IR) for SSA-based intermediate…

    24k GitHub stars~3.6k tokensUpdated 8 days ago
    AI & LLM EngineeringAuto-check passed
  • Cuda Index Width

    pytorch/pytorch

    Choose 32-bit vs 64-bit index math in PyTorch CUDA kernels. An agent skill from pytorch/pytorch.

    104k GitHub stars~1.6k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • MUSA GPU Training Optimizer

    open-infra-skills/infra-skills

    Profiles, benchmarks and tunes AI training workloads on Moore Threads MUSA GPUs with a measurement-first process that keeps model behavior unchanged.

    141 GitHub stars~1.7k tokensUpdated 3 mo ago
    AI & LLM EngineeringAuto-check passed

More from ZJLi2013/awesome-kernel-skills

All 12 skills in this repo
  • Cross Entropy Kernel

    ZJLi2013/awesome-kernel-skills

    Optimize fused cross-entropy loss kernels in Triton for NVIDIA and AMD GPUs.

    102 GitHub stars~461 tokensUpdated 6 mo ago
    Auto-check passed
  • Flash Attention Kernel

    ZJLi2013/awesome-kernel-skills

    Optimize FlashAttention-style fused attention kernels in Triton for NVIDIA and AMD GPUs.

    102 GitHub stars~697 tokensUpdated 6 mo ago
    Auto-check passed
  • Fused Moe Kernel

    ZJLi2013/awesome-kernel-skills

    Optimize Fused Mixture-of-Experts (MoE) kernels in Triton for NVIDIA and AMD GPUs.

    102 GitHub stars~699 tokensUpdated 6 mo ago
    Auto-check passed
  • Gemm Kernel Optimization

    ZJLi2013/awesome-kernel-skills

    Optimize dense matrix multiplication (GEMM) kernels in Triton for NVIDIA and AMD GPUs.

    102 GitHub stars~1.1k tokensUpdated 6 mo ago
    Auto-check passed
  • Iterative Kernel Optimization Loop

    ZJLi2013/awesome-kernel-skills

    Orchestrates continuous kernel optimization by chaining profiling, bottleneck diagnosis, tier-based optimization, verification, and benchmarking into an iterative loop.

    102 GitHub stars~2.5k tokensUpdated 6 mo ago
    Auto-check passed
  • Kernel Benchmark

    ZJLi2013/awesome-kernel-skills

    Unified kernel benchmarking protocol producing JSON results with latency, TFLOPS, GBps, and comparison against PyTorch baselines.

    102 GitHub stars~567 tokensUpdated 6 mo ago
    Auto-check passed

Works with

Questions about Kernel Verification

What does Kernel Verification do?

5-stage kernel correctness verification protocol for Triton and CUDA kernels. Kernel Verification is an agent skill from ZJLi2013/awesome-kernel-skills. 5-stage kernel correctness verification protocol for Triton and CUDA kernels.

When should I use Kernel Verification?

Kernel Verification fits situations like: verifying kernel correctness; running validation; setting up test harnesses.

How do I install Kernel Verification in Claude Code?

Run `npx skills add ZJLi2013/awesome-kernel-skills --skill kernel-verification -a claude-code`. Or copy the skill folder (skills/system/verification in ZJLi2013/awesome-kernel-skills) into .claude/skills/kernel-verification in your project. Claude Code loads it when a task matches its description.

How do I install Kernel Verification in Codex?

Run `npx skills add ZJLi2013/awesome-kernel-skills --skill kernel-verification -a codex`. Or copy the skill folder (skills/system/verification in ZJLi2013/awesome-kernel-skills) into .agents/skills/kernel-verification in your project. Codex loads it when a task matches its description.

Can I use Kernel Verification in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ZJLi2013/awesome-kernel-skills --skill kernel-verification -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/kernel-verification, .gemini/skills/kernel-verification, .github/skills/kernel-verification and .opencode/skills/kernel-verification in your project.

What does Kernel Verification need to run?

SKILL.md names no scripts, command-line tools or credentials: Kernel Verification is instructions for the agent only. Our summary lists: Python 3.

Does Kernel Verification access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Kernel Verification safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Kernel Verification use?

No licence was found for Kernel Verification or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Kernel Verification use?

About 702 tokens (SKILL.md is roughly 2.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Kernel Verification?

Skills that share tags, products or a category with Kernel Verification: Debug Failing GPU (facebookexperimental/triton, 201 stars), Jetson Video Setup (NVIDIA/skills, 3.5k stars), GPU Optimizer (Mathews-Tom/armory, 328 stars) and Paddle Design Compiler (PaddlePaddle/Paddle, 24k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Kernel Verification?

ZJLi2013 (a GitHub user) maintains it in ZJLi2013/awesome-kernel-skills, which has 102 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on March 31, 2026.

Source: ZJLi2013/awesome-kernel-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.