
tensormux/kernel-skills
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
CUDA、Triton、および量子化されたワークロードを渡る高性能の計算カーネルを記述し、最適化し、そしてデバッグするAIのコーディングの代理店のためのオープンソースのスキル ライブラリ.
概要
コンピューティングカーネルで動作するAIコーディングエージェント用の高品質のスキルファイルのオープンソースライブラリ。 kernel-skills は、SKILL.md ファイルのキュレーションされたコレクションです。 各ファイルは、AI コーディングエージェントがコンパイル、最適化、デバッグ、またはコンピューティングカーネルを移植する際に従うことができる構造化されたエンジニアリングの Playbook です。 スキルは製品です。 リポジトリは、小さなCLIとTypeScript APIでバージョン管理されたレジストリでそれらをラップするnpmパッケージ(@krxgu/kernel-skills)も出荷します。 スキルの発見とバウンドリングをスクリプトしたい場合、npmパッケージを使用してください。 それ以外の場合は、Markdownを直接読みまたは貼り付けてください。 - — 決してnvcc、ptxas、またはhide-clangを呼び起こさない - カーネルを実行したり、パフォーマンスを測定したりしません - - - 漠然としたプロンプトを与えられたとき、AI コーディングエージェントは、非常に悪いカーネルコードを生成します。 制約集会をスキップし、誤ったタイル戦略を選択し、境界条件を無視し、サポートされていないパフォーマンスクレームを生成し、盗用に見えるコードを生成しますが、実際のハードウェアに失敗します.
概要(AI 翻訳)
コンピューティングカーネルで動作するAIコーディングエージェント用の高品質のスキルファイルのオープンソースライブラリ。
お問い合わせ
カーネルスキル
それは何ですか
kernel-skills は SKILL.md] ファイルのキュレーションされたコレクションです。 各ファイルは、AI コーディングエージェントがコンパイル、最適化、デバッグ、またはコンピューティングカーネルを移植する際に従うことができる構造化されたエンジニアリングの Playbook です。
スキルは製品です。 リポジトリは、小さなCLIとTypeScript APIでバージョン管理されたレジストリでそれらをラップするnpmパッケージ([@krxgu/kernel-skills)も出荷されます。 スキルの発見とバウンドリングをスクリプトしたい場合、npmパッケージを使用してください。 それ以外の場合は、Markdownを直接読みまたは貼り付けてください。
それはない
- カーネルコンパイラではない — nvcc、ptxas、またはhide-clangを呼び起こさない
- ベンチマークハーネスではありません — カーネルを実行したり、パフォーマンスを測定したりしません
- モデルサービングランタイムではない -自動コーディングエージェントではない
- 生成されたコードを実行しない
お問い合わせ
なぜ存在しているのか
漠然としたプロンプトを与えられたとき、AI コーディングエージェントは、非常に悪いカーネルコードを生成します.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
An open source library of high quality skill files for AI coding agents working on compute kernels.
kernel-skills
What it is
kernel-skills is a curated collection of SKILL.md files. Each file is a structured engineering playbook that an AI coding agent can follow when writing, optimizing, debugging, or porting compute kernels.
The skills are the product. The repository also ships an npm package (@krxgu/kernel-skills) that wraps them in a versioned registry with a small CLI and TypeScript API. Use the npm package if you want to script skill discovery and bundling; otherwise just read or paste the Markdown directly.
What it is not
- not a kernel compiler — it never invokes nvcc, ptxas, or hip-clang
- not a benchmark harness — it does not run kernels or measure performance
- not a model-serving runtime
- not an autonomous coding agent
- does not execute generated code
Why it exists
AI coding agents produce substantially worse kernel code when given vague prompts. They skip constraint gathering, choose incorrect tile strategies, ignore boundary conditions, make unsupported performance claims, and produce code that looks plausible but fails on real hardware.
Structured skill files change this. A well-authored skill forces the agent to:
- gather the right constraints before writing a single line of code
- choose the correct algorithm and memory strategy for the workload
- reason explicitly about correctness risks and edge cases
- avoid cargo-cult optimization and fake performance claims
- explain tradeoffs with technical precision
- know when a custom kernel is not the right answer
This repository exists to provide those skill files at expert quality, openly, for any agent and any workflow.
Measured impact
Same model. Same prompt. One difference: a kernel skill file. The naive softmax kernel fails on overflow and large shapes. The skill-guided version stays correct and bandwidth-competitive.
Correctness: pass / fail matrix
| Shape N | Naive · normal | Stable · normal | Naive · adversarial | Stable · adversarial |
|---|---|---|---|---|
| 64 | ✅ | ✅ | ❌ | ✅ |
| 128 | ✅ | ✅ | ❌ | ✅ |
| 256 | ✅ | ✅ | ❌ | ✅ |
| 257 | ❌ | ✅ | ❌ | ✅ |
| 512 | ❌ | ✅ | ❌ | ✅ |
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add tensormux/kernel-skills