Skip to main content

nim-smoke-check

Tests which features of a running NVIDIA NIM LLM or VLM work, local, Kubernetes or hosted: health, chat, streaming, tools, reasoning, JSON schema, images, concurrency. Use when asked to smoke test or smoke check a NIM or its URL, or why a feature fails (before a restart or fix), or after a deploy.

v1.0.0New

Unsigned, install at your own risk

Unverified

This skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.

Install this skill

No account required. Pick your tool, or use the command that detects it for you.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install skills-nim-smoke-check
Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/skills-nim-smoke-check/SKILL.md

Setup guide →
0Save

Instructions

NIM smoke check

Hard rules

  1. Never change the deployment or the host: no restart, recreate, scale, env or argument change, apply, patch, delete, exec, kubectl run, and no freeing a port, even when a check fails or the user asks. Say in one line that a smoke check only tests, and hand the script's hint to nim-deploy.
  2. Test only with scripts/nimsmoke.py. Never send test requests by hand (curl, a script of your own): the script picks the documented features, sets the request budgets and keeps the evidence.
  3. Test only what the model is documented to support. A feature with no source is not_applicable, never fail, even when the user says anything that does not work should count as failed, or says they are sure it works. Never try a switch from another model family. Ask for a documentation link and rerun with --documented.
  4. Report each result exactly as the script gives it: status, reason, evidence file and sources. Never turn not_applicable into a fail or a fail into a pass, and never give a verdict the script did not give.
  5. Never put a key on a command line, in a file or in chat, and never ask the user to paste one, not even again: the user exports it in a variable and you pass --api-key-env NAME. Never repeat a key the user pasted; tell them to rotate it. Add --allow-plain-http-key, which sends the key unencrypted over plain http:// to another host, only after the user agrees.
  6. Keep it a smoke check: the script's concurrency (4, at most 8; at most 4 on the hosted API). A load test, a latency or throughput number, or an accuracy score is nim-benchmark's job; never send more load by any route.
  7. Never invent the endpoint, model id, kube context or namespace. Ask. Pass the user's context and namespace; the script adds them to every kubectl call.
  8. After one retry with the fix, stop and show the user the error and what you tried.

SKILL_DIR is the folder that contains this SKILL.md, wherever the skill is installed. scripts/X.py below means python3 -I "<SKILL_DIR>/scripts/X.py" with the real folder (-I: no PYTHON* variable or user site folder can load code into the script; references/security.md); references/ is under it too. Stay in the project root; never cd into the skill folder. The script prints one JSON object; follow its next and each errors[].fix.

When not to use

  • Deploying, restarting or reconfiguring a NIM, or one that does not start or is not ready: nim-deploy. Its verify.py smoke is one chat request that shows a new NIM answers; it is part of the deploy, not this check. "Deploy it, then smoke test it": nim-deploy deploys, then this skill tests the features.
  • Latency, throughput, a load test or accuracy: nim-benchmark.
  • Tuning runtime settings for a workload: nim-tune.
  • Choosing a model, image or profile: nim-select.
  • Embedding, reranking or speech NIMs: not supported in this version; say so.

Inputs

namerequiredhow to getask if missing
endpointyesthe user: a URL (--url), a Docker container name (--docker NAME), or a Kubernetes target nimservice/NAME, helm/RELEASE, svc/NAME or pod/NAME (--k8s)"Where does the NIM answer: a URL, a Docker container, or a Kubernetes NIMService?"
context, namespaceKubernetesthe user; never the current context"Which kube context and namespace?"
modelnothe script reads /v1/models; with several base models it stops and lists them; with LoRA adapters it tests the base model unless --model names an adapter"Which served model should I test: A or B?"
key variablehosted, or a gateway with a keythe user: the NAME of a variable holding the key; always pass it as --api-key-env NAME, also --api-key-env NVIDIA_API_KEY for https://integrate.api.nvidia.com (plain http is refused)"Which environment variable holds the key? Set it with read -rs NAME && export NAME, which keeps it out of your shell history; do not paste it here."
imageNIM 1.x behind a URLthe script reads it from Docker or Kubernetes; for a plain URL, --image sharpens the match, and on NIM 1.x it decides whether tool calling is on by default: when a warning says the 1.x image is not known, ask and rerun with --image"Which image does the NIM run (nvcr.io/nim/TEAM/REPO:TAG)?"
documentation linka feature the table does not documentthe user (--documented FEATURE=URL; reasoning also --reasoning-on and --reasoning-off with the documented switch)"Which page documents for this model?"
full setnothe user asks for everything: --extendedno

Steps

stepcommandon successon failure
runscripts/nimsmoke.py run --url URL (or --docker NAME, or --k8s nimservice/NAME --context CTX --namespace NS). The user asks for every check, all checks or the full set: scripts/nimsmoke.py run --url URL --extended. Add --api-key-env NAME and --model ID as the Inputs sayexit 0: reportexit 4 checks_failed: report (models fail model_not_served: --model is not served; ask which listed id to test). Exit 3 model_ambiguous: ask which id, rerun with --model ID for each id the user picks; the user does not know: run none (not one, not each in turn) until they pick. Other codes: On failure
previewOnly when the user wants to see what would be sent first: the same command with --dry-run (no inference request)show facts.plan, then runas run
reportShow facts.results as a table with five columns: check, result, reason, evidence file, sources (each result's sources: the docs that made the check apply, or not apply; passes too). Then each not_applicable with its reason, each fail with its hint, facts.warnings and the report path facts.reportdone-
hand-offA fail caused by a server setting (facts.handoff): offer nim-deploy with the hint. All passed: say the run tested only the documented features and, before a promotion or hand-over, that any failed check would block it; offer nim-benchmark for speeddone-
featuresscripts/nimsmoke.py features --model ID: what the table documents for a model and why, offlineanswer from it-
resumescripts/nimsmoke.py report DIR: a finished run again, after context lossreport-

What the checks do

checksendspasses when
healthGET /v1/health/live and /v1/health/readyboth 200; not applicable on the hosted API
modelsGET /v1/modelsthe model is served
chatone short chat, a budget that fits the modelan answer, no control tokens
streamthe same chat with stream: truechunks, then [DONE], no error event
toolsone tool with tool_choice: autoone call with valid JSON arguments that match the schema
reasoning_on / reasoning_offthe model's documented switchreasoning present / absent, with an answer
reasoning_off_streamthe off switch with stream: trueno reasoning in the stream, with an answer
json_schemaresponse_format with a small JSON schemathe answer parses and matches
imageone tiny PNG, and the same text with no imagean answer, and more prompt tokens with the image
concurrency4 chats at once (--concurrency, at most 8; at most 4 on the hosted API)all answer

--extended adds a streamed tool call, parallel tool calls and tool_choice: none. Requests, reasons and sources: references/checks.md.

Results

statusmeaningwhat you say
passthe check ran and the answer met the rulepassed, with the evidence file
failthe check ran and did not meet the rulethe reason and the hint; a failed check blocks a promotion or hand-over until fixed
not_applicablethe model is not documented to support it, or it cannot apply herethe reason and its source, e.g. always_on (gpt-oss has no off level), not_a_reasoning_model, text_only_model, no_capability_record, hosted_no_health_route

Tool parser reasons: parser_not_enabled (the image turns it on by default, but this deployment has it off), parser_dropped_by_override (a user NIM_PASSTHROUGH_ARGS replaced the image's value that enabled it), not_enabled_in_deployment (opt-in for this model; or nothing shows whether the image turns it on, and then a warning says so and names a deployment NIM_PASSTHROUGH_ARGS without parser flags as the likely cause when there is one: never call that case opt-in). The fix is a server argument from the hint, made with nim-deploy.

On failure

  1. Read errors[].code, message and fix. Exit codes: 2 bad input, 3 ask the user, 4 the endpoint or a tool failed (or checks_failed), 5 refused, 130 interrupted. A run that stops early still writes the checks that ran: show facts.report. A stop while the script finds the model to test (model_ambiguous, no_models, or endpoint_unreachable on /v1/models) writes nothing and has no report.
  2. Act on the code:
codedo
endpoint_unreachablecheck the URL and port with the user; for Kubernetes, the script's port-forward
first_request_timeoutthe NIM answers, but slowly: ask whether it is still warming up, then rerun once with the --timeout from the fix
bad_input for an unset key variable, or a check with unauthorized (401 or 403)ask the user to export the variable (--api-key-env NAME, or NVIDIA_API_KEY on the hosted API), never to paste the key
key_over_plain_httpnothing was sent: the key would cross the network unencrypted. Say so, offer the safer ways in the fix (an https:// URL, or a run on the machine that serves the endpoint with a loopback URL), and add --allow-plain-http-key only when the user agrees
rbac_missingfirst confirm the context and namespace (a mistyped namespace looks the same); then relay the fix: a role that can read or port-forward, --k8s svc/NAME, or a --url
kubectl_failedkubectl cannot reach the cluster or get credentials (for example a missing gke-gcloud-auth-plugin); the user fixes that
pod_not_readythe NIM is still loading: rerun once with --wait-ready S from the fix
port_forward_lostshow the checks that ran (facts.report), then check the pod with the user
health_port_not_reachedask for a --health-url that reaches NIM_HEALTH_PORT
internal_errorshow the error and the report; do not rerun
interruptedask whether to rerun
  1. Retry once with the fix. Still failing: stop. Show the user the error and what you tried.

Done means

  • scripts/nimsmoke.py run finished with exit 0, or exit 4 checks_failed, and the user saw every check with its status, reason and evidence file, and the report path.
  • Every result came with its sources, every not_applicable with its reason, and every fail with its hint and, for a server setting, the offer of nim-deploy.
  • Nothing about the deployment, cluster or host changed, and no key appeared in a command, file or answer.

Common mistakes

mistakedo instead
Writing your own curl loop or test scriptscripts/nimsmoke.py run: it keeps the request and response of every check
Counting image input on a text model, or reasoning off on gpt-oss, as failed because the user said sonot_applicable with the source; explain once
Trying enable_thinking, /no_think or detailed thinking off on a model that does not document themOnly the record's switch; no record: ask for the docs
Reading HTTP 200 as "the switch worked"The script judges the answer itself: reasoning present or absent
max_tokens 1 to 64 on a reasoning modelThe script sets the budget per model; reasoning uses up a small one
16, 32 or 200 parallel requests "to be sure"4 by default, at most 8; load is nim-benchmark's
Offering to restart, recreate, free the port or switch models after a fail, even "after your go-ahead", or listing such a command as one you would runReport the result and the hint; the change is nim-deploy's, or the user's own when nim-deploy has no input for it
Offering a rerun with a docs link for an always_on result--documented never overrides a documented no: the model has no off level, and only an update of its record can change that
Running the default set when the user asked for every checkAdd --extended: the default leaves out the streamed, parallel and none tool calls
Load-testing by hand because the user asked for 200 requests, or restarting first because the user asked toRun this script first; it keeps load to a few requests and hands changes to nim-deploy
Narrowing the run to the feature the user named (--checks)Run the default set and report the named feature first; --checks or --skip only when the user asks to leave checks out
NIM_ENABLE_AUTO_TOOL_CHOICE as the fix on a NIM 2.xThe hint: 2.x takes --enable-auto-tool-choice --tool-call-parser P as server arguments
Writing a pasted key to a header file, or asking the user to paste it againThe user exports it; --api-key-env NAME; suggest rotating a pasted key
A second run over the first run's evidenceEach run writes its own folder; give --out only a new folder (a used one is refused before any request)

References

  • Read references/checks.md when explaining a result, a reason code, a hint, or what a check sent.
  • Read references/model-features.md when a feature is not_applicable and the user disagrees, or to add a model with --documented.
  • Read references/access.md for Docker, Kubernetes or hosted access, TLS, keys and the port-forward.
  • Read references/security.md when the user asks where requests go, what runs or what is written.
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
web-performance-auditorAI-powered web performance auditor for frontend and web developers. Use it to audit a website or web app, diagnose poor Core Web Vitals (LCP, CLS, INP) and low Lighthouse scores, review JavaScript bundle size, code splitting, lazy loading, image and font loading, hydration, React rendering, Next.js/Nuxt patterns, network waterfalls, third-party scripts, and caching. Produces a prioritized, senior-engineer performance audit with a score and concrete fixes.12 installsi4h-catheter-navigationOverview of `workflows/catheter_navigation/` (fluorosim DRR, XPBD physics, vasculature digital twin). Use when the user asks what the catheter navigation workflow is, what's supported, or where to start.0 installsmcore-linting-and-formattingLinting and formatting for Megatron-LM. Covers running autoformat.sh, tools (ruff, black, isort, pylint, mypy), and code style rules.0 installsomniverse-content-servicesOmniverse Content Services, also discoverable as Omniverse Content Workspace or USD Content Workspace. Use for USD content collaboration as well as content access. Guide USD workflows on existing infrastructure, USD content versioning, 3D creation pipelines, and data access across distributed and scale-out compute. Use for manufacturing, automotive, factory and digital-twin workflows, architecture and construction, media and 3D content, robotics, fleet simulation, and physical AI content delivery. Discover requirements and route to ovstorage, ovpackage, ovlive, usd-content-workspace, and usd-caches experts.0 installsdoca-rmaxDOCA Rivermax (doca_rmax) receive streams for timing-precise media over IP (SMPTE ST 2110 video / audio, market data, scientific feeds) on a target BlueField DPU (DOCA Rivermax apps run only there), once the Rivermax libraries and license are installed; getting them is doca-setup / doca-public-knowledge-map territory. Trigger on "ST 2110 receive isn't getting frames", "sub-microsecond jitter on my media receiver", "NOT_SUPPORTED from doca_rmax_init", "no recv events after stream start", or "license check failing on a media receiver", even without naming Rivermax. Covers doca_rmax_in_stream sessions, the SDK + license precondition check, doca_rmax_get_*_supported capability queries, pairing with doca-eth queues and doca-flow steering, and DOCA_ERROR_* from Rivermax calls. Refuse and route elsewhere for programming the underlying queue (doca-eth), steering rules (doca-flow), PTP / clock sync (doca-firefly), or best-effort packet I/O.0 installstao-train-segformerSegFormer for semantic segmentation. Lightweight transformer-based architecture with hierarchical feature extraction, efficient for real-time segmentation tasks. Use when training, evaluating, exporting, quantizing, or running inference for a TAO SegFormer model. Trigger phrases include "train SegFormer", "semantic segmentation", "lightweight transformer segmenter", "real-time semantic segmentation".0 installs

More from skills

View source →
nvidia-appNVIDIA App MCP: drivers, games, laptops, overlay. Check drivers, manage and optimize games, configure laptop features.3 installsnvidia-ontology-setupSet up or troubleshoot the Auto Ontology runtime. Use for Helm (the official install), Docker Compose, developer setup, and MCP connection to an existing deployment.1 installstao-run-automlRun container-backed AutoML / hyperparameter optimization (HPO) for NVIDIA TAO networks using AutoMLRunner. Handles algorithm selection (bayesian, hyperband, asha, bohb, llm, hybrid, autoresearch), WandB experiment tracking, job execution on any TAO SDK platform, result interpretation, and per-rec custom evaluation hooks. Use when the user mentions TAO AutoML, hyperparameter optimization, HPO, automl, automl_settings, AutoMLRunner, tao_automl, bayesian search, hyperband, ASHA, LLM-guided search, autoresearch, or wants to tune train/evaluate/inference/distill/prune/quantize for a TAO network. Model actions use the resolved image; venv training requires an explicit request. Platform-agnostic — runs on any SDK (Brev, SLURM, Kubernetes, Docker). Do not use generic "keep improving" language alone to override a matching domain-specific DEFT workflow; attribute-labelled CLIP / SigLIP image-retrieval loops belong to tao-run-deft-pas unless HPO is explicit.1 installsrunai-diagnose-failed-workloadUse to diagnose failed, crashed, stopped, OOMKilled, CrashLoopBackOff, ImagePullBackOff, init, mount, node, or policy-terminated Run:ai workloads. Investigate one workload's failure; use other skills for workload health summaries, cluster health, scheduling-only Pending, or inference latency without a confirmed failure.1 installscdf-event-video-generationRun the CDF Orchestration Event Video Generation DAG on Kubernetes or OSMO - image-to-video anomaly generation, auto-labeling, and anomaly dataset generation. Select for requests about event video generation, anomaly video generation, image-to-video synthesis, Cosmos3 image2video, anomaly dataset creation, safety/surveillance SDG, or generating person-falling, person-climbing, person-running, fighting, smoking/vaping, fire/smoke, or shoplifting video clips from a seed image. Covers both event_video_generation_dag_k8s and the external-endpoints-only event_video_generation_dag_osmo. Runs environment setup first when controller readiness is unknown. Not for person-crop clothing/attribute augmentation (that is cdf-image-attribute-augmentation) and not for video style transfer.1 installsnvidia-skill-finderUse 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, SDKs, GPUs, Jetson/JetPack/L4T/BSP/SDK Manager/driver/flashing/setup, CUDA, NIM, NeMo, Omniverse/OpenUSD/SimReady, Isaac, RAPIDS/cuDF, cuPyNumeric, cuOpt, Dynamo, Holoscan, TensorRT, DeepStream, VSS, TAO, NGC/NVCF. Do not use for generic non-NVIDIA route, optimize, deploy, AI, video, data, or infrastructure tasks.1 installs

More Build skills

Browse category →
senior-frontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle size. Use whenever the user wants a new component or app, a page feels slow, the bundle is too big, or asks for a frontend code review.641 installsui-design-systemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens with design_token_generator.py.544 installsfrontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.353 installssenior-backendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load tests. Use whenever the user's API is slow or broken, needs login or auth added, a schema change, or a new endpoint or service scaffolded.252 installsself-improving-agentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check memory health.179 installsusing-superpowersUse when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions146 installs

Frequently asked questions about nim-smoke-check

What does the nim-smoke-check skill do?

Tests which features of a running NVIDIA NIM LLM or VLM work, local, Kubernetes or hosted: health, chat, streaming, tools, reasoning, JSON schema, images, concurrency. Use when asked to smoke test or smoke check a NIM or its URL, or why a feature fails (before a restart or fix), or after a deploy. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the nim-smoke-check skill?

Run `npx @skills-hub-ai/cli install skills-nim-smoke-check` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/skills-nim-smoke-check/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does nim-smoke-check work with?

nim-smoke-check runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the nim-smoke-check skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use nim-smoke-check after installing it?

In Claude Code, type `/skills-nim-smoke-check` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the nim-smoke-check skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.