kernel-KBS

Retrieve evidence-backed GPU kernel documentation from a SQLite corpus.

14|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/fmh66/kernel-opt-agent --skill kernel-kbs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kernel-KBS
Source: https://github.com/fmh66/kernel-opt-agent/tree/main/skills/kernel-KBS
Command: npx skills add https://github.com/fmh66/kernel-opt-agent --skill kernel-kbs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sqlite3 (stdlib), PyYAML, and includes scripts (resource) and references (resource) components.

What problem does it solve?

kernel-KBS eliminates slow, unfocused searching when you need evidence-backed GPU kernel implementation patterns across CUDA, Triton, CuTe, CUTLASS, and Blackwell/Hopper research. It helps you find merged-PR provenance, curated synthesis pages, and performance-related notes without mixing in environment checks, correctness testing, or profiling/benchmarking workflows.

Core Features & Use Cases

  • Evidence-backed retrieval: Query a SQLite-centered corpus to surface canonical pages with provenance links to sources and artifacts.
  • Hardware/technique/scenario filtering: Narrow results by architecture, language, repo, tags, symptoms, confidence, and whether code is available.
  • Evidence-first answering: Fetch selected documents (optionally following sources and including code) and cite stable ids and canonical paths instead of guessing.

Quick Start

Ask kernel-KBS to find evidence for your topic by querying the SQLite corpus for the most relevant pages, e.g. "Retrieve the top 10 evidence-backed pages for nvfp4 GEMV on sm100 and include the sources and any code."

Frequently Asked Questions about kernel-KBS

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find evidence-backed GPU kernel implementation patterns for CUDA and Triton?

You can retrieve canonical documents with provenance links by querying a SQLite-centered GPU kernel knowledge base. It surfaces source artifacts and curated synthesis pages for CUDA, Triton, CuTe, and CUTLASS without mixing in environment checks or profiling workflows.

How do I search for CUDA kernel optimization techniques by architecture and symptoms?

You can filter GPU kernel knowledge by architecture, language, repo, tags, symptoms, and confidence levels. This targets specific hardware-feature or technique-based implementation searches across CUDA, Triton, CuTe, and CUTLASS research documents.

Does this GPU kernel knowledge base include code assets and merged-PR provenance?

Yes, the knowledge base includes code assets and merged-PR provenance. You can optionally fetch documents following sources and including code, citing stable IDs and canonical paths for evidence-backed GPU kernel retrieval.

Can I use this knowledge base for Nsight Compute profiling and benchmarking?

No, this tool explicitly excludes Nsight Compute profiling, benchmarking, correctness checks, and optimization bookkeeping. It enforces read-only safe retrieval of GPU kernel knowledge to focus solely on evidence-backed implementation pattern searches.

What is the best way to retrieve nvfp4 GEMV implementation evidence on sm100?

Query the SQLite-centered corpus to retrieve top evidence-backed pages filtered by architecture like sm100. Fetch selected documents to include sources and code assets, retrieving canonical pages with provenance for your specific hardware research questions.