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 skills add tensormux/kernel-skills --skill choose-launch-configurationgit clone --depth 1 https://github.com/tensormux/kernel-skillsWrote 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.
[](https://agentmods.dev/skills/tensormux/kernel-skills/choose-launch-configuration)<a href="https://agentmods.dev/skills/tensormux/kernel-skills/choose-launch-configuration"><img src="https://agentmods.dev/badge/skills/tensormux/kernel-skills/choose-launch-configuration/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.
<a href="https://agentmods.dev/skills/tensormux/kernel-skills/choose-launch-configuration"><img src="https://agentmods.dev/badge/skills/tensormux/kernel-skills/choose-launch-configuration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.03581 |
| Opus 5.5 | $0.00000 | $0.01432 |
| Sonnet 5.5 | $0.00000 | $0.00716 |
| Haiku 4.5 | $0.00000 | $0.00358 |
Grade A, and why
choose-launch-configuration 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: Choose CUDA Launch Configuration
Purpose
Guide the agent through selecting the correct and efficient thread block dimensions and grid dimensions for a CUDA kernel, covering occupancy analysis, register and shared memory constraints, tail effects, persistent kernels, and when to use cudaOccupancyMaxActiveBlocksPerMultiprocessor as a decision tool.
Use this when
- Writing a new CUDA kernel and choosing the initial block and grid dimensions
- A kernel is underperforming and you suspect the launch configuration limits occupancy or causes tail effects
- Selecting block dimensions for a kernel with significant register or shared memory usage
- Implementing a persistent kernel or a cooperative grid launch
- Tuning a kernel where block size is a compile-time template parameter and you want to choose the best default
Do not use this when
- The kernel's performance is dominated by a compute or memory bottleneck unrelated to occupancy: fixing the launch config will not help if the kernel is register-bound or has severe memory access inefficiency
- The launch configuration is already determined by an API contract (e.g., cuBLAS, cuDNN, cooperative kernels with fixed grid requirements): do not override the library's choices
- The block size is constrained by the algorithm's data decomposition to a specific value (e.g., exactly 32 threads for a warp-level primitive): respect the algorithmic constraint and do not change it to improve occupancy
Inputs the agent should gather first
- Kernel register usage: from
ptxas -voutput,nvcc --ptxas-options=-v, or from Nsight Compute profiling. Registers per thread is the primary constraint on occupancy when register usage is high. - Static shared memory per block: declared
__shared__arrays. Size in bytes. - Dynamic shared memory per block: the third kernel launch argument. Size in bytes.
- Problem size: total number of work items (elements, rows, output tiles, etc.). Determines the minimum grid size needed to cover all work.
- Hardware target: SM architecture and SM count. Key occupancy limits differ by architecture. Also: the maximum threads per block (1024 on all current GPUs), the maximum blocks per SM (varies: 16–32 depending on SM gen), the register file size per SM (65536 32-bit registers on SM70+), the smem per SM.
- Whether the kernel is latency-sensitive: for latency-critical single-sample inference, occupancy may matter less than minimizing launch overhead and maximizing L2 utilization for a fixed small grid.
- Whether cooperative groups are needed: cooperative grid launches have additional constraints (entire grid must fit resident on the GPU).
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.
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.
- 1mo ago First seen · 131 lines · 0 tokens per session scan A 69471d48d256
choose-launch-configuration is a skill published in the GitHub repository tensormux/kernel-skills (82 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,581 tokens. 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
deepep-to-cam-converter
A code migration skill for replacing DeepEP communication operations with CAM operations when moving mixture-of-experts code from CUDA/NCCL to Ascend NPUs.
akg-agents
An agent workflow for developing, generating, testing, and tuning AKG operators. AKG is a toolkit for generating optimized computational kernels.
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…
ros2-robotics
Best practices for ROS 2 robotics development, covering package structure, nodes, topics/services/actions, launch files, QoS, tf2 transforms, and testing. Use when creating ROS 2 packages, writing nodes in rclpy or rclcpp, defining custom messages/services/actions, writing launch files, configuring QoS profiles…
mqtt-development
Best practices and guidelines for MQTT messaging in IoT and real-time communication systems.
embedded-systems
Resource-constrained development, real-time patterns, interrupt handling, memory management, RTOS patterns, and hardware abstraction layers.