Back to directory

kernel-skills

A library of structured skill files that teach an AI coding agent how to write, optimize, debug and port high-performance compute kernels in CUDA, Triton and quantized workloads, rather than guessing at a good approach.

kernel-skills

kernel-skills is a curated collection of skill files, each a structured engineering playbook an AI coding agent follows when writing, optimizing, debugging or porting a compute kernel. The project's premise is that, given only a vague prompt, an agent tends to skip gathering constraints, pick the wrong tiling strategy, ignore edge cases, and produce code that looks plausible but fails on real hardware; a well-authored skill instead forces it to gather constraints first, choose an appropriate algorithm and memory strategy, and reason explicitly about correctness.

The skills themselves are the product and can simply be read or pasted as markdown; a companion npm package wraps them in a versioned registry with a small command-line tool and a TypeScript API for scripted discovery. The project reports a measured example where a skill-guided softmax kernel stayed correct across shapes that made a naive version fail, including under adversarial inputs designed to overflow it.

It is explicitly not a kernel compiler, a benchmark harness, a model-serving runtime, or an autonomous agent itself; it never runs or measures the code it helps produce.

More in Agent skills

See all 581
  • Provenance gate

    github.com

    A deterministic authorization gateway that sits between an AI agent and its tools, tracing where each parameter of a side-effect call came from, and blocking the call or asking a human when the source does not check out.

  • A markdown framework of system rules that restates Isaac Asimov's Four Laws of Robotics as a set of prioritized loss calculations for large-language-model agents to follow, published as a discovery file for agents and crawlers to read.

  • Vitruvius

    github.com

    An engineering research agent that runs a discover, read, synthesize, verify and review loop over technical questions, reading sources directly rather than inferring from titles, and publishing its own scored verifier benchmark, weaknesses included.