cuda

cuda is a skill for Claude Code from datathings/marketplace. It costs 45 tokens per session (1,373 once invoked), scanned A, original, Apache-2.0.

Guidance for CUDA, NVIDIA’s platform for running parallel calculations on graphics cards, using C, C++, or Fortran code. It covers CUDA kernels and NVIDIA computing libraries such as cuBLAS and cuDNN.

In plain words
What is it for?
Use it when writing .cu files, GPU kernels, or code with CUDA libraries, Thrust, or Cooperative Groups.
Why use it?
It helps when calculations need to run across many GPU processing units or when code must use NVIDIA’s established GPU libraries.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cuda plugin — 1 skill shipped together

Good fit Use it when writing .cu files, GPU kernels, or code with CUDA…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/datathings/marketplace/cuda
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 datathings/marketplace --skill cuda
Clone the repo
git clone --depth 1 https://github.com/datathings/marketplace

Made for: Claude Code.

Or install cuda, the plugin that ships this one along with the rest of its 1 skill.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/datathings/marketplace/cuda.svg)](https://agentmods.dev/skills/datathings/marketplace/cuda)
Your own site
<a href="https://agentmods.dev/skills/datathings/marketplace/cuda"><img src="https://agentmods.dev/badge/skills/datathings/marketplace/cuda.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,373 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original 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.00045 $0.01373
Opus 5 $0.00023 $0.00687
Sonnet 5 $0.00009 $0.00275
Haiku 4.5 $0.00005 $0.00137

Measured 6d ago against content hash 1de24bb6b413, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

cuda 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 6d 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.

plugins/cuda/skills/cuda/SKILL.md · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CUDA

Overview

CUDA is NVIDIA's parallel computing platform and programming model for GPU-accelerated applications. It provides direct access to the GPU's virtual instruction set and parallel compute elements for executing kernels in C, C++, and Fortran.

cuda-samples version: v13.3 (CUDA Toolkit 13.3) CUDALibrarySamples: main (July 2026) Language: C/C++ (.cu files) Licenses: BSD-3-Clause (cuda-samples), Apache-2.0 (CUDALibrarySamples)

v13.3 layout note: cuda-samples renamed its top-level Samples/ directory to cpp/ (Python samples now live under python/). C++ samples are grouped under cpp/0_Introduction, cpp/4_CUDA_Libraries, cpp/6_Performance, plus new cpp/9_CUDA_Tile (CUDA Tile C++) and CCCL 3.3 feature samples (cubDeviceFind, cubDeviceSegmentedScan, cubDeviceTransform, libcuxxRandom, libcuxxMdspan) under cpp/4_CUDA_Libraries/.

Quick Start

// Minimal kernel + launch
__global__ void addVectors(float *a, float *b, float *c, int n) {
    int i = blockIdx.x * blockDim.x + threadIdx.x;
    if (i < n) c[i] = a[i] + b[i];
}

int main() {
    int n = 1 << 20;
    float *d_a, *d_b, *d_c;
    cudaMalloc(&d_a, n * sizeof(float));
    cudaMalloc(&d_b, n * sizeof(float));
    cudaMalloc(&d_c, n * sizeof(float));

    int threads = 256;
    int blocks = (n + threads - 1) / threads;
    addVectors<<<blocks, threads>>>(d_a, d_b, d_c, n);
    cudaDeviceSynchronize();

    cudaFree(d_a); cudaFree(d_b); cudaFree(d_c);
    return 0;
}

Core Concepts

  • Kernel: __global__ function executed on GPU by many parallel threads
  • Grid/Block/Thread: Launch hierarchy — <<<gridDim, blockDim>>> configures parallelism
  • Device memory: Must be explicitly allocated with cudaMalloc and freed with cudaFree
  • Streams: Async execution queues; default stream is synchronous with host
  • Unified Memory (cudaMallocManaged): Automatically migrates data between CPU and GPU; check support with device_prop.managedMemory

Read the full file on GitHub · 92 lines

Files

What ships with it

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

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. 6d ago First seen · 92 lines · 45 tokens per session scan A 1de24bb6b413

Subscribe to this mod's changes

cuda is a skill published in the GitHub repository datathings/marketplace (11 stars, last pushed 9d ago), licensed Apache-2.0. It adds 45 tokens to every session and 1,373 once invoked, about $0.0002 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.

Related

Other skills, from other repositories