cuda

cuda is a skill for Codex from OutlineDriven/outline-driven-development. It costs 46 tokens per session (1,810 once invoked), scanned A, original, Apache-2.0.

Guidance for writing programs that run on NVIDIA GPUs using CUDA, a platform for parallel computing. It covers GPU kernels, thread and block layout, memory use, streams, build flags, and Thrust.

In plain words
What is it for?
Use it to write or review CUDA C or C++ kernels, choose launch and memory settings, configure nvcc builds, and use streams or Thrust.
Why use it?
It helps avoid common GPU programming mistakes such as poor memory access patterns, unsuitable launch settings, and thread divergence.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to write or review CUDA C or C++ kernels, choose launch and memory settings, configure nvcc builds, and use streams or Thrust.

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

Made for: 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

README.md
[![agentmods](https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/cuda/github.svg)](https://agentmods.dev/skills/outlinedriven/outline-driven-development/cuda)
Your own site
<a href="https://agentmods.dev/skills/outlinedriven/outline-driven-development/cuda"><img src="https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/cuda/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/outlinedriven/outline-driven-development/cuda"><img src="https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/cuda.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,810 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00046 $0.01810
Opus 5.5 $0.00018 $0.00724
Sonnet 5.5 $0.00009 $0.00362
Haiku 4.5 $0.00005 $0.00181

Measured 2mo ago against content hash ea71bdb484c3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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.

.devin/skills/cuda/SKILL.md · 117 lines

How it starts

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

CUDA

Contract

Field Bound contract
Trigger CUDA C or C++ kernel code is being written, optimized, or reviewed: launch configuration, memory hierarchy, streams, nvcc flags, Thrust, or known performance traps such as warp divergence and uncoalesced access.
Authority Read-only. The skill emits guidance and code; it writes no files. Nothing to roll back. No remote mutation.
Side effect Guidance, code samples, and flag recommendations in chat output.
Done A launch configuration, memory plan, build command, and pitfall review exist for the kernel in question, each grounded in the toolkit version the project pins.

Inputs

  1. Kernel goal (required): the operation to move to the GPU, or the existing kernel under review.
  2. GPU model (required if code must run on it): compute capability from nvidia-smi --query-gpu=compute_cap.
  3. Toolkit version (required if not inferrable): nvcc --version. The grounded current stable is CUDA Toolkit 13.3 Update 1.
  4. Build system (optional): existing nvcc or CMake CUDA flags.

Procedure

  1. Identify the GPU compute capability and toolkit version. CUDA 13.x supports Turing (sm_75) and later; older targets require an older toolkit. Done when: the sm_XX target and toolkit line are recorded, or the mismatch is reported.
  2. Write or review the launch: threads grouped into blocks, blocks into a grid. Cap a block at 1024 threads. Compute blocks = (n + threads - 1) / threads and guard every load and store with if (i < n). Check each launch with cudaGetLastError() and each sync with a second check. Done when: the launch math covers every element and both error checks are present.
  3. Place data at the right level of the hierarchy. Registers hold per-thread scalars. Shared memory holds tiles reused across the block. Global memory holds large arrays, read coalesced. Constant memory holds broadcast read-only data. Latency numbers below are order-of-magnitude guides on current parts, not constants:

Read the full file on GitHub · 117 lines

Files

What ships with it

1 file 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. 2mo ago First seen · 117 lines · 46 tokens per session scan A ea71bdb484c3

Subscribe to this mod's changes

cuda is a skill published in the GitHub repository OutlineDriven/outline-driven-development (54 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 46 tokens to every session and 1,810 once invoked, about $0.0002 per session on Opus 5.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-09-06.

Related

cuda compared with skills from other repositories

cuda next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cudaOutlineDriven/outline-driven-developmentSkill542mo agoApache-2.0A46Codex
riscv-vectormohitmishra786/low-level-dev-skillsSkill30410d agoMITA136Claude Code, Codex
stm32-baremetalmohitmishra786/low-level-dev-skillsSkill30410d agoMITA82Claude Code, Codex
hip-rocmmohitmishra786/low-level-dev-skillsSkill30410d agoMITB75Claude Code, Codex
embedded-firmware-devAmethystLuna/embedded-workbenchSkill362d agoMITA59Claude Code
rocmdatathings/marketplaceSkill123d agoApache-2.0A120Claude Code
hls-c2rtlvibeic/vibe-icSkill32todayApache-2.0A79Claude Code