TornadoVM: Skill for Claude Code

.claude/skills/tornadovm-nvidia/SKILL.md

tornadovm-nvidia is a skill for Claude Code from beehive-lab/TornadoVM. It costs 157 tokens per session (2,893 once invoked), scanned A, original, Apache-2.0.

A guide to running TornadoVM, a Java system that executes work on GPUs, with NVIDIA's CUDA platform. It covers profiling, native NVIDIA library calls, generated CUDA-C code, and backend fuzz testing.

In plain words
What is it for?
Use it to profile TornadoVM programs with Nsight Systems, call libraries such as cuBLAS and cuDNN from Java, print generated CUDA-C kernels, and fuzz-test the CUDA backend.
Why use it?
It helps developers inspect where GPU time is spent and understand how TornadoVM turns Java work into CUDA operations. It also brings related NVIDIA library and testing workflows together.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is beehive-lab/TornadoVM's own configuration. It tells Claude Code how to work on TornadoVM itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything TornadoVM configures →

About the project

TornadoVM is a Java framework that compiles Java code into programs for GPUs and multicore CPUs at runtime. Java developers use it to run compute-heavy code on NVIDIA, AMD, Intel, and Apple hardware without writing CUDA C or maintaining JNI bindings.

beehive-lab/TornadoVM · 1,551 stars · on GitHub · tornadovm.org

Reuse

Borrowing it

Nothing to install: this file belongs to beehive-lab/TornadoVM. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/beehive-lab/TornadoVM/master/.claude/skills/tornadovm-nvidia/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/beehive-lab/TornadoVM

Made for: Claude Code.

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 tornadovm-nvidia

README.md
[![agentmods](https://agentmods.dev/badge/skills/beehive-lab/tornadovm/tornadovm-nvidia/github.svg)](https://agentmods.dev/skills/beehive-lab/tornadovm/tornadovm-nvidia)
Your own site
<a href="https://agentmods.dev/skills/beehive-lab/tornadovm/tornadovm-nvidia"><img src="https://agentmods.dev/badge/skills/beehive-lab/tornadovm/tornadovm-nvidia/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 tornadovm-nvidia

Your own site · 80×15
<a href="https://agentmods.dev/skills/beehive-lab/tornadovm/tornadovm-nvidia"><img src="https://agentmods.dev/badge/skills/beehive-lab/tornadovm/tornadovm-nvidia.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 157 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,893 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.00157 $0.02893
Opus 5.5 $0.00063 $0.01157
Sonnet 5.5 $0.00031 $0.00579
Haiku 4.5 $0.00016 $0.00289

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

Security

Grade A, and why

tornadovm-nvidia 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 5d 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.

.claude/skills/tornadovm-nvidia/SKILL.md · 111 lines

How it starts

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

TornadoVM on NVIDIA (CUDA backend)

All of this targets the CUDA-C backend: build with make BACKEND=cuda (the CUDA backend itself and most library providers — cuBLAS/cuBLASLt/cuFFT/cuSPARSE — bind through java.lang.foreign, no native module to build; cuDNN's SDPA shim and CUTLASS still build a native *-jni module under the cuda-backend Maven profile), then source setvars.sh. Repo-root refs: HYBRID_API_GUIDE.md and docs/source/hybrid-api.rst.

1. Profiling with Nsight Systems (nsys)

TornadoVM labels its work with NVTX ranges (always on, no profiler flag): JIT kernels, host↔device transfers, and hybrid library calls. Library tasks appear as ranges like :nvidia/cublas/cublasSgemm. So an nsys timeline reads like the TornadoVM task graph.

source setvars.sh
nsys profile --trace=cuda,nvtx -o run tornado -m <module>/<MainClass>   # → run.nsys-rep
# also works with the test runner / examples, e.g.:
nsys profile --trace=cuda,nvtx -o streams tornado-test uk.ac.manchester.tornado.unittests.streams.TestStreamsPerformance

Open run.nsys-rep in the Nsight Systems GUI. --trace=cuda alone gives kernel/API timing; add nvtx to get the TornadoVM labels. See TestNvtx (tornado-unittests/.../unittests/nvtx/TestNvtx.java) for the transparency contract (balanced push/pop across JIT / repeated / mixed / CUDA-graph runs).

Correctness profiling: compute-sanitizer catches races/OOB/uninit that timing can't. Use the toolkit build, not the distro one, and trace the java child process:

/usr/local/cuda/bin/compute-sanitizer --tool racecheck --target-processes all tornado -m <module>/<MainClass>

(racecheck, memcheck, initcheck, synccheck.)

2. Hybrid library-task API (NVIDIA CUDA-X from Java)

A library task hands a step of the task graph to a native NVIDIA library instead of JIT-generating a kernel. It reuses the same TornadoVM device buffers and rides the normal LAUNCH pipeline (no unified-memory copies), dispatched through a ServiceLoader SPI (TornadoLibraryProvider).

Read the full file on GitHub · 111 lines

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. 5d ago Changed · +9 lines · +8 tokens per session d331678727fb
  2. 14d ago Changed e43d1795e2f6
  3. 1mo ago Changed bcd935c25b1b
  4. 2mo ago First seen · 102 lines · 149 tokens per session scan A f9ca93b2e00a

Subscribe to this mod's changes

tornadovm-nvidia is a skill published in the GitHub repository beehive-lab/TornadoVM (1,551 stars, last pushed today), licensed Apache-2.0. It adds 157 tokens to every session and 2,893 once invoked, about $0.0006 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-08-30.

Related

Other skills, from other repositories

502-frameworks-micronaut-rest

Use when you need to design, review, or improve REST APIs with Micronaut — including @Controller routes, HTTP status codes, DTOs, Bean Validation, exception handlers, pagination, idempotency, ETag/If-Match, caching headers, versioning, contract-first OpenAPI (OpenAPI Generator), optional runtime OpenAPI via…

jabrena/plinth · 163 tokens

shaft-api-testing

Use when implementing or repairing SHAFT.API tests for HTTP requests, authentication, payloads, schemas, responses, contracts, or service workflows.

ShaftHQ/SHAFT_ENGINE · 32 tokens

shaft-automated-test-authoring

Use when implementing or repairing executable SHAFT Java tests for web, mobile, API, database, CLI, TestNG, JUnit, or Cucumber behavior.

ShaftHQ/SHAFT_ENGINE · 40 tokens

spring-mcp-contracts

Develops and verifies JSON contracts of the Spring plugin's MCP tools using Java/Kotlin PSI, UAST, scoped Spring models and bounded response regression tests. Use when changing an endpoint lookup or contract tool, URL matching, the call-chain trace, a bean lookup or listing tool, a parameter source or requiredness, a…

explyt/spring-plugin · 102 tokens

quarkus-backend

Use this skill when building Quarkus backend applications — supersonic Java, Dev UI, GraalVM native, reactive messaging, Panache ORM. This skill enforces: compile-time metadata processing, live reload, continuous testing, container-first design. Do NOT use for: Spring Boot projects, Micronaut applications, standard…

j4flmao/agent-skills · 75 tokens

does-it-work

A testing and quality-checking toolkit for running an application, finding bugs, and creating automated tests. It supports API tests and browser-based UI tests in Python or Java.

TsakunovR/does-it-work · 295 tokens