<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/custom-kernels-for-all-from-codex-and-claude-78oornvdz" -->

---
title: Custom Kernels for All from Codex and Claude | daily.dev
description: HuggingFace built an agent skill that teaches AI coding agents (Claude, Codex) to write production-ready CUDA kernels with PyTorch bindings. The skill packages...
canonical: https://daily.dev/posts/custom-kernels-for-all-from-codex-and-claude-78oornvdz
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Custom Kernels for All from Codex and Claude | daily.dev
og:description: HuggingFace built an agent skill that teaches AI coding agents (Claude, Codex) to write production-ready CUDA kernels with PyTorch bindings. The skill packages...
og:url: https://daily.dev/posts/custom-kernels-for-all-from-codex-and-claude-78oornvdz
og:image: https://api.daily.dev/og/posts/78oOrNVDz.png
og:image:alt: Custom Kernels for All from Codex and Claude
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Custom Kernels for All from Codex and Claude

**[Hugging Face](https://daily.dev/sources/huggingface)** · 9 min read · 21 upvotes · 2 comments

## Summary

HuggingFace built an agent skill that teaches AI coding agents (Claude, Codex) to write production-ready CUDA kernels with PyTorch bindings. The skill packages domain expertise about GPU architectures, memory patterns, and library integration into ~550 tokens of structured guidance. Testing on LTX-Video (diffusers) and Qwen3-8B (transformers) showed the agent-generated RMSNorm kernels achieved 1.88-1.94x speedup over PyTorch baselines, with 6% end-to-end improvement in video generation. The skill integrates with HuggingFace's Kernel Hub for distribution, enabling developers to generate, benchmark, and publish optimized kernels without deep CUDA expertise.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://huggingface.co/blog/custom-cuda-kernels-agent-skills>

## Community discussion

Top comments from developers on daily.dev.

**@nubprogrammer** · 1 upvotes

> W hugginface once again

**@byteoutlaw** · 1 upvotes

> Huggingface.
>
> ![GIF](https://media.tenor.com/OR1w0C7IbgEAAAAC/the-goat.gif)

---

Tags: [#ai-agents](https://daily.dev/tags/ai-agents), [#cuda](https://daily.dev/tags/cuda), [#huggingface](https://daily.dev/tags/huggingface), [#performance](https://daily.dev/tags/performance), [#pytorch](https://daily.dev/tags/pytorch)

[View this post on daily.dev](https://daily.dev/posts/custom-kernels-for-all-from-codex-and-claude-78oornvdz)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Custom Kernels for All from Codex and Claude","url":"https://daily.dev/posts/custom-kernels-for-all-from-codex-and-claude-78oornvdz","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/custom-kernels-for-all-from-codex-and-claude-78oornvdz"},"datePublished":"2026-02-13T13:32:51.911Z","dateModified":"2026-03-15T04:06:36.637Z","description":"HuggingFace built an agent skill that teaches AI coding agents (Claude, Codex) to write production-ready CUDA kernels with PyTorch bindings. The skill packages...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/71f0dc562b60160930f6770e9332f4d1?_a=AQAEunF","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/71f0dc562b60160930f6770e9332f4d1?_a=AQAEunF","isAccessibleForFree":true,"articleSection":"Hugging Face","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hugging Face","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/f1f55c67d81a4330acf5b90b26b0c8e1","url":"https://daily.dev/sources/huggingface"},"commentCount":2,"discussionUrl":"https://daily.dev/posts/custom-kernels-for-all-from-codex-and-claude-78oornvdz","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":21},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":2}],"keywords":"ai-agents,cuda,huggingface,performance,pytorch","timeRequired":"PT9M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hugging Face","item":"https://daily.dev/sources/huggingface"},{"@type":"ListItem","position":3,"name":"Custom Kernels for All from Codex and Claude"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/custom-kernels-for-all-from-codex-and-claude-78oornvdz","comment":[{"@type":"Comment","text":"W hugginface once again","datePublished":"2026-02-23T10:55:27.656Z","url":"https://daily.dev/posts/78oOrNVDz#c-R4v3tXPeS","author":{"@type":"Person","name":"Atharv","url":"https://daily.dev/nubprogrammer","image":"https://media.daily.dev/image/upload/s--iKAhtmCU--/f_auto/v1760698008/avatars/avatar_EP7yoOu1w1OjIXSXdNYQq?_a=BAMAK+ZW0"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"Huggingface.","datePublished":"2026-02-14T09:14:33.789Z","url":"https://daily.dev/posts/78oOrNVDz#c-7q8vo0XoL","author":{"@type":"Person","name":"Jacob B. Bonde","url":"https://daily.dev/byteoutlaw","image":"https://media.daily.dev/image/upload/s--veTChHK7--/f_auto/v1733220070/avatars/avatar_5cQvIZKr5tDFDotVDjulg"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}}]}
```

