generate-nvidia-cuda-application
Generate and test a C++ CUDA or Python CUDA application from a Literate AI specification after an exact NVIDIA stack has been selected.
Skill by Literate AI maintainers <literate-ai-maintainers@users.noreply.github.com>
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jordanhubbard-generate-nvidia-cuda-application
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/generate-nvidia-cuda-application
What's inside
- Skill name
generate-nvidia-cuda-application- Description
- Generate and test a C++ CUDA or Python CUDA application from a Literate AI specification after an exact NVIDIA stack has been selected. Use when the selected accelerator Flavor is nvidia-cuda and generated source must prove real device execution, deterministic output, portable repository layout, and complete dependency evidence.
- License
- Apache-2.0
- Metadata
- author: Literate AI maintainers <literate-ai-maintainers@users.noreply.github.com>
- Instructions
- 57 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- openai.yaml · agents/
SKILL.md (first lines)
# Generate an NVIDIA CUDA application Consume the Component specification, selected language and OS Flavors, the CUDA Flavor, and the locked stack decision produced by `select-nvidia-accelerated-stack`. Treat every one of those inputs as authority. Never infer hardware or package compatibility from a GPU marketing name. 1. Fail before writing source unless the supplied worker observation is current, reports `nvidia_status: ok`, contains a matching device, and the stack decision pins the compiler/runtime/package closure for that exact OS, architecture, driver, and compute capability. 2. Generate all application source, build metadata, and tests. Do not copy generated source into the specification repository. Put generated source under `BUILD_DIR` and objects, executables, package caches, and temporary environments under `OBJ_DIR`. 3. For C++, generate a small host entrypoint plus one or more `.cu` translation units. Compile CUDA code with the locked `nvcc` and the target SM selected from the worker observation. Check every CUDA API call and kernel launch, synchronize before reading results, and fail with a diagnostic on device or runtime errors. When the selected Standard Make profile supplies `LITAI_LANGUAGE_TOOL`, treat it as the exact `nvcc` path and generate `source/Makefile` so `all` compiles every C++ and CUDA translation unit with C++17, the locked `sm_<major><minor>` target, and writes only `EXPORT_PATH`. Do not resolve another compiler inside the Makefile. 4. For Python, use only the locked CUDA-capable package named by the stack decision. Verify that it reports CUDA available and that every test tensor or array resides on the selected CUDA device. Do not silently fall back to CPU. The generated Makefile shall package the complete Python application at `EXPORT_PATH` without installing or copying CuPy into the source tree; dependency preparation must expose the exact locked interpreter environment used for build, test, and run. Do not generate `requirements.txt`, `pyproject.toml`, or another package-manager authority unless the recipe also supplies its complete typed transitive parent-edge lock projection. The stack-selection record already supplies the exact prepared closure: include every selected distribution and edge as CycloneDX components and dependencies instead. In particular, importing `cupy` requires a component for the selected CUDA-specific distribution (for example `cupy-cuda13x`), not an invented package named `cupy`. When a distribution name and import name differ, copy every selected `top_level_imports` value into a repeated CycloneDX component property named `literate-ai:python-top-level-import`. 5. Preserve the Component's one-JSON-value invocation and result contract. Emit only the specified JSON result on stdout. Put diagnostics on stderr. 6. Generate unit tests for validation, empty and boundary inputs, deterministic results, and arithmetic correctness. Add an accelerator test that independently proves an NVIDIA device executed the operation; numerical equality alone is insufficient. 7. Keep build definitions declarative and offline after dependency preparation. Prefer Bazel unless the Component or another selected Flavor overrides it. Declare every source, generated test, toolkit library, runtime library, package, and data asset. 8. Record the exact driver, device UUID/model/memory/compute capability, toolkit, compiler, runtime, direct packages, transitive packages, and Component dependencies in the generated CycloneDX SBOM. Copy every Component, Flavor, and skill BOM reference byte-for-byte from the supplied managed graph; never retype or infer a digest. Every `dependencies[].ref`, `dependsOn` value, and composition dependency must equal one exact root or component `bom-ref`. Hardware observation is execution evidence, not portable Component identity. 9. Run generated tests, the independent acceptance cases, and a clean process invocation on the selected worker. Reject a CUDA-qualified result if device execution cannot be proven.
From jordanhubbard/literate-ai, Apache-2.0.
More from jordanhubbard/literate-ai
- 0.638score
regenerate-literate-ai-manager-overview
jordanhubbard
Regenerate and refresh the Literate-AI manager and engineering overview document pair (presentation and narrative) when the framework, CLI, qualification…
SkillAFreshness: A★ 28Claude Code +9 - 0.547score
agent
Literate AI maintainers <literate-ai-maintainers@users.noreply.github.com>
Shared rules for Literate AI agent skills nested under skills/agent.
SkillAFreshness: A★ 28Claude Code +9 - 0.546score
repo-man-build-system
Literate AI maintainers <literate-ai-maintainers@users.noreply.github.com>
NVIDIA repo_man build-entrypoint design.
SkillAFreshness: A★ 28Claude Code +9 - 0.544score
backend-application
Literate AI maintainers <literate-ai-maintainers@users.noreply.github.com>
Fundamental back-end generation indexed off selected language Flavors.
SkillAFreshness: A★ 28Claude Code +9 - 0.544score
docker-container-application
Literate AI maintainers <literate-ai-maintainers@users.noreply.github.com>
Docker container image assembly from selected packaging Flavors, declared entrypoints, and parent-container Flavor closure.
SkillAFreshness: A★ 28Claude Code +9 - 0.544score
language-elixir
Literate AI maintainers <literate-ai-maintainers@users.noreply.github.com>
Recover evidence-backed Elixir and Erlang/OTP behavior when translating Elixir source into Literate AI specifications.
SkillAFreshness: A★ 28Claude Code +9 - 0.544score
mcp-application
Literate AI maintainers <literate-ai-maintainers@users.noreply.github.com>
MCP as a product protocol for generated applications: tools, resources, schema validation, and structured errors.
SkillAFreshness: A★ 28Claude Code +9 - 0.544score
frontend-application
Literate AI maintainers <literate-ai-maintainers@users.noreply.github.com>
Fundamental browser front-end generation in JavaScript.
SkillAFreshness: A★ 28Claude Code +9 - 0.543score
debug-spec-map
Literate AI maintainers <literate-ai-maintainers@users.noreply.github.com>
Debug spec-to-source mapping anchors.
SkillAFreshness: A★ 28Claude Code +9 - 0.542score
bazel-build-system
Literate AI maintainers <literate-ai-maintainers@users.noreply.github.com>
Bazel-preferred build-system design.
SkillAFreshness: A★ 28Claude Code +9 - 0.542score
cmake-build-system
Literate AI maintainers <literate-ai-maintainers@users.noreply.github.com>
CMake build-system design.
SkillAFreshness: A★ 28Claude Code +9 - 0.542score
language-python
Literate AI maintainers <literate-ai-maintainers@users.noreply.github.com>
Python source semantics.
SkillAFreshness: A★ 28Claude Code +9
Signals
- Stars
- 28
- Forks
- 10
- Open issues
- 26
- Last commit (this folder)
- Sep 30, 2026 (29 days ago)
- Last release
- Oct 12, 2026 (17 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/jordanhubbard/literate-ai
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Literate AI maintainers <literate-ai-maintainers@users.noreply.github.com>
- 0.547score
agent
Literate AI maintainers <literate-ai-maintainers@users.noreply.github.com>
Shared rules for Literate AI agent skills nested under skills/agent.
SkillAFreshness: A★ 28Claude Code +9 - 0.546score
repo-man-build-system
Literate AI maintainers <literate-ai-maintainers@users.noreply.github.com>
NVIDIA repo_man build-entrypoint design.
SkillAFreshness: A★ 28Claude Code +9 - 0.544score
backend-application
Literate AI maintainers <literate-ai-maintainers@users.noreply.github.com>
Fundamental back-end generation indexed off selected language Flavors.
SkillAFreshness: A★ 28Claude Code +9 - 0.544score
docker-container-application
Literate AI maintainers <literate-ai-maintainers@users.noreply.github.com>
Docker container image assembly from selected packaging Flavors, declared entrypoints, and parent-container Flavor closure.
SkillAFreshness: A★ 28Claude Code +9 - 0.544score
language-elixir
Literate AI maintainers <literate-ai-maintainers@users.noreply.github.com>
Recover evidence-backed Elixir and Erlang/OTP behavior when translating Elixir source into Literate AI specifications.
SkillAFreshness: A★ 28Claude Code +9 - 0.544score
frontend-application
Literate AI maintainers <literate-ai-maintainers@users.noreply.github.com>
Fundamental browser front-end generation in JavaScript.
SkillAFreshness: A★ 28Claude Code +9
Cite this page
generate-nvidia-cuda-application skill. Agent Mart. https://agentmart.dev/skills/jordanhubbard-generate-nvidia-cuda-application (last updated 2026-10-24)