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…
от NVIDIA★ 4 269 звёзд на GitHubОб этом скилле
NIM smoke check
Hard rules
- 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'shinttonim-deploy. - 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. - Test only what the model is documented to support. A feature with no source is
not_applicable, neverfail, 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. - Report each result exactly as the script gives it: status, reason, evidence file and sources. Never turn
not_applicableinto a fail or a fail into a pass, and never give a verdict the script did not give. - 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 plainhttp://to another host, only after the user agrees. - 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. - Never invent the endpoint, model id, kube context or namespace. Ask. Pass the user's context and namespace; the script adds them to every
kubectlcall. - 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. Itsverify.py smokeis 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-deploydeploys, 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
| name | required | how to get | ask if missing |
|---|---|---|---|
| endpoint | yes | the 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, namespace | Kubernetes | the user; never the current context | "Which kube context and namespace?" |
| model | no | the 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 variable | hosted, or a gateway with a key | the 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." |
| image | NIM 1.x behind a URL | the 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 link | a feature the table does not document | the user (--documented FEATURE=URL; reasoning also --reasoning-on and --reasoning-off with the documented switch) |
"Which page documents |
| full set | no | the user asks for everything: --extended |
no |
Steps
| step | command | on success | on failure |
|---|---|---|---|
| run | scripts/nimsmoke.py run --url URL (or --docker NAME, or --k8s nimservice/NAME --context CTX --namespace NS). |
Установить nim-smoke-check в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл 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.
Как установить скилл nim-smoke-check?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл nim-smoke-check запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic