·add-sgl-kernel
</>

add-sgl-kernel

Step-by-step tutorial for adding a heavyweight AOT CUDA/C++ kernel to sgl-kernel (including tests & benchmarks)

16Installs·1Trend·@sgl-project

Installation

$npx skills add https://github.com/sgl-project/sglang --skill add-sgl-kernel

How to Install add-sgl-kernel

Quickly install add-sgl-kernel AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/sgl-project/sglang --skill add-sgl-kernel
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: sgl-project/sglang.

SKILL.md

View raw

Tutorial: Adding a New Kernel to sgl-kernel (AOT / Heavyweight)

This tutorial walks through adding a simple element-wise scale operation as an AOT kernel. We'll implement scale(x, factor) = x factor to demonstrate the complete workflow.

Add a new operation that scales each element of a tensor by a scalar factor:

Step-by-step tutorial for adding a heavyweight AOT CUDA/C++ kernel to sgl-kernel (including tests & benchmarks) Source: sgl-project/sglang.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/sgl-project/sglang --skill add-sgl-kernel
Category
</>Dev Tools
Verified
First Seen
2026-03-09
Updated
2026-03-10

Browse more skills from sgl-project/sglang

Quick answers

What is add-sgl-kernel?

Step-by-step tutorial for adding a heavyweight AOT CUDA/C++ kernel to sgl-kernel (including tests & benchmarks) Source: sgl-project/sglang.

How do I install add-sgl-kernel?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/sgl-project/sglang --skill add-sgl-kernel Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/sgl-project/sglang

Details

Category
</>Dev Tools
Source
skills.sh
First Seen
2026-03-09

Related Skills

None