Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/fmh66/kernel-opt-agent/kernel-kbsnpx skills add fmh66/kernel-opt-agent --skill kernel-kbsgit clone --depth 1 https://github.com/fmh66/kernel-opt-agentWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00109 | $0.01507 |
| Opus 5 | $0.00055 | $0.00754 |
| Sonnet 5 | $0.00022 | $0.00301 |
| Haiku 4.5 | $0.00011 | $0.00151 |
Grade A, and why
kernel-KBS scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
The source is not reproduced here
No licence file
A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/examples.md 7.9 KB
- references/primer.md 6.5 KB
- references/schema.md 6.8 KB
- requirements.txt 275 B
- scripts/_wiki_root.py 3.3 KB runs code
- scripts/collect_contest_code.py 21 KB runs code
- scripts/compute_core_prs.py 24 KB runs code
- scripts/extract_blog_code.py 23 KB runs code
- scripts/fetch_pr_diff.py 32 KB runs code
- scripts/kbs_checks.py 19 KB runs code
- scripts/kbs_db.py 68 KB runs code
- scripts/kbs.py 3.0 KB runs code
- scripts/refresh_candidate_ledger.py 10 KB runs code
- scripts/scripts.md 3.9 KB
- scripts/update_pr_corpus.py 23 KB runs code
- scripts/validate.py 58 KB runs code
- scripts/verify_core_prs.py 12 KB runs code
- scripts/verify_verbatim.py 13 KB runs code
- store/config/corpus.yaml 3.5 KB
- store/config/layout.yaml 2.0 KB
- store/config/pr-update.yaml 2.4 KB
- store/corpus/artifacts/blogs/amandeep-nvfp4-attempts/MANIFEST.yaml 161 B
- store/corpus/artifacts/blogs/blackwell-microbenchmarking/MANIFEST.yaml 142 B
- store/corpus/artifacts/blogs/colfax-cutlass-blackwell/code/01-tmem-allocation-tcgen05-mma-single-thread-launch.cu 947 B
- store/corpus/artifacts/blogs/colfax-cutlass-blackwell/code/02-tmem-load-into-registers-for-epilogue.cu 639 B
- store/corpus/artifacts/blogs/colfax-cutlass-blackwell/code/03-cutlass-mma-atom-wrapping.cpp 660 B
- store/corpus/artifacts/blogs/colfax-cutlass-blackwell/code/PROVENANCE.yaml 1.2 KB
- store/corpus/artifacts/blogs/colfax-cutlass-blackwell/MANIFEST.yaml 932 B
- store/corpus/artifacts/blogs/deepgemm/code/01-nc-128-cuda-core-promotion-hopper-sm90.cpp 1014 B
- store/corpus/artifacts/blogs/deepgemm/code/02-sm100-path-tcgen05-mma-with-ue8m0-block-scaling.cpp 746 B
- store/corpus/artifacts/blogs/deepgemm/code/03-moe-grouped-gemm-launch.cpp 977 B
- store/corpus/artifacts/blogs/deepgemm/code/PROVENANCE.yaml 1.1 KB
- store/corpus/artifacts/blogs/deepgemm/MANIFEST.yaml 855 B
- store/corpus/artifacts/blogs/flash-attention-4/code/01-software-exp-cody-waite-horner.cu 1.1 KB
- store/corpus/artifacts/blogs/flash-attention-4/code/02-2-cta-cooperative-backward.cu 576 B
- store/corpus/artifacts/blogs/flash-attention-4/code/PROVENANCE.yaml 793 B
- store/corpus/artifacts/blogs/flash-attention-4/MANIFEST.yaml 587 B
- store/corpus/artifacts/blogs/flashmla/code/01-mla-decode-inner-loop.cu 1.3 KB
- store/corpus/artifacts/blogs/flashmla/code/02-sparse-mla-kv-retrieval-kernel-v3-2.cu 1.1 KB
- store/corpus/artifacts/blogs/flashmla/code/PROVENANCE.yaml 795 B
- store/corpus/artifacts/blogs/flashmla/MANIFEST.yaml 580 B
- store/corpus/artifacts/blogs/gated-delta-net/code/01-chunk-parallel-prefill-reference-pytorch.py 1.3 KB runs code
- store/corpus/artifacts/blogs/gated-delta-net/code/02-triton-decode-step-kernel-streaming.py 1.4 KB runs code
- store/corpus/artifacts/blogs/gated-delta-net/code/PROVENANCE.yaml 835 B
- store/corpus/artifacts/blogs/gated-delta-net/MANIFEST.yaml 631 B
- store/corpus/artifacts/blogs/gpu-mode-reward-hack/MANIFEST.yaml 152 B
- store/corpus/artifacts/blogs/jax-pallas-blackwell-matmul/MANIFEST.yaml 173 B
- store/corpus/artifacts/blogs/k-search-kernel-generation/MANIFEST.yaml 141 B
- store/corpus/artifacts/blogs/modular-blackwell-matmul/MANIFEST.yaml 198 B
- store/corpus/artifacts/blogs/nsa/MANIFEST.yaml 118 B
- store/corpus/artifacts/blogs/nvfp4-format-details/MANIFEST.yaml 171 B
- store/corpus/artifacts/blogs/qwen3-next-architecture/MANIFEST.yaml 294 B
- store/corpus/artifacts/blogs/simon-nvfp4-gemv/code/01-reference-core-computation-part-1.cpp 800 B
- store/corpus/artifacts/blogs/simon-nvfp4-gemv/code/02-strategy-1-k-parallel-grid-with-atomic-accumulation.cpp 881 B
- store/corpus/artifacts/blogs/simon-nvfp4-gemv/code/03-strategy-3-atomic-free-shared-memory-reduction.cpp 871 B
- store/corpus/artifacts/blogs/simon-nvfp4-gemv/code/PROVENANCE.yaml 1.3 KB
- store/corpus/artifacts/blogs/simon-nvfp4-gemv/MANIFEST.yaml 1.1 KB
- store/corpus/artifacts/blogs/tcgen05-tutorial/code/01-basic-tcgen05-mma-kernel-17-of-peak.cu 955 B
- store/corpus/artifacts/blogs/tcgen05-tutorial/code/02-128b-swizzling-46-of-peak.cu 811 B
- store/corpus/artifacts/blogs/tcgen05-tutorial/code/03-pipelining-mbarrier-phases-62-of-peak.cu 1.3 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 142 lines · 109 tokens per session scan A acd4f1307541
kernel-KBS is a skill published in the GitHub repository fmh66/kernel-opt-agent (14 stars, last pushed 3mo ago), with no licence file. It adds 109 tokens to every session and 1,507 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
mlir-opt-skill
Use when optimizing MLIR GPU performance, compiling PyTorch or linalg/tensor MLIR to PTX, writing Transform dialect schedules, tuning auxiliary pass pipelines, benchmarking MLIR kernels against PyTorch, or diagnosing linalg/torch-mlir GPU codegen.
dingtalk_channel_connect
Use a headed browser to automatically complete DingTalk channel integration for QwenPaw. Applicable when the user mentions DingTalk, developer console, Client ID, Client Secret, bot, Stream mode, binding or configuring a channel. Supports pausing when a login page is detected and resuming after the user logs in.
当用户需要对PDF文件进行任何操作时,请使用此技能。包括从 PDF 中读取或提取文本/表格、合并多个 PDF、拆分 PDF、旋转页面、添加水印、创建新PDF、填写PDF表单、加密/解密 PDF、提取图片,以及对扫描版 PDF 进行 OCR 使其可搜索。如果用户提到 .pdf 文件或要求生成 PDF,请使用此技能。.
make_plan
For external plan request scenarios, guides the Agent to request a clear, actionable, step-by-step plan from a stronger Agent via listagents and chatwithagent, emphasizing that the plan is executed by the requester, not by the consulted Agent.
gpt-image-2
面向 GPT Image 2 的图像生成 / 编辑技能。可在 3 种环境下使用:(A) Garden 本地模式,通过 OpenAI 兼容接口直接出图并落盘;(B) Host-Native 模式,把本 Skill 当作提示词工程指引,把渲染好的 prompt 交给宿主 Agent 自带的图像工具出图;(C) Advisor 模式,宿主无任何图像工具时退化为高质量 prompt 顾问。涵盖 18 大类、80+ 个结构化模板,覆盖海报 / UI / 产品 / 信息图 / 学术图 / 技术架构图 / 漫画 / 头像 / 流程板 / 电影分镜 / IP 周边 / 编辑工作流等场景。.
new
Create a new project to start development quickly.