nvidia-skill-finder
Use for NVIDIA-related requests where an NVIDIA skill might help, even if the user did not…
Generate novel drug-like molecules using the GenMol NIM microservice. Use for de novo generation, scaffold decoration, motif extension, lead optimization, SAFE notation, QED or LogP ranking, hosted NVIDIA API calls, or local Docker deployment. GenMol takes SAFE notation in the
$ npx -y skills add NVIDIA/skills --skill bionemo-genmol-nim --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/bionemo-genmol-nimContext preview
The summary Claude sees to decide when to auto-load this skill.
Generate novel drug-like molecules using the GenMol NIM microservice. Use for de novo generation, scaffold decoration, motif extension, lead optimization, SAFE notation, QED or LogP ranking, hosted NVIDIA API calls, or local Docker deployment. GenMol takes SAFE notation in the
name: genmol-nim description: > Generate novel drug-like molecules using the GenMol NIM microservice. Use for de novo generation, scaffold decoration, motif extension, lead optimization, SAFE notation, QED or LogP ranking, hosted NVIDIA API calls, or local Docker deployment. GenMol takes SAFE notation in the smiles field, not ordinary SMILES. license: Apache-2.0 AND CC-BY-4.0 compatibility: "safe-mol>=0.1.14; requests>=2.28" allowed-tools: Bash, Read, Write, AskUserQuestion
Generate drug-like molecules with GenMol. Use this guide for first-pass hosted and local usage; load supplemental files only when needed:
Ask only when context is unclear:
> Hosted NVIDIA API or local Docker NIM?
Hosted requests use `Authorization: Bearer $NGC_API_KEY`. For local Docker, authenticate image pulls with `docker login nvcr.io` using `NGC_API_KEY` (or `NVIDIA_API_KEY` via the preflight). Pass `-e NGC_API_KEY` into the container for entitlement checks and first-run model downloads. Local inference requests use no auth header after readiness, so bind the published port to loopback with `-p 127.0.0.1:8000:8000`. Warm-cache key-free startup varies by image version and should not be assumed.
Use credentials already supplied in the shell environment or injected by a secret manager. Do not load credential files, print keys, or enable shell tracing. For local setup answers, include this sequence: env preflight, `docker login` with `--password-stdin`, `docker run`, readiness loop, then a no-auth localhost request. Do not invent a cache default or drop the `NVIDIA_API_KEY` fallback.
Before executing local setup, explain that registry authentication sends the key to the NVIDIA registry at https://nvcr.io and first-run model downloads use about 20 GB in `LOCAL_NIM_CACHE`. Execute deployment only when the user requests it; for a setup guide, provide the commands without running them.
For the exact startup preflight (environment checks, `NVIDIA_API_KEY` fallback, `--shm-size=2G`, both `--ulimit` flags, `docker login`, and the `docker run` for `nvcr.io/nim/nvidia/genmol:1.0.1`), copy the command block in [`references/api.md`](references/api.md) under **Local container startup** verbatim.
GenMol is single-GPU; `NIM_TEST_GPU` defaults to `0`. Wait for readiness:
until curl -sf http://localhost:8000/v1/health/ready; do sleep 5; done
The API field is named `smiles`, but GenMol expects SAFE notation. Masked positions use `[*{min-max}]`.
Use `safe-mol` for conditioned generation. Simple ring scaffolds may raise `SAFEFragmentationError`; fall back to the original SMILES plus a SAFE mask.
See the `scaffold_to_safe` helper in [`references/examples.md`](references/examples.md) under **Scaffold Decoration**.
Wider masks increase diversity; tight masks keep analog size more predictable.
import os
import requests
HOSTED = True
url = (
"https://health.api.nvidia.com/v1/biology/nvidia/genmol/generate"
if HOSTED else "http://localhost:8000/generate"
)
headers = {"Content-Type": "application/json"}
if HOSTED:
headers["Authorization"] = f"Bearer {os.getenv('NGC_API_KEY')}"
payload = {
"smiles": "[*{20-30}]", # SAFE notation
"num_molecules": 30,
"temperature": "1", # string, not float
"noise": "1", # string, not float
"step_size": 1,
"scoring": "QED", # or "LogP"
"unique": False,
}
response = requests.post(url, headers=headers, json=payload, timeout=180)
response.raise_for_status()
result = response.json()Gotchas:
request extra when the user needs a minimum count.
Sort molecules by score, print the top ranks, and write a `.smi` file as shown in [`references/examples.md`](references/examples.md) under **Save Ranked Results**. For chemical validity, uniqueness, PAINS/alerts, and visualization with RDKit, read `references/validation.md`.
de novo masks work without conversion.
`--runtime=nvidia`; use `NIM_TEST_GPU` to choose the single visible GPU.
Official, NVIDIA-verified Agent Skills for Claude Code, Codex, and other coding agents.
Use for NVIDIA-related requests where an NVIDIA skill might help, even if the user did not…
Official NVIDIA-authored guidance for NVIDIA cuDF GPU DataFrames, pandas acceleration,…
Calibrate a new dataset from live RTSP camera streams via the AutoMagicCalib REST API. Use…
Run end-to-end calibration on the shipped sample dataset (sdg_08_2_sample_data_010926.zip)…
Calibrates pre-recorded `cam_*.mp4` datasets through the AutoMagicCalib REST API. Use for…
Launch AutoMagicCalib microservice and web UI from NGC release images via Docker Compose. Use…