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 3mo 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.
- 3mo 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 (93 stars, last pushed 5mo 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.
choose-launch-configuration compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| choose-launch-configurationtensormux/kernel-skills | Skill | 93 | 5mo ago | MIT | A | 0 | Claude Code, Codex |
| sm120_swapabflashinfer-ai/flashinfer | Skill | 7.0k | today | Apache-2.0 | A | 0 | Claude Code, Codex |
| kimi_k3flashinfer-ai/flashinfer | Skill | 7.0k | today | Apache-2.0 | A | 0 | Claude Code, Codex |
| deepep-to-cam-converterXiaoLuoLYG/GOD | Skill | 1.3k | 5d ago | Apache-2.0 | A | 63 | Claude Code, Codex |
| akg-agentsXiaoLuoLYG/GOD | Skill | 1.3k | 5d ago | Apache-2.0 | A | 75 | Claude Code, Codex |
| embedded-iottravisjneuman/.claude | Skill | 115 | yesterday | MIT | A | 80 | Claude Code |
| datacake-webhookshookdeck/webhook-skills | Skill | 104 | 3d ago | MIT | A | 62 | Claude Code, Codex |