cuda-agent

cuda-agent is a skill for Claude Code, Codex from wenyi-li/awesome-agent-kernel-skills. It costs 0 tokens per session (3,224 once invoked), scanned B, original, no licence file.

A coding skill for speeding up PyTorch models by writing CUDA C++ extensions. PyTorch is a framework for building and running machine-learning models, and CUDA lets code run on NVIDIA graphics cards.

In plain words
What is it for?
Use it to optimize PyTorch model code, create CUDA extensions, and compare their performance with torch.compile.
Why use it?
It helps when a PyTorch model is too slow and needs a custom GPU implementation compared with a torch.compile baseline.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to optimize PyTorch model code, create CUDA extensions, and compare their performance with torch.compile.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wenyi-li/awesome-agent-kernel-skills/cuda-agent
Install

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.

Any agent
npx skills add wenyi-li/awesome-agent-kernel-skills --skill cuda-agent
Clone the repo
git clone --depth 1 https://github.com/wenyi-li/awesome-agent-kernel-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cuda-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/wenyi-li/awesome-agent-kernel-skills/cuda-agent/github.svg)](https://agentmods.dev/skills/wenyi-li/awesome-agent-kernel-skills/cuda-agent)
Your own site
<a href="https://agentmods.dev/skills/wenyi-li/awesome-agent-kernel-skills/cuda-agent"><img src="https://agentmods.dev/badge/skills/wenyi-li/awesome-agent-kernel-skills/cuda-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cuda-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/wenyi-li/awesome-agent-kernel-skills/cuda-agent"><img src="https://agentmods.dev/badge/skills/wenyi-li/awesome-agent-kernel-skills/cuda-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,224 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What 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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.03224
Opus 5 $0.00000 $0.01612
Sonnet 5 $0.00000 $0.00645
Haiku 4.5 $0.00000 $0.00322

Measured 10d ago against content hash 3161860fb45d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade B, and why

cuda-agent scanned grade B with 1 finding 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 10d ago.

The scan reads SKILL.md. This mod also ships 7 executable files (model_new.py, model.py, utils/__init__.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo python3 -m utils.verification
cuda-agent/SKILL.md · 376 lines

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.

Read it on GitHub

Changes

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.

  1. 10d ago First seen · 376 lines · 0 tokens per session scan B 3161860fb45d

Subscribe to this mod's changes

cuda-agent is a skill published in the GitHub repository wenyi-li/awesome-agent-kernel-skills (9 stars, last pushed 3mo ago), with no licence file. It costs nothing until one of its globs matches a file; then it loads 3,224 tokens. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

doca-argp

Use this skill for hands-on DOCA Arg Parser CLI work on a shipped sample or new DOCA-using app — adding / removing / renaming flags; wiring docaargpinit → register params → docaargpstart → docaargpdestroy in order; picking a parameter type from the full public enum (DOCAARGPTYPESTRING, INT, BOOLEAN, DEVICE, DEVICEREP…

NVIDIA/skills · 267 tokens

embedded-stm32

Best practices for embedded C/C++ development on STM32 microcontrollers using the HAL, covering peripherals, DMA, interrupts, memory constraints, and hardware-focused testing. Use when writing STM32 HAL code, configuring peripherals generated by STM32CubeMX, working with interrupts or DMA, debugging with SWD/JTAG…

Mindrally/skills · 87 tokens

hip-kernel-optimization

This skill should be used when writing or tuning HIP kernels on AMD/NVIDIA GPUs, covering memory coalescing, shared-memory tiling, bank conflict avoidance, warp primitives, occupancy, vectorization, async ops, loop unrolling, and profiling.

AMD-AGI/Apex · 56 tokens

cuda

Use when writing CUDA kernels, managing the thread, block, and grid hierarchy, tiling shared memory, using streams, setting nvcc flags, or using Thrust. Not for kernel debugging: use cuda-debugging.

OutlineDriven/outline-driven-development · 46 tokens

acad-arx-wizard

Agentic ObjectARX project scaffolding for AutoCAD 2027 / Visual Studio 2026. Replaces the broken .vsz VsWizardEngine wizard with a PowerShell script that generates identical C++ project files. Works for new ARX/DBX/CRX projects and add-on class wizards (Jig, Reactors, Custom Object, MFC, .NET Wrapper, COM Wrapper…

autodesk-platform-services/skills · 92 tokens

hls-c2rtl

Translate C / C++ / SystemC algorithmic descriptions into synthesizable RTL via High-Level Synthesis. Use when the user says "HLS", "C to RTL", "C++ to Verilog", "Vitis HLS", "Catapult", "XLS", "algorithmic design", or provides a reference implementation in software and asks for hardware.

vibeic/vibe-ic · 79 tokens