nvidia-skill-finder
Use for NVIDIA-related requests where an NVIDIA skill might help, even if the user did not ask for a skill. Trigger on NVIDIA products, hardware, software,…
Run predictions with a finetuned KERMT checkpoint on a SMILES-only CSV. The skill validates that the input ckpt has task FFN heads (refuses pretrain ckpts with a redirect to kermt-finetune), validates the CSV, prepares the data (clean + rdkit_2d features), then launches main.py
$ npx -y skills add NVIDIA/skills --skill bionemo-kermt-infer --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/bionemo-kermt-inferContext preview
The summary Claude sees to decide when to auto-load this skill.
Run predictions with a finetuned KERMT checkpoint on a SMILES-only CSV. The skill validates that the input ckpt has task FFN heads (refuses pretrain ckpts with a redirect to kermt-finetune), validates the CSV, prepares the data (clean + rdkit_2d features), then launches main.py
name: kermt-infer description: Run predictions with a finetuned KERMT checkpoint on a SMILES-only CSV. The skill validates that the input ckpt has task FFN heads (refuses pretrain ckpts with a redirect to kermt-finetune), validates the CSV, prepares the data (clean + rdkit_2d features), then launches main.py predict inside the kermt container (blocking, minutes-scale). license: Apache-2.0 compatibility: Requires docker, nvidia-container-toolkit, and a CUDA-capable NVIDIA GPU. Designed for Claude Code, Codex, and Nemotron. metadata: owner: evax@nvidia.com classification: workflow-skill risk_tier: skill # Line/token budget: targets ~170 lines / ~2000 tokens — well within the # 500-line / 5000-token cap for skill files.
Run predictions with a finetuned KERMT checkpoint on a SMILES-only CSV. The skill is the workflow orchestrator: validate ckpt, validate CSV, prepare data, launch the runner blocking, return the predictions CSV.
Set `SKILL_DIR` to the absolute path of this installed skill directory. Export `KERMT_REPO` as the absolute path to the KERMT checkout used for model execution. The bundled container helper mounts that checkout at `/workspace` and this skill at `/skill` (read-only). Commands inside the container use `/skill/scripts/`; defaults are bundled in `config/`.
Required:
validator refuses pretrain ckpts with a redirect to `kermt-finetune`.
are ignored.
Optional:
`prepare_data.json` in `<dir>`.
Let `$KERMT_REPO` be the path to your kermt repo checkout, and assume `kermt-setup` has built `kermt:latest`.
1. **Pre-flight: ensure container + system probe.**
"$SKILL_DIR/scripts/kermt_container.sh" check_system
Refuse to proceed on `ok: false`.
2. **Compute run directory.**
RUN_DIR=$KERMT_REPO/runs/infer_$(date -u +%Y-%m-%dT%H-%M-%SZ)
3. **Validate the checkpoint.**
"$SKILL_DIR/scripts/kermt_container.sh" run --ckpt <user-ckpt> -- \
"python /skill/scripts/check_checkpoint.py --mode inference --ckpt /ckpt"Parse the JSON. Abort on `ok: false`. The validator rejects pretrain ckpts (`has_task_ffn: false`) with a redirect to `kermt-finetune`.
4. **Validate the data.**
"$SKILL_DIR/scripts/kermt_container.sh" run --data <user-csv> -- \
"python /skill/scripts/check_data.py --mode inference --csv /data/<basename>"Abort on `ok: false`.
5. **Prepare the data.**
"$SKILL_DIR/scripts/kermt_container.sh" run --data <user-csv> --run-dir $RUN_DIR -- \
"python /skill/scripts/prepare_data.py --mode inference \\
--csv /data/<basename> --out /runs/data"Outputs land at `$RUN_DIR/data/prepare_data.json` with `clean_csv` + `clean_npz` paths (rdkit_2d_normalized features).
6. **Launch the runner (blocking).**
"$SKILL_DIR/scripts/kermt_container.sh" run \\
--ckpt <user-ckpt> --run-dir $RUN_DIR -- \\
"python /skill/scripts/run_inference.py \\
--ckpt /ckpt \\
--prepare-manifest /runs/data/prepare_data.json \\
--out /runs \\
[--gpus 0 --batch-size N --seed N]"Returns the predictions CSV path on success.
7. **Report to the user.** Output a short summary:
unique `<out>/ckpt_link/` subdir so `main.py predict --checkpoint_dir` picks it up; the source file stays untouched.
the validator's arch block in `run.json` but does not pass arch flags into `main.py predict` — predict reads them from the loaded ckpt's saved_args.
every flag's value + source (user / default-config). Surface a short summary of any default-filled flag.
pretrain ckpt; use `kermt-finetune` first.
the failed step (typically clean_smiles or save_features).
predict → input CSV has a non-numeric passthrough column (e.g. a 'split' label). The prep step now strips the CSV to SMILES-only at inference; if this error still surfaces, the CSV is being read by a runner that bypassed prepare_data. Re-run via the skill, not `main.py` directly.
The `run.json` `cmd_replay` field is a single-line command that re-runs the inference with the same inputs. To replay inside the kermt container:
$(jq -r .cmd_replay $RUN_DIR/run.json)
If `ok_to_replay: false` (dirty kermt repo worktree at launch time), pin the commit via `repo.commit`
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 ask for a skill. Trigger on NVIDIA products, hardware, software,…
Official NVIDIA-authored guidance for NVIDIA cuDF GPU DataFrames, pandas acceleration, dask-cuDF, ETL, joins, groupby, CSV/Parquet I/O, nullable semantics, and…
Use when asked to install, deploy, run, validate, troubleshoot, or stop NVIDIA AI-Q Blueprint infrastructure.
Use when asked to run deep research or AI-Q research through a reachable NVIDIA AI-Q Blueprint backend.
Calibrate a new dataset from live RTSP camera streams via the AutoMagicCalib REST API. Use when the user provides RTSP URLs or asks to calibrate live cameras;…
Run end-to-end calibration on the shipped sample dataset (sdg_08_2_sample_data_010926.zip) against a running AMC microservice. Use when user says 'test sample…